My Base Code for LD 38

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

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

Since the last compo I have added some new features:
– you can choose whether the canvas should automatically resize to fit the browser window and whether the content should be scaled
– class for objects with basic physics (position, velocity, acceleration)
– a text object that gives you more functionality than the standard fillText() function.

I also did some major refactoring, putting all demo functionality into a separate class.

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 ๐Ÿ˜‰