how do you get acters to repeat?

johnydeejohnydee Member, PRO Posts: 196
edited November -1 in Working with GS (Mac)
I have an actor i want to repeat when it goes off screen to the left,so i want it to come back from the right and go off the left side and repeat.How can i get it to do that?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    under scene attribute you can check wrap x. That will wrap everything in the scene though

    If you only want to wrap one actor you can do:

    when self position x is < 0, change attribute self position x to 480

    and when self position x is > 480, change attribute self position x to 0

    depending on the actor size you'll have to tweak the numbers maybe, but that'll get ya going
  • johnydeejohnydee Member, PRO Posts: 196
    Ok thanks
Sign In or Register to comment.