I am making my own version of the ghost shooter game but I have run into some trouble.
I added exploding barrels that cause an explosion when they are shot 4 times and when the ghosts overlap the explosion, they are destroyed. The player then gets 1 added to their "Kill Count" private variable and the game displays "Kills:" and the amount of the "Kill Count" private variable at the top. My problem is that when the player kills more than one ghost at the same time using a barrel (which is bound to happen), the system only adds 1 to the "Kill Count" instead of the correct amount of ghosts that where destroyed. How do I solve this?
Here is a link for my cap:
http://dl.dropbox.com/u/7518552/Ghost%2 ... lution.cap
Any help is appreciated