Skip to content

yackx/trapped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trapped

HTML5 labyrinth game draft 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

About

HTML5 labyrinth game draft made with Phaser

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages