r70 Platform Behavior Quick Jump

Bugs will be moved here once resolved.

Post » Sat Dec 03, 2011 10:12 am

I am trying to add to my game a double jump and when I hold down the jump key my character glides down. But I found that if I press and hold the jump key when my character is already in the air he jumps as soon as he touches the ground, and it makes my game a bit unplayable.

I have tried with just basic Platform behavior, nothing else, to check that it wasn't my double jump causing it to happen and it had the same problem. I am running r70, Win 7 64-bit, and Chrome.

Couldn't find this posted before, if somebody has I am sorry for posting it again.
B
3
G
2
Posts: 8
Reputation: 941

Post » Sat Dec 03, 2011 1:40 pm

Have you looked at these threads?

This

and This

also ThisGosuDesign2011-12-03 13:45:42
B
10
S
2
G
5
Posts: 14
Reputation: 3,047

Post » Sat Dec 03, 2011 11:21 pm

I don't know where it went wrong but my problem has nothing to do with adding a double jump. Hence why it is in bug reports and not in How to.

It has everything to do with how the platform behavior works. To put it maybe a bit more simply. When jumping (with platform behavior on character) hitting and holding down the jump key after jumping in the air will make the character jump as soon as it hits the ground again.
B
3
G
2
Posts: 8
Reputation: 941

Post » Sun Dec 04, 2011 12:04 am

It's probably by design.
If you have trouble with this behavior as it is, you can always intercept the jump key with the keyboard object, and make the behavior act as you like. (preventing it from jumping again and rather sliding)
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,805

Post » Sun Dec 04, 2011 12:13 am

Even if it is by design, I think it shouldn't work that way either - pressing jump mid-jump and holding it shouldn't jump again upon landing, as almost no games work that way.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Thu Dec 08, 2011 5:50 pm

Jumping repeatedly while you hold down the jump key is called "bunnyhopping" and the platform behavior is designed to prevent bunnyhopping.

I can't reproduce this with the platform behavior in a new project - can you upload a .capx reproducing this?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Fri Dec 09, 2011 11:51 am

Yes I know what "bunnyhopping" is and that's not exactly whats happening hence why I didn't "use" the "term""bunnyhopping". I didn't say "bunnyhopping" because I didn't want people to misunderstand what was happening, but that seems to have not worked.

As for seeing it in action, it happens in every game with platform behavior I play in multiple browsers and OS's. But if you want another one.

http://dl.dropbox.com/u/12875178/_.capx

B
3
G
2
Posts: 8
Reputation: 941

Post » Fri Dec 09, 2011 2:24 pm

Ah, I see the problem now. You bunnyhop once if you double-tap jump. It's fixed for the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest