hi I am making a on rails arcade gun game and I want the player to be able to throw grenades
so first I made a large explosion sprite and I used the simple code
if grenade overlap enemey then reduce enemy hp by 10
but while that seemed to work when groups of enemies got hit they did die BUT they did not all add to the bodycounter
bodycounter is a global variable I use to determine when all the badguys in a room are dead so the camera can move to the next room.
so I tried something else
and it still does not work.
if I have a group of 4 enemies and hit them with a grenade it only adds 2 points to bodycounter what can i do to make sure all the badguys are counted