How do I suddenly stop after jump aka Deceleration problem

Just started using Construct 2? Post your questions here

Post » Mon Apr 06, 2015 2:43 pm

First off, I have a charged jump forward mechanic where the length and height of the jump is determined by how long a button is held. My issue is at the end of these jumps. I want to completely avoid sliding of the player object after it jumped and has landed back on the floor, so I crank up the deceleration. Thing is, this now has the knock on effect where the 100% charged jump now only covers as much ground in length as the 50% charged jump, due to the 100% jump going higher and thus deceleration having more of an impact on its movement forward. So, how can I work around this? Is there another way I can stop sliding without resorting to deceleration? Thanks
B
8
S
2
G
1
Posts: 34
Reputation: 623

Post » Mon Apr 06, 2015 2:52 pm

Could you just set the player speed to 0 on landing?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Apr 06, 2015 3:55 pm

...
..
.
.
.

Why do I always go about things in the most complicated way? I had set up this really long winded way to deal with it but was having issues with it. Thank you, that did the trick.
B
8
S
2
G
1
Posts: 34
Reputation: 623


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest