0 Favourites

Jump Thru / Platform Positive X Movement

  • I've noticed a weird issue with the Jump Thru behavior. If a platform sprite is at a standstill to the left of the jumpthru tilebg without overlapping another the platform sprite needs to accelerate to a certain speed in order to move past it, but only if the platform sprite is moving right.

    When moving left from a standstill the platform sprite passes through as expected. If the platform sprite is already overlapping a jumpthru tilebg then it will pass through all other subsequent instances as expected. It only occurs when not already overlapping a jumpthru tilebg.

    Example Capx

    http://dl.dropbox.com/u/20459682/platform_bug.capx

    Just get as close to the left side of the either of the teal platforms, and then press right. You'll notice a hesitation followed by a "pop" as you move past it. I assume it's because you're still accelerating even at a standstill, and once the platform sprite hits a certain speed it passes through.

    I assume this is a bug due to the inconsistencies mentioned above.

  • I think I found a way to improve it but it's hard to tell since it's quite a subtle effect. Can you try this improved runtime.js for the Platform behavior and let me know if it's better?

    https://dl.dropbox.com/u/15217362/platform-r94.zip

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Whatever you did fixed the bug I reported. I noticed one other thing, but it's only noticeable at a low resolution, and not as gameplay effecting so much as visual.

    When landing in my example, the platform sprite sometimes land about a pixel or a half pixel into the jumpthru tilebg, but when the platform sprite overlaps another jumpthru tilebg it jumps to the proper elevation. I thought it might be dependent on speed, but I tried raising the values to see if there was a notable difference but it appeared to have no effect on the outcome.

    Like I said, that quirk there seems rather low priority, and probably will only effect lo-res retro games like mine and only visually really.

    The original bug appears to have been squashed though, so awesome awesome awesome! <img src="smileys/smiley4.gif" border="0" align="middle" />

  • ...I noticed one other thing, but it's only noticeable at a low resolution, and not as gameplay effecting so much as visual...

    When landing in my example, the platform sprite sometimes land about a pixel or a half pixel into the jumpthru tilebg...

    ...Like I said, that quirk there seems rather low priority, and probably will only effect lo-res retro games like mine and only visually really...

    I'm experiencing this bug at R90 - that is not only visual. I have several jumpthru panels, so when you are 1-2 pixels overlapping jumpthru you can fall through their joint point.

    And I also experiencing the bug with moving right through jumpthrus and stucking (but not always)

  • The platform behavior only works to the nearest pixel. Try enabling pixel rounding in project properties so objects never appear at half-pixel increments.

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