Change Actor Directions
I have a moving actor that moves left and up. As the actor is moving left and gets to a particular pair of (x,y) coordinates I want him to change direction and move up.
Here is what I did but it does not work. Help?
When All
- att - game.move = left
- att - self.position.X = 172
- att - self.position.Y = 164
Change Att - game.move to up.
What happens is the actor keeps moving left.
Here is what I did but it does not work. Help?
When All
- att - game.move = left
- att - self.position.X = 172
- att - self.position.Y = 164
Change Att - game.move to up.
What happens is the actor keeps moving left.
Comments
- att - self.position.X > 172
- att - self.position.Y > 164
I will try that thanks.