wrapping x and y

gotyoursgotyours Member Posts: 246
edited June 2012 in Working with GS (Mac)
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_SFXBraydon_SFX Posts: 9,273
    edited June 2012 Accepted Answer
    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.

Answers

  • gotyoursgotyours Member Posts: 246
    Thankx
  • ORBZORBZ Member Posts: 1,304
    Also, another way to do this is to have a "teleoprter" sensor that when the actor collides with it the actor has some rules to relocate itself upon collision with the sensor.

    This has the slight benifit of not needing to monitor the actor's position.
Sign In or Register to comment.