This package can manage games based on HTML5 and canvas.
The main game object can create a canvas on which the game objects will be rendered inside a given HTML page element, updating each frame at a given rate of frames per second.
It can add one more actor objects that will be displayed in the game canvas.
The game object can also listen to given key touches that may be used to let the user control the game actors.
The game object calls the actor objects so they update their state and render themselves inside the game canvas. |