A sample HTML5 labyrinth game made with Phaser
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.
assets
.gitignore
LICENSE
README.md
dist.sh
index.html

README.md

Trapped

A sample HTML5 labyrinth game made with Phaser.

Demo

Play it here from any recent browser. Mouse click or tap to move around.

Gameplay

You are trapped in a labyrinth. The trick: the walls only appear as you get close to them!

Walls hidden

Walls visible

Current state

  • Two (lame) levels
  • No sound
  • No custom player sprite

Install

  • Checkout the project
  • Fire any HTTP server, for instance python -m SimpleHTTPServer 8080
  • No plugin needed, this is pure HTML5 and javascript using Phaser.

Code

Wiring is done by require.js. The code is split is small, cohesive components or modules taking care of walls, screen splash, pointer, teleporting...

The main logic is in Labyrinth.js.

License

GNU General Public License v3, except for the game engine and the sprites.

GNU GPL v3