Custom Movement Vertical Step trigger

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/73774002/vertstep_bug.capx

    Steps to reproduce:

    1. Load CapX, look at code, Preview

    -Code says the player should be destroyed upon vertical step if it's overlapping the wall.

    2. Move around in preview

    -Go over the blue wall

    3. Go back into the CapX, change it from Vertical Step to Horizontal Step, preview again.

    4. Move around in preview and go over the blue wall.

    5. No matter the stepping mode (Vert then Horz // Horz then Vert)

    Observed result:

    Vertical Stepping trigger doesn't trigger, thus doesn't destroy the greybox.

    Horizontal Stepping Trigger triggers both horizontally and when moving purely Vertically.

    Expected result:

    Greybox triggers Vert Step and is destroyed.

    Operating system & service pack: Win 7 x64

    Construct 2 version:r130

    ----

    Unsure if it's part of the bug, but I've noticed that when trying to move along walls (when it blocks on trigger) that depending on the stepping mode the moving box slides on the axis of the first step

    On Horz Step trigger (Horz because it's the only one that works)

    Overlapping Wall

    Stop Stepping(Go Back 1 Step)

    If the input has it going both Vert and Horz at the same time, Vert then Horz has it slide up and down vertically along a vertical wall, but along a horizontal wall it catches. The opposite happens with Horz then Vert as it slides along the horizontal wall but catches on the vertical one.

    Hopefully once Vert Step trigger works it can make the object slide along the wall both directions at once.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, should be fixed in the next build.

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