A simple and flexible HTML5 and JavaScript powered game engine.
View Project on GitHub Download Pixel.js (v0.9b)
Provides shared / static properties and methods used throughout the entire engine.
| Name | Description |
|---|---|
| assetPath | The path that contains the asset directories |
| Buttons | A set of properties to identify the mouse buttons that have been pressed or released. |
| Directions | A set of properties to identify the direction an entity is moving in. |
| Keys | A set of properties to identify keys that have been pressed or released. |
| Name | Description |
|---|---|
| extend | Copies the prototype of one class to another. |
| proxy | Invokes a function within a specified context. |
PixelJS is not instantiable and should be treated as a namespace.
All the classes within Pixel.js are contained within this namespace.
Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.