A 2D Javascript game framework with sprite (textured quad) rendering, scene mangement, collision detection, audio pooling, customisable shaders, and more.
- Cloud Tower Defence (Source code)
- Fungicide
- Mandelbrot Fractal Explorer (Source code)
- Time Safari, Inc. (Source code)
File | Description |
---|---|
z0/audio | Scripts to manage and play audio |
z0/graphics | Manages the draw order and contains the WebGL renderers for drawing the sprites |
z0/input | Input wrappers to simplify input management in a game |
z0/math | Unused math classes |
z0/physics | Manages collisions and collision layers |
z0/tree | Where most of the update loop is contained, and manages the locations of the sprites |
z0/utils | Common utility functions |
z0/var.js | Global variables. Contains the WebGL context and a reference to the canvas to which the program was initalised with |
z0/z0.js | Main script where the update loop is started and where the program first gets initalised |