Jump and Keyboard

Bugs will be moved here once resolved.

Post » Tue Nov 12, 2013 8:49 pm

Link to .capx file (required!):
w w w.dropbox.c o m/s/h5ggzodnj0vllct/jumpkeyboardbug.capx

Steps to reproduce:
1. Arrow Keys

Observed result:
Jump haves random heights.

Expected result:
Jumps must have the same heights always.

Browsers affected:
Chrome: yes
Firefox: yes

Operating system & service pack:
Windows 7
Construct 2 version:
139 64bit

Observations:
If you change jump key to spacebar or another key, the problem seems to be solved, but if you push spacebar for jump, and an arrow key at the same time, the problem comes again.
B
9
S
1
Posts: 32
Reputation: 598

Post » Tue Nov 12, 2013 9:14 pm

I can't see anything wrong. It jumps to the same height every time.

I added another sprite to use as a ruler, marked at regular intervals and it hit the same spot each jump.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Wed Nov 13, 2013 1:41 pm

Can't reproduce, seems to jump same height every time here.

Note that C2 games use delta-time, which can introduce small random variations in movement. You need to make sure the jump height is high enough such that the small random variations do not affect gameplay.
Scirra Founder
B
387
S
230
G
88
Posts: 24,249
Reputation: 192,450

Post » Fri Nov 15, 2013 1:32 am

It seems to be a bug in older Construct2 versions. Ive downloaded the last one and all go ok... Thanks for your responses.
B
9
S
1
Posts: 32
Reputation: 598


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests