0.0.1 • Published 7 years ago

machete-framework v0.0.1

Weekly downloads
4
License
MPL-2.0
Repository
github
Last release
7 years ago

Machete

The Machete HTML DOM Game Framework

Built by Technohacker

Concept

Unlike traditional JS Game Engines (which use the <canvas> element), this framework uses the HTML DOM, rendered by the Browser's DOM Engine.

This offers a few benefits:

  • You can design the stage using HTML instead of defining it in JS code thus separating concerns.
  • Over the years, browser vendors have strived to get the most performance out of their web layout engines. Therefore, DOM rendering is sometimes faster than <canvas> rendering.
  • HTML can be easily styled with CSS, so you don't have to specify the style in JS code.

Progress

I can consider the framework as quite usable but I need others to try out the framework for understanding the API usability. So I mark it alpha.

Pull requests are always welcome! :smile:

TODO:

  1. Offer two versions: raw ES6, Transpiled to ES5
  2. Add documentation