Please enable JavaScript.
Coggle requires JavaScript to display documents.
Deconstructing my program (rockets (draw rockets, move rockets around with…
Deconstructing my program
rockets
draw rockets
move rockets around with controls
draw fire trail from rockets
shoot bullets
change angle with input
have health
asteroids
move around and spawn randomly
collide off of eachother
hurt ship on contact
get destroyed by bullets
drop goodies when shot
bullets
get shot by rockets
need to move at same angle as ship
have cooldown so you don't shoot one bullet / a frame
explode on contact with anything or when they have gone 250 pixels
explosions
start when bullet hits something
create array of particles which shrink as
they get further away from their start point
change colour as time passes
removed after they have finished exploded to stop program lagging out
collisions
detect when bullets hit edge and explode
detect when bullet hits asteroid or ship
detect when ship goes off of screem
scoring
add points when one rocket is hit
add up points at end
GUI
start screen
instructions (controls)
win screen
health bars
sound
shooting
for explosions
asteroids colliding
soundtrack that loops
shop
add different weapons
upgrades
spend money got from asteroids