Describe the bug
The explosion effects after an enemy dies are currently tied to the enemy loop rather than the main loop. This causes the explosion animation to speed up as more enemies appear on screen, leading to faster disappearance of the explosions.
To Do:
Refactor the explosion logic so that it is handled within the main loop.
Ensure that the explosion animation remains consistent, regardless of the number of enemies on screen.
Describe the bug The explosion effects after an enemy dies are currently tied to the enemy loop rather than the main loop. This causes the explosion animation to speed up as more enemies appear on screen, leading to faster disappearance of the explosions.
To Do: Refactor the explosion logic so that it is handled within the main loop. Ensure that the explosion animation remains consistent, regardless of the number of enemies on screen.