I humbly submit “chem” – my 2d canvas-based game engine optimized for rapid development

Hello there! I am happy to finally participate in a Ludum Dare. I look forward to playing everybody’s games.

I thought I would share this project of mine called chem.

It is designed to rapidly prototype 2d browser-based games using canvas. Some of the features:

  • Automatically creates a spritesheet for your assets and then loads the assets at runtime.
  • Provides API for drawing animated sprites in a canvas
    • Supports anchor points and rotation
  • Write code in JavaScript or other compile-to-javascript languages such as Coffee-Script.
  • Uses browserify to compile your code which allows you to harness the power of code on npm.
    • For example, A* search
    • Allows you to organize code modules using require and module.exports syntax.
  • Everything from code to spritesheet is compiled automatically when you save.
  • Handles main loop and frame skipping.
  • Handles all the boilerplate for keyboard and mouse input.

Here are some simple game examples if you want to see how code using this project is structured:

In addition, the README has an introduction and the reference API documentation.

I hope it helps!

Love,

superjoe.