I’m working on a game similar to the classic Asteroid game.
I created 4 indicators (up, down, left, right) that are created with the creation of the asteroid in the appropriate part of the screen (if the asteroid created in the upper part of the screen and goes down, the indicator appears at the upper edge of the screen till we dont see asteroid).
The problem is with two or more asteroids flying from the same direction, because the indicator is still one, not two or more.
Can anyone help and possibly explain how the solution works?