How do I attach sprites seemlessly throughout movement?

  • Hey guys. Is there a way to pin something to an object better than saying set x to the objects coords every tick? Pin behaviour doesnt apply here. Basically my character is climbing down ladders (or everything else is moving up) and you can only move the ladder she is on horizontally so before she climbs too far down and falls off the bottom, you must line the ladder she is on with the one below.

    The problem is if you move the ladder too fast, she isnt keeping the x coord to the ladder and is being left behind- and so dropping off.

    using event when overlapping ladder, pin to ladder- means she wont fall off the bottom. I have tried saying when overlapping at offset y-100, unpin. But i think the pin is overriding the unpin!

    Help greatly appreciated

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I would need to see a capx or at least some screenshots of what you are trying to do.

    As far as I understand it, you'll need to disable platform movement and enable eight directional movement while the player is overlapping the ladder. In the 8-directional movement plugin properties window change the eight directions to four directions. And of course once if you are not overlapping a ladder, set the platform control back to enabled and disable 8-directional.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)