wrapping x and y
is there a way to wrap a actor instead of the scene, i have a few movable actors and if i wrap the scene it causes some issues, i only need 1 to wrap to Y
Best Answer
-
Braydon_SFX Posts: 9,273
Yes.
Locate the X and or Y values of where you want your actor to start and where you want the actor to wrap.
Then, in your actor:
Rule:
-When attribute self.positionx = (wherever you want the actor to wrap)
--Change attribute: self.positionX to starting point
This applies to your self.PositionY too.My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Answers
This has the slight benifit of not needing to monitor the actor's position.