Need help with Actor movement

koko31koko31 Member Posts: 13
edited November -1 in Working with GS (Mac)
Hi, I'm trying to move an actor to a specific spot on the screen. However when I used these rules, the actor just keeps going off the screen.

Move to
->: self position x +240 up: self position y

Sorry it may be a stupid question but I'm new to gamesalad
Thanks

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    Try using the interpolate behaviour - you'll love it :D

    QS :D
  • koko31koko31 Member Posts: 13
    How may I do that?
  • quantumsheepquantumsheep Member Posts: 8,188
    Well, in the same way you have a 'move to' behaviour, there's one called 'interpolate'.

    In that behaviour just

    interpolate attribute: the X position of your actor

    to self position x +240

    Then put in how long you want it to take.

    Should be simple!

    QS :D
  • koko31koko31 Member Posts: 13
    Thanks, just what I need!
    :)

    koko31
Sign In or Register to comment.