Wrap Question

Fal01Fal01 Member Posts: 460
edited March 2012 in Working with GS (Mac)
Hi All,

I have an actor who rides across the screen on a platform,the problem is that I have a X wrap so he can continue going round indefinately but when he wraps he nearly always falls off unless he is right in the middle of the platform.

If anyone has any ideas why this is happening or how to fix it I would be grateful to hear them.

Cheers.

It’s not a bug – it’s an undocumented feature

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    not seeing the rules/behaviors you are using to keep the actor riding on the platform … makes it difficult to see what is wrong

    however…
    on the ridingActor:
    Rule: when
    Attribute: self.Position.X (or Y) ≤ 1
    --Timer: For: 0.5 seconds      √ Run to Completion … so following only fires once
    --changeAttribute: self.Position.X To: self.Position.X - 10 … whatever keeps the actor from falling off

    (I tried with actor's Motion.Linear Velocity.X = 50)

    please post more information on your actors' rules/behaviors or an image …
    so we can see what is happening and may be why your rider falls

    @};- MH
  • Fal01Fal01 Member Posts: 460
    edited March 2012
    Hi Motherhoose,

    The rules are pretty much set up like tshirts tutorial here; http://gshelper.com/?category_name=videos&paged=8 (the jump through the platform one)
    except I have the platform moving to the right with added friction so the actor moves with it. And the scene is wrapped

    Hope this makes sense!

    It’s not a bug – it’s an undocumented feature

  • MotherHooseMotherHoose Member Posts: 2,456
    http://gshelper.com/?p=215 … ???

    I downloaded that one … it is great … but there is no warp X activated … and the platform doesn't move

    so … I ask how does your platform moves?

    ah … send me your file: my name at gmail.com

    @};- MH
  • BBEnkBBEnk Member Posts: 1,764
    I think Images warp once there half off the screen so if your platform is half off it warps thats way it works when player is in middle because he warps too and if he standing at the back or front he warps before or after platform and falls off.
  • Fal01Fal01 Member Posts: 460
    BBEnk ,that seems to explain it. Are there any workarounds?

    It’s not a bug – it’s an undocumented feature

  • Fal01Fal01 Member Posts: 460
    anyone?

    It’s not a bug – it’s an undocumented feature

Sign In or Register to comment.