Actor Location Change

SwaggedSwagged Member Posts: 50
edited November -1 in Working with GS (Mac)
i have an actor and it goes from point a to point b. when it reached point be i want it to change its location to a different part of the screen. how can i do that?

Comments

  • ChessPawnChessPawn Member Posts: 127
    If your point B is always a constant, you could try to make a rule if all are true self.position.x is X and self.position.y is Y then change attribute self.postion.X to "x" and self.position.y to "y". Or use the Move To behavior. I'm still a n00b with gamesalad, so there is probably someone more knowledgable than me who can help you!
  • master200012master200012 Member Posts: 372
    Well, can you destroy the actor at point b and spawn a new one at the new location on the screen? I am inexperienced, but the concept seems to work.
Sign In or Register to comment.