How do I move towards center of ladder

Get help using Construct 2

Post » Thu Oct 23, 2014 12:25 am

So I'm making a ladder from scratch, using some of the nice tutorials around for inspiration. I can't find mention of this particular thing though.

The character can move freely on the ladder - up, down and to the sides so he can drop off if wanted. However, I'd like him to slowly move back towards the center of the ladder on his own if I don't touch any movement buttons. Basically, I want a "for each tick, move player 1 pixel towards center of the ladder object"-expression. And I just can't figure out how or where to write it. Anyone got any good ideas?
B
4
Posts: 4
Reputation: 458

Post » Thu Oct 23, 2014 1:00 am

What behavior are you using for the player movement?

If he's always animated when moving, you could use (under animations) on any finished.
If he's using platform behavior, you can use "on stopped" under "platform animation triggers" or
use "is moving" but inverted.
If your using 8 direction behavior, you can use "is moving" Inverted.

You don't need to use "every tick". That would be an improper use "every tick".

Hope this helps.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Fri Oct 24, 2014 8:31 pm

I see! I think. I shall have a poke around. Thanks! :)
B
4
Posts: 4
Reputation: 458


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 40 guests