Skip to content
Simple 3D maze game using ray casting.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img more textures chosen randomly each 'level' May 11, 2019
.gitignore
LICENSE
README.md
main.js more textures chosen randomly each 'level' May 11, 2019
sketch.html

README.md

Simple 3D maze game using ray casting. Try it out.

Uses a style of raycasting that was used in Wolfenstein 3D, as explained in this video.

Controls

Button Action
arrow keys move player
edges of touchscreen move player
spacebar toggle 3d maze or 2d map view
s key toggle statistics + shows rays in 2d view
h key hide/unhide passages in 2d view
shift key toggle between "lerp" and "slerp" for ray generation
t key toggle textures off and on
p key toggle image textures or perlin noise textures
You can’t perform that action at this time.