How do I reset Platform behavior values???

Get help using Construct 2

Post » Sat Jul 26, 2014 9:46 am

Hi guys,

I am making the hero start climb automatically when he collide with a ladder. and when touching the ladder I disable the Platform Behavior, but when he jump of the ladder and enable the Platform behavior it still has the same value it has when grabbing the ladder.

For example: If the hero was falling fast when grabbing the ladder then he will fall super fast as soon as he gets of it.
If he was grabbing the ladder from the right and get off the ladder to the left then he will first go to the left THEN to the right for a short second.

So any idea what to do?

Best Regards Wonamik
B
6
Posts: 37
Reputation: 324

Post » Sat Jul 26, 2014 10:52 am

Try this:
Player is overlapping ladder - set max fall speed to X
Else - set max fall speed to X2.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sat Jul 26, 2014 10:54 am

Also, you can just set the vector y to 0 (since setting the max fall speed will not take care of when the player go upwards)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sat Jul 26, 2014 12:08 pm

Aphrodite wrote:Also, you can just set the vector y to 0 (since setting the max fall speed will not take care of when the player go upwards)


I did this for both X and Y and it solved my problem thank you so much, have a great weekend both of you.

Best Regards Wonamik
B
6
Posts: 37
Reputation: 324


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, ST314 and 22 guests