Very basic javascript 2D game engine
The basig aim for this engine it's to write a canvas html game in few lines. In order to try learn programing viewing funny things.
Very simple javascript game engineWriten in a fast way getting something for there and here
On line in jangame.66ghz.com
Pintable objects: Can be painted directly o be the paintable(viewable) object of a sprite.- Circle
- Box
- Img
- ImgAnim
- Text
Game objects:
- Sprite: Basic game element
- Sound: Can play sound effects
- Game: The main object that do the job for you
- load: Charge a scene (a function)
- clear: Clear the canvas
- update: Paint/update all sprites.
- box/rect/text: Direct paint without pre-created object.
- update: Paint/update the sprites.
And when... the examples are explained by itself.