Games

Astray

Roll a ball through a 3D maze: WebGL graphics with Three.js and real physics with Box2D.

Open in its own tab

The game only loads when you start it (1.6 MB). Needs a keyboard.

About the game

Every level is a freshly generated maze, a little larger than the one before. Find the exit — and try not to lose your way.

Under the hood

Three.js for rendering, Box2DWeb for the physics, a random maze generator.

Controls

KeyAction
Arrow keysroll the ball
H J K Lthe same, for vim users
I (hold)instructions

Credits

By
wwwtyro
Licence
Unlicense (public domain)
Source code
github.com/wwwtyro/Astray
Changes for this site
SOURCE.txt
Size
1.6 MB