1st collision collide/ 2nd pass through...possible?

PixelPunPixelPun Member Posts: 324
edited November -1 in Working with GS (Mac)
Hey guys, I am having a problem with and actor restarting its rule on every touch... even though it is a destroy rule. I have it so that when overlaps or collides with my actor it changes attribute to self.color.alpha to 0 then after 0.8 seconds it destroys itself. I keep it around for the .8 so that it can emit particles... only problem is the actor that it collides with sometimes will hit it again before the .8 seconds... so then I get an endless loop..

my question: is it possible to have the actor only effect it on one touch? if so how is this accomplished?

Comments

  • PixelPunPixelPun Member Posts: 324
    you rock! thanks so much!
  • PixelPunPixelPun Member Posts: 324
    ugh... im such a newb at this stuff... Do i create this as a Rule?
  • SnowSnow Member Posts: 124
    Add a boolean attribute to your actor. Then put what Tbooth said in a rule.
  • PixelPunPixelPun Member Posts: 324
    Got it... :D THanks again!
  • PixelPunPixelPun Member Posts: 324
    game is running and working so much better now... thank you... I have been trying to fix this for the past 2 weeks... and I was about to give up... Thanks again!
Sign In or Register to comment.