This is a javascript implementation of the game Wolfenstein 3D. Wolfenstein 3D is a first-person shooter video game developed by id Software and published by Apogee Software. Originally released on May 5, 1992, for the PC operating system DOS.
| Keys | Function |
|---|---|
| W / ↑ | Move foward |
| S / ↓ | Move backward |
| A / ← | Turn left |
| D / → | Turn right |
| SPACE BAR | Shoot |
| F | Show Frames per second |
| M | Show level map |
- Node >= 4.1.2
$ npm install
$ npm run prepareWhen you run:
$ npm run buildIs generated executables to each plataform inside:
bin/wolfenstein/
Choose your plataform and enjoy :)
Run the executable file:
wolfenstein/bin/wolfenstein/linux64/wolfensteinRun the executable file:
wolfenstein\bin\wolfenstein\win64\wolfenstein.exeRun the executable file:
wolfenstein/bin/wolfenstein/osx64/wolfensteinTo execute the game and modify the code in runtime, open the file index.html in your browser (Supported browser: Google Chrome). To edit files and see the changes at runtime, run in watch mode:
$ npm run watch $ npm test