looping movement

raciukas22raciukas22 Member, PRO Posts: 47

Hello, I was wondering is it possible to make image to move for instance up and down all the time in gamesalad instead of making animation somewhere else and bringing it to gamesalad.

Many thanks

Comments

  • IceboxIcebox Member Posts: 1,485
    edited April 2016

    @raciukas22

    if you mean make an actor go up and down all the time there are different methods this is one of them.

    You can use this

    Distance * sin (speed * self.time)+Starting Position

    to make it work create a self real attribute call it start y then do this

    Keep changing the numbers to get an idea of what is going on , hope this helps good luck

Sign In or Register to comment.