Happy Tuesday Everyone!
What would be the best/most efficient way to destroy the player (and enemy) projectiles in a vertically scrolling shooter?
I have two ideas:
- A collision box at the top of the screen that travels forwards as the player travels and destroys all the bullets that hit it.
- Just kill of the projectiles after a certain period of time
- Or perhaps a number 3. that I haven’t thought of?
Any thoughts on what might be the best method? Thanks!