Jump and Keyboard

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

  • It seems to be a bug in older Construct2 versions. Ive downloaded the last one and all go ok... Thanks for your responses.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)