Skip to content
/ maze Public

archive of simple raycasted maze demo made I with OpenPTC way back in Jan 25 to Feb 3 of 2002

License

Notifications You must be signed in to change notification settings

ericfont/maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title date
Raycasted Maze Game ported to Emscripten with SDL
2020-10-02

Ported using SDL and Emscripten.

I decided to test out porting a raycasted maze demo I made back in Feb 25 - March 3 of 2002 (when I was a Junior in High School, code still public at http://eric.bappy.com) that I made with OpenPTC, by converting the graphics, windowing, & keyboard input calls to SDL. It was mostly straightforward, except there were particularlies with resizing the html page's canvas size (see the code inside of #ifdef EMSCRIPTEN). I also decided to finalize that demo into a simple game, whereby you must visit every wall of the procedurally-generated random maze within a timelimit.

Run it in your browser at:

Control movement with your keyboard: UP=forward, DOWN=backward, LEFT/RIGHT=turn left/right. Report any issues to https://github.com/ericfont/maze/issues.