A 3D shooting game developed using WebGL and Three.js.
Run the program on a local server. The music won’t play if the index.html file is run locally.
Use the following commands to run the program on the local server.
If you have Python installed, it should be enough to run this from a command line (from your working directory):
-
For Python 2.x: python -m SimpleHTTPServer
-
For Python 3.x: python -m http.server
This will serve files from the current directory at localhost under port 8000, i.e in the address bar type: http://localhost:8000/
Following keys are used to control the player:
- W: Move Up
- S: Move Down
- A: Move Left
- D: Move Right
- Space: Shoot
Player dies if hit by enemy bullets or when it touches the maze walls. The score is incremented by 10 points every time the player shoots the enemy.
