Robot Attack by John Amiscaray & Ian Zhu
A 3D “Star Wars Planet Hoth” style game of walker bots attacking an interactive defensive cannon.
Clone down this repository. You will need node and npm installed globally on your machine.
Installation:
npm install
To Start Server:
npm run dev
To Visit App:
http://localhost:5173/
- Mouse to move the defensive cannon
- Spacebar to shoot the defensive cannon's laser
- 'r' to reset the level
- 7+ texture-mapped robots that shoot bullets at the player
- Controllable Texture-mapped defensive cannon that shoots lasers to destroy said robots
- Death animations for the robots (they do backflips!)
- Damaged animation for defensive cannon when it reaches 0 health
- Defensive cannon uses a custom mesh
- Vertex and fragment shaders are implemented to render lightning effects such as the cannon laser's and robot bullets' glow
- The defensive cannon fires a laser instead of a projectile.
- Levels are added to game with a score displayed. Each level parameters are as follows:
- Level 0: Spawns 7 bots and slow walking speed
- Level 1: Spawns 10 bots and moderate walking speed
- Level 2: Spawns 20 bots and fast walking speed
