hpnrep6 / z0.js

A 2D JavaScript WebGL game framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

z0.js

A 2D Javascript game framework with sprite (textured quad) rendering, scene mangement, collision detection, audio pooling, customisable shaders, and more.

Examples

Projects

File Structure

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

About

A 2D JavaScript WebGL game framework.

License:MIT License


Languages

Language:JavaScript 100.0%