svathsa / robot_doomsday

A WebGL game where you have to survive a robot invasion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Robot Doomsday

Robot Doomsday is a 3D WebGL game where players must survive a hoard of robots to win. The game uses linear transformations to animate the characters and support gameplay.

The features we included are:

  • FPS Controls
  • Collisions
  • Robot Explosion Physics
  • Robot Path Finding Algorithm (to track the player)
  • Parametric Surfaces (Pond)
  • Night and Day Mode
  • Sounds

Setup and Controls

To play the game - clone the repository, open the included "host.bat" or "host.command" file, then open localhost in your browser (http://localhost:8000/).

Click on the game window to begin controlling the character. You control the player with WASD, look around with the mouse, and use the space key to fire the raygun. You win when you kill 11 robots. If a robot gets too close, you die!

As an added feature, you can hit 'n' to switch the time of day and make the game even scarier!

Gameplay in Robot Doomsday


The tiny-graphics.js software library was provided by UCLA Computer Science's 174A course (Intro to Computer Graphics). It implements vector mathematics and other routine operations in computer graphics to speed up our development process.

About

A WebGL game where you have to survive a robot invasion.


Languages

Language:JavaScript 98.8%Language:Python 0.6%Language:HTML 0.6%Language:Shell 0.0%Language:Batchfile 0.0%