Sample platformer game using Crafty
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.
.gitattributes
.gitignore
MIT-license.txt
README.md
crafty-min.js
game.js
index.html

README.md

Crafty Platformer

Sample code for this article. Uses the awesome Crafty JS library.

Goal

Get to the green door and score 100 kabillion points. Jump on a red guy and score 1 kabillion point. Have a red guy get you, do not pass go, go back to start.

Controls

  • Move Left - A or Left arrow
  • Move Right - D or Right arrow
  • Jump - W or Up arrow