jtait / BitBattalion

BitBattalion - An arcade style scrolling shooter
0 stars 0 forks source link

Top of screen collider destroys player lasers #18

Open jtait opened 8 years ago

jtait commented 8 years ago

Lasers are destroyed by the collider that sits slightly below the top of the screen (preventing the player from flying too far forward) unless the ship is against the collider, in which case they are launched from beyond the collider and go off screen. Lasers should only be destroyed when off screen or when the TTL counter expires.