My Base Code for LD 36
Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d
Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading
Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– image processing class to generate 8-bit style graphics
Since the last compo I have added a color class, a vector class and a toggleable function which resizes the canvas to the size of the window.
Iโm distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please โ like always โ report any bugs ๐