/raymaze

Simple 3D maze game using ray casting.

Primary LanguageJavaScriptThe UnlicenseUnlicense

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