How do I stop player momentum when on a ladder?

Get help using Construct 2

Post » Fri Dec 19, 2014 1:04 am

Message: arrjayjee can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I used this tutorial here to add a simple ladder to my game:

https://www.scirra.com/tutorials/591/a- ... latformers

However, when I jump on to a ladder or fall on to a ladder, vertical momentum is retained and the player slides up or down the ladder without player input.

How do I stop this from happening?

I've attached my .capx so you can have a look.
You do not have the required permissions to view the files attached to this post.
B
5
Posts: 36
Reputation: 397

Post » Fri Dec 19, 2014 2:40 am

B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Fri Dec 19, 2014 6:57 am

Thanks very much. I set MaxFallSpeed to 0 instead of setting Gravity to 0 and it worked a treat.

But now I have a different problem. The character will not animate while climbing the ladder up and down, but it *will* animate if the character is climbing the ladder and moving sideways.

Any ideas?
B
5
Posts: 36
Reputation: 397


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests