[r127] Jump-Thru behavior bug

0 favourites
From the Asset Store
Jump on candies, collect candies and earn score!!!
  • The first issue is the one that I have most often. When a player comes close to landing on a jump through but not quite making it, their Y drops to 0 for just an instant and then they begin falling again. The causes some real issues on games where you are trying to design for tricky jumps.

    I have found that it happens regardless of how thick the jump through is. Ashley any word on this? It makes pixel perfect platformers not so pixel perfect as the jump arc gets pretty messed up when a player comes close to a jump through platform.

    This can also be seen when falling off of the edge of a jump through if you immediately hit back toward the direction of the platform. SO run off and then immediately reverse direction back toward the platform and you will see the same behavior.

  • Jase00 - I think you've described a couple of issues for which there is no bug report with repro .capx. The OP discusses a single issue for which there is an easy workaround. If you want those other cases to be investigated you should post a new report.

  • Ashley , Sure thing! I''ll post all of them when I get a chance or if someone else does it first. <img src="smileys/smiley16.gif" border="0" align="middle" />

  • Ashley the original behavior of stopping briefly while jumping near a jump-thru does not really have an easy work around. Originally we thought it was due to the thickness of the jump-thru but that actually has no bearing on it. It happens no matter if the jump-thru platform is thin or thick.

  • andreyin - your original .capx link is now a 404. I know the bug is old, but I definitely won't be able to look in to it again if the file isn't there!

  • Sorry, I think I've deleted it by accident when cleaning my dropbox ):

    I tried doing it again but I couldn't reproduce the exact bug I first mentioned (where the character gets stuck in the middle of the platform rather than on top of it).

    However, I found some new bugs, as well as the ones Jase00 mentioned. Not sure if I should post new bug reports or just post it here, so I'll post it here and if you guys want, I can make new threads (or add this to the ones Jase00 posted0)..

    Anyway, here's the .capx:

    dl.dropboxusercontent.com/u/2383513/jumpthru.capx

    In this .capx, the orange platforms are 32x32 sprites with the jumpthru behavior next to each other.

    What happens is that the character automatically falls of some of the platforms when stepping on them.

    Like this:

    <img src="http://i.imgur.com/X4D7eLb.gif" border="0" />

    As for the red platform SOMETIMES the character is allowed to jump from the bottom of the screen directly to the top of the red platform, and sometimes he can't. He's not supposed to.

    Like this:

    <img src="http://i.imgur.com/xWwbpdU.gif" border="0" />

    edit: I forgot to mention the bug that Jase00 also mentioned, where if you stand on the top of the red platform, drop to the right and quickly press left, the Y vector will be set to 0. This happens if you touch any jumpthru platform while falling and miss the top of it.

    Thanks!

  • andreyin - which version of Construct 2 are you using? We made some fixes to jump-thrus in r137, and I can't reproduce any of your issues in Chrome with it. Note the jumping on to the red block is due to random variations in dt, you simply shouldn't rely on blocks where the height is very close to the jump height.

    Closing this report now, make new threads for any issues you still get in r137.

  • Ashley when I posted it r137 hadn't been released yet, I updated and tested it again and everything is fine now! Thanks!

  • Hello Guys i think i figured this out with some trick

    at very first thing sry for my bad English ) )

    the problem is when our character.Height > JmpThruObject.Height this bug will happen

    i couldn't fix that on my character who have platform behavior but i created a new sprite with tiny size and platform behavior attached to it then placed it on myCharacter's leg and pinned myCharacter to it.

    whenever that tiny sprite moves, myCharacter follows it and we think myCharacter having platform behavior

    and its solved with this trick!

    there is a picture Look :

    1- tiny sprite (platform behavior)

    2- myCharacter (pin behavior)

    3- JumpThruObject

  • Try Construct 3

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

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

    Hello Guys i think i figured this out with some trick

    at very first thing sry for my bad English ) )

    the problem is when our character.Height > JmpThruObject.Height this bug will happen

    i couldn't fix that on my character who have platform behavior but i created a new sprite with tiny size and platform behavior attached to it then placed it on myCharacter's leg and pinned myCharacter to it.

    whenever that tiny sprite moves, myCharacter follows it and we think myCharacter having platform behavior

    and its solved with this trick!

    there is a picture Look :

    1- tiny sprite (platform behavior)

    2- myCharacter (pin behavior)

    3- JumpThruObject

    Why have you posted in a 2 year old closed bug report that has already been remedied?

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