marc-hugh-tom / ship

1 stars 0 forks source link

Create basic asteroid and make them spawn #4

Closed marc-jones closed 8 years ago

marc-jones commented 8 years ago

The basic asteroids shouldn't be affected by the gravity of the black hole. Instead, they have a certain unchanging velocity as they move across the screen.

To add variety, they could come in multiple sizes and have a slight spin to them.

They should spawn off screen and should always have a negative x component to their velocity. i.e. they can't approach the rocket from the rear and chase it.

When the asteroid leaves the screen, it should be destroyed.

tomcraven commented 8 years ago

https://github.com/marc-hugh-tom/ship/pull/15