How can I loop an actor?
Hello guys,
I have an actor which moves to the right of my screen. I would love to the same actor to re-appear from the left once it has disappeared from the right. Is it possible?
Best,
Adil
I have an actor which moves to the right of my screen. I would love to the same actor to re-appear from the left once it has disappeared from the right. Is it possible?
Best,
Adil
Best Answers
-
BarrytheBrave Posts: 134
Wrap x will cause anything to wrap around to the other side when it leaves the scene, so if that's not what you're after then leave wrap unchecked, and add a rule that when self.position x = (a position off the right of the screen) then set self.position x = (a position off the left of the screen).
Answers