Reset a Actor....Help

venon_itvenon_it Member, PRO Posts: 594
edited November -1 in Working with GS (Mac)
Hi,
i have a actor, and want that actor exit a game.score up 500p - game.score up 1000p , this actor move in automatic from right to left ( after destroy ) .
i create to rule, first rule : attribute , game.score up 500p in behaviors insert "Change Velocity" direction 180 , speed 180
second rule : attribute , game.score up 1000p in behaviors insert "Change Velocity" direction 180 , speed 180
in third rule :
actor collide with tag XXX , destroy this actor

all OK, for the first 500p the actor exit, but for 1000p actor don't exit !!!

help meeeee

Comments

  • venon_itvenon_it Member, PRO Posts: 594
    ok now i change:
    create two rule:
    first rule: attribute , game.score up 500p in behaviors insert "Change Velocity" direction 180 , speed 180 , Timer 3sec after destroy
    second rule : attribute , game.score up 1000p in behaviors insert "Change Velocity" direction 180 , speed 180 , Timer 3sec after destroy

    all OK, for the first 500p the actor exit, but for 1000p actor don't exit !!!

    Helppp my actor not reset!
  • venon_itvenon_it Member, PRO Posts: 594
    pleasee help me.. My actor for second rule don't start!
  • venon_itvenon_it Member, PRO Posts: 594
    Ok, now i use another metod...
    in my actor i insert timer every 10 sec , move-beahviors direction180 -speed 180 , Change Attribute: self.Position.X To 512

    all is ok , I'm not sure if it's the best way to display an actor!

    Help Thanks
Sign In or Register to comment.