Ldk's Recent Forum Activity

  • Im sure it will get fixed. I requested the bug fix of the platformer not always detecting when on floor if jumping on to a slope.

    Usually fixing a bug could lead to another bug.

    Hopefully it can be fixed without reintroducing the previous bug

  • Problem Description

    The platform Behavior cannot jump while moving up a slope.

    Landing animations are triggered immediately when you jump on a slope going up.

    Platformer never leaves the ground. On Floor variable stays true.

    Attach a Capx

    https://www.dropbox.com/s/v9yxhiylq6tesd3/Platform%20BugV1.capx

    Description of Capx

    Slightly modified platformer example capx that ships with construct 2.

    Steps to Reproduce Bug

    Step 1 - Run on the slope in the direction the slope is going up.

    Step 2 - Jump.

    Observed Result

    Platformer cannot jump while going uphill

    Expected Result

    The platform should be able to jump.

    Affected Browsers

    Chrome: (YES)

    FireFox: (YES)

    Internet Explorer: (YES)

    Operating System and Service Pack

    Win7 64bit

    Construct 2 Version ID

    171 32Bit

  • Will do

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    It did fix it however it introduced a new bug.

    Tested using my game and also the same capx i posted here.

    The platformer cannot always jump while running up a slope. Even if the slope is at a very slight angle.

    However running down the slope it can still jump.

    What i found in the debugger

    The platformer behavior stays on moving and on floor.

    The sprite triggers "falling" animation. This makes me think that perhaps for a fraction of a microsecond the behavior "jumped" but switched immediately to on floor which then triggers the landing animation.

    I really appreciate all your assistance and hard work.

    Thank you.

  • Ashley

    Awesome. Thank you. Will test once the new build is available

  • Alternatively just use 3d :p

    Im not artistic at all... but working in 3d masks that sometimes :p

  • Ashley

    Has it been confirmed yet that this is a bug?

    What are the chances of this being fixed in the next release?

  • Awesome thank you

  • If i design a menu, how would i allow players to map their own controls.

    Allowing them to select what button jump must me.

    Key mapping basically.

  • Love the art style.

  • Ashley

    Ok i added a variable. If player is on floor then set to true else set to false.

    What happens is that in the scenario described above in the right side picture, the platformer does not detect it is on the floor when the bug occurs.

    Here is a screenshot where the player is on the floor but the behavior does not detect this

    https://www.dropbox.com/s/njgy5pisd1lap45/Platform%20BugV2.capx

  • Ashley

    The issue is that if the plaformer did not switch to falling state, it goes directly to moving state when on ground.

    The issue is also not a definite every single time issue. It only happens when you hit the slope while you are in a jumping state.

    When this happens, that you are now on the floor while the platformer was in jumping state, then the state changes to moving.

    It takes a few tries to get the issue to show because majority of the time the platformer has a few pixels before it hits the slope. If this is true then it does switch from the jumping state to the falling state.

    But there are instances where the slope is just at the height required to jump onto without ever actually falling before landing on it.

    The picture should roughly indicate what i am trying to explain.

    If there is a workaround i could use that. But right now my game is 4 weeks away from being launched on multiple platforms and my only option at this point is to remove any assets containing slopes like houses, cave entrances and vehicles. Something i really wish to avoid.

Ldk's avatar

Ldk

Member since 4 Aug, 2013

None one is following Ldk yet!

Connect with Ldk

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies