My Base Code for LD 40

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/webfont preloading - dealing with different screen resolutions

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 - utility functions for procedural map generation - simple one-body physics - a text class that is way more powerful than fillText() - scaling to easily display pixelart at various screen resolutions

Since the last compo, I have made a few bug fixes and added a few small features.

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 ;)