GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Animated actor movement.

DevilsDevils Posts: 561Member
Alright well I have an animated actor and I need it to move from the left side of iPhone to the right side. I got it to move left to right but the actor just keeps moving past the scene. I need him to stop before reaching the end of the scene and turn back around so he could head back to the left side. Is there anybody out there that can help? Also the game will be played in Portrait.

Comments

  • JohnPapiomitisJohnPapiomitis Posts: 6,256Member
    You can time out how long it takes for the actor to make it to one side and make a timer so when its about to be there it changes direction. or you can put walls on the side and when the actor collides with the wall it changes direction. You would probably need to trigger an attribute for that. Hope i helped
  • DevilsDevils Posts: 561Member
    Thanks John I will try this method in a few right now I'm trying to duplicate the images and rotate them instead to see if I could use those flipped ones.
This discussion has been closed.