Some code examples of how to use the Crafty.js game library
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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.