Hi ya!
I have a problem with a couple of objects. I am trying to use them for scoring purposes in my game. When an object is invisible, it is supposed to add 1 to a counter or a value, and that is the players score. The problem is, it's invisible for a certain amount of time, and it's being counted for that certain amount of time continuously.
This is also a problem if I were to count a certain number of objects that I use to make the other object invisible. Since it's always invisible during that time, it's always being created. I don't want it to be always created, I just want it to happen once for each time it occurs gosh darnit! The problem is, whenever I use the run event once in some instances, it only runs the event once, so no other chain reactions occur.
I'm thinking of a fastloop or something. Or I may succomb to using an extension.
Anyways, what I want to occur is this.
//psuedo code
-When the user clicks on a shape object, the object (which it does) explodes in different particles.
-An object checker is created when this occurs, but a problem is, it's *continuosly* created.
->If the object checker (which overlaps 9 objects) overlaps a shape object that matches the animation frame of a main shape object, then make the shape object invisible.
->If the object checker is overlapping another shape object that matches the main shape, then again, create an object checker at the center of the shape object. The problem here is that it is *continuously* created.
->I also have it so that if a shape object is invisible, add 1 to a counter. The problem is, is that it is *continuously* adding 1, becuase the group is only enabled for a short amount of time, but long enough for it to continuously add.
What I would like to know, is how can I get it to stop doing something continously?
source
http://www.filefront.com/16116289/BetaShapeShift.mfa
(ps kudos and many thanks to my buddy gerald here, didn't want to bother you again :))
Thanks in advance!
