Actor not destroying when tapped..?

justinodunnjustinodunn Member, PRO Posts: 226
So i made an actor when tapped 4 times, it will destroy itself. the code works like this.

when actor overlaps/ collides with invisible actor, change attribute self.touch to self.touch+1.

when self.touch= 4, after 0.7 seconds, change attribute self. touch to 0, destroy..

and no matter how many times i tap the actor, it doesnt destroy?

Comments

Sign In or Register to comment.