The Daily Click ::. Forums ::. Klik Coding Help ::. Combo count problem..
 

Post Reply  Post Oekaki 
 

Posted By Message

»xerus



Registered
  28/06/2002
Points
  675

You've Been Circy'd!Game of the Week Winner
18th May, 2005 at 02:24:17 -

In a game I'm working on now, and whenever an enemy is destroyed, it adds one to a counter. The problem is, if two enemies are destroyed at the same exact time then it only adds 1 instead of however many were destroyed.

As of now I only have enemies in a group, and each enemy has an alterable value that represents how much will be added to the combo counter. So for a normal enemy its 1. I have the events set up so that before an enemy is destroyed, it adds 1 to the counter and destroys it.

Is there anyway I can make it so this bug doesnt happen? So if two enemies are destroyed at the same exact time, two is added instead of one?

 
n/a

»xerus



Registered
  28/06/2002
Points
  675

You've Been Circy'd!Game of the Week Winner
18th May, 2005 at 04:42:00 -

Nevermind for now, it seems to work using some fast loops and picking objects at random.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click