{"author_name":"ZYXer","cat":"LD #35","comments":[],"epoch":1460686200,"likes":2,"metadata":{"p_key":"8356","p_author":"ZYXer","p_authorkey":"20509","p_urlkey":"43804","p_title":"My Base Code for LD 35","p_cat":"LD #35","p_event":"LD35","p_time":"1460686200","p_likes":"2","p_comments":"0","p_status":"UPD5","us_key":"20509","us_name":"ZYXer","us_username":"\/author\/zyxer\/","event_start":"1460678400","event_key":"33","event_name":"LD35"},"text":"<p>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: <a href=\"https:\/\/github.com\/ZYXer-\/base-code-2d\">https:\/\/github.com\/ZYXer-\/base-code-2d<\/a><\/p>\n <p>Features:<br \/>\n &#8211; a simple game loop<br \/>\n &#8211; mouse\/keyboard input processing<br \/>\n &#8211; image\/sound preloading<\/p>\n <p>Additional classes for:<br \/>\n &#8211; playing sounds (using SoundManager2)<br \/>\n &#8211; loading and displaying PNG fonts<br \/>\n &#8211; particle systems<br \/>\n &#8211; pathfinding (using A*)<br \/>\n &#8211; image processing class to generate 8-bit style graphics<\/p>\n <p>Since the last compo I have added fontface preloading, a utility function for parallax backgrounds and a countdown function.<\/p>\n <p>I\u2019m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please \u2013 like always \u2013 report any bugs \ud83d\ude09<\/p>","time":"April 14th, 2016 9:10 pm","title":"My Base Code for LD 35"}