Fork me on GitHub

Gibdo


Gibdo is a starting point for creating HTML5 Canvas games in a top-down 2D style. It is written in CoffeeScript and provides the following features,

  • A scrolling view window that tracks the player across the game world.
  • View limit detection to allow the player to move off the centre of the screen as edges are reached.
  • Collision detection.
  • Keyboard input.
  • Sprite animation.

You can read through the fully annotated source or fork it on github.

Controls: Arrow keys to move.