How do I attach sprites seemlessly throughout movement?

Get help using Construct 2

Post » Fri Mar 06, 2015 12:17 am

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
- Head of Tall Story Studios.

Creator of GOV, Project Abyss, Spiritlands & more!
B
26
S
12
G
1
Posts: 123
Reputation: 3,013

Post » Fri Mar 06, 2015 3:27 am

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.
B
53
S
14
G
13
Posts: 818
Reputation: 17,424


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], Lancifer, lucstanislash, oosyrag, RetroSpock, Turaco and 11 guests