Castle Wolfenstein
Homage to Wolfenstein 3D™ in 20 lines of JavaScript by Mathieu 'p01' Henri January 2oo8.
-
To do
- player logic ( health + attack )
- figure why Firefox 3 is so
bloody slow, then remove the logs
- fix the fish eye effect
-
Features
- raycasting engine ( 96 slices )
- collision detection
- 16×16 maze generator with a clear path to the exit
- mini map editor
- 5 textures of 16×16
- attack dogs with AI
-
Instructions
- move using S, E, D, F or I, J, K, L or ↑, ←, ↓, → on Nintendo Wii™
- click on the mini map to edit it
- reach the exit door to access the next floor
Notes
- you start in the top left corner
- work in Firefox 3 but is much faster in Opera 9.5
- do not work Internet Explorer 7
- Wolfenstein 3D™ is a registered trademark of ID Software.
- this little script is just an exercise of style and an homage to Wolfenstein 3D™. It neither represent something I would do on a normal web page/application nor constitue an apology of the Nazism ( notice that the svatiskas are flipped ).
- download Castle Wolfenstein to play locally.