LDFW: A simple HTML5 + Canvas Framework for Games
I decided to do more preparations than the last time I attended Ludum Dare (#24), so I started working on a simple game framework for HTML5 + Canvas a couple of hours ago. Its structure is pretty much like LibGDX, so the API is pretty similar.
It has a preloader for JSON and images, so that you can easily load assets from your server. It has simple classes like Game, Screen, Stage, Actor and Sprite. Pretty straight forward, I think this is a good basis for a framework. I also built a good buildchain around it using Grunt, Browserify and CoffeeScript
Check out the source code on Github
So far – good luck everyone and see you tomorrow. I think it’s time for a beer now. ![]()