Graviton
Youtube Playlist of various builds
Browse code @ google code (main.cpp linked)
Graviton is a retro-style vector space shooter.
- You are a spaceship pilot (Capt. Escavel) who is a complete fuckup and always seems to get himself stuck in the gravity well of black holes.
- your ship is the green triangle
- the black hole is the purple circle.
- there are asteroids that fly in towards you and the black hole.
- they are colored, red, yellow and green.
- there are 3 power levels for your ship, weapons and asteroids. - a)red, b) yellow c) green.
- for ship that's your "hit points"
- for the asteroids, that's their "hit points"
- for your weapon, that's the "power"
- if the asteroids hit the black hole, they increase the size of the black hole depending on their power (green is more mass and increases it more, red is smaller increase)
- if the black hole expands to your location it eats you
- the GOAL of the game is to powerup your thrusters enough (as indicated by the thruster meter in the lower right corner of the screen) before the blackhole expands and eats you
- you do this by collecting the GREEN RECTANGLES powerup that some asteroids will release.
See the controls
(SELF-NOTE: For fixing multi-shot -- test for & on the multi-shot array for each object if exists -- if spread[0] & spread[1] & spread[2])