Crafty Workshop

Game Dev Party - Oct 12, 2012

Download the base template or fork the project on github

The Snake Adventure

No sprites (but feel free to use some! )

Algorithm hints

Use a simple component for the snake, just 2D, no display, and make it have an array of entities, all being one square of the snake.

Example implementation

Click to play or click to download the .zip

Fruit Catcher

Sprites, background (source, source)

Algorithm hints

I think you can do that one without help. :)

Example implementation

Click to play or click to download the .zip

Run, Run, Run

Sprites (source, source, source)

Algorithm hints

Get the source code of Crafty and hack the Twoway component to make the character go faster to the left than to the right.

Example implementation

Click to play or click to download the .zip

Resources