Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Crafty JS source repository miss working examples. I made this repository to fill the void.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Component HitBox bug DOM
Crafty animate main.html change crafty snapshot.js


Crafty API document is kind of light. The examples are just snippets which are not runnable. I created some stand-alone examples, so that uses can run any of them without the need to add additional code. Note that this is project in progress. Examples of only a small number of functions in Crafty have been created.

To view the examples, prepend path with

For example, to view, go to

Something went wrong with that request. Please try again.