My Base Code for LD 35
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 fontface preloading, a utility function for parallax backgrounds and a countdown function.
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 ๐