When the player shoots his gun the screen shakes with a magnitude of 1 for 0.1 seconds. When an enemy gets destroyed it spawns an explosion that shakes the screen with a magnitude of 15 for 0.5 seconds.
Problem is that if the player continues to shoot when the enemy gets destroyed, the bullet screen shake (magnitude 1 for 0.1 seconds) overrides the explosion screenshake, making the explosion screenshake barely noticeable.
Is there a fix to this or do I have to do a work-around?
Thanks.