Reset a Actor....Help
venon_it
Member, PRO Posts: 594
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
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
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!
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