Skip to content

3D Spaceship asteroid shooting game implemented with WebGL

Notifications You must be signed in to change notification settings

SpicyCactuar/starship

Repository files navigation

Starship

Final project for the Fundamentals of Computer Graphics subject of the University of Buenos Aires.

starship

Gameplay

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.

Features

  • WebGL graphics pipeline:
    • Rasterizer
    • Directional lightning
    • .obj model renderer
  • AABB collisions, visual representations of the boxes are shown
  • Simple object pooling (stars)

How to run

  1. Run python3 -m http.server (alternative hosting solutions should be equivalent, this is needed to access the game's assets)
  2. Access localhost:8000
  3. Game is started automatically
  4. Upon finishing, restart tab to play again

About

3D Spaceship asteroid shooting game implemented with WebGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published