Current issue is that collision checking is now decoupled from shooting, and the shot isn't instantaneous anymore. This means the CollisionEvent in the main game loop will almost always be false, which triggers doMissEvent which in turn spawns enemies.
A.C.
have enemies spawn only once a projectile gets a set distance away from the player
Current issue is that collision checking is now decoupled from shooting, and the shot isn't instantaneous anymore. This means the
CollisionEvent
in the main game loop will almost always be false, which triggersdoMissEvent
which in turn spawns enemies.A.C.
doMissEvent
?