A simple and flexible HTML5 and JavaScript powered game engine.
View Project on GitHub Download Pixel.js (v0.9b)
Call the update method for all the registered components.
Name | Description |
---|---|
elapsedTime | The time in milliseconds that has passed since the game started. |
dt | The time in fractional seconds since the last iteration of the game loop. |
The update method shouldn't need to be called manually as it is automatically called for all registered layers.
Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.