Final project for the Fundamentals of Computer Graphics subject of the University of Buenos Aires.
Infinite 3D Asteroids-like game. The player controls a ship that infinitely moves forward dodging asteroids. Control the ship with the arrow keys and fire a laser with the spacebar. The game ends when the ship is hit.
- WebGL graphics pipeline:
- Rasterizer
- Directional lightning
- .obj model renderer
- AABB collisions, visual representations of the boxes are shown
- Simple object pooling (stars)
- Run
python3 -m http.server
(alternative hosting solutions should be equivalent, this is needed to access the game's assets) - Access
localhost:8000
- Game is started automatically
- Upon finishing, restart tab to play again