Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

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

Entity.isCollidable Property

A boolean value indicating whether the entity can collide with other collidable entities.

Remarks

Setting this property to true will register it as a collidable on the owning Layer by calling the registerCollidable method.

Examples

Supported Platforms

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