g-brrzzn / shootemup-Pygame

A Shoot 'Em Up base game made in Python-pygame from scratch
MIT License
4 stars 0 forks source link

Explosion speed tied to enemy loop instead of main loop #1

Open g-brrzzn opened 3 months ago

g-brrzzn commented 3 months ago

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.

Omvinchhi commented 2 months ago

can i try this one ?

g-brrzzn commented 2 months ago

Sure!