Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Some code examples of how to use the Crafty.js game library
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
animation
isometric-map
resources/images
README.md
crafty.min.js

README.md

Crafty Examples

A collection of examples presenting concrete uses of the Crafty.js game library.

Animation

This code creates a new Component that manages eternally animated elements, and displays it on the screen. Uses the Component / Entity model and the Crafty's sprite tools. See Creating An Eternal Animation With Crafty.js

Isometric Map

This code displays a map of isometric tiles. Clic on a tile to destroy it.

Something went wrong with that request. Please try again.