Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

View Project on GitHub Download Pixel.js (v0.9b)

Entity.collidesWith Method

Checks if the entity collides with another entity.

Parameters

Name Description
entity The Entity to check for a collision against.

Examples

Supported Platforms

Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.