Platform Behavior Bug

0 favourites
  • 3 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/105711543/SolidsBug.capx

    Steps to reproduce:

    Wait 2 seconds.

    Observed result:

    Player does not fall through platform when floor's solid attribute is disabled. Instead it floats & thinks it's falling when it isn't.

    Expected result:

    Player should fall through the platform as it did before r140

    Construct 2 version:

    r140

  • I believe the collision isn't "checked" again.

    A workaround can be to set the Sprite.Y to self.Y -1, which will be hardly visible, and make your character move through the platform as intended.

    I believe it is due to some fix that was brought to the platform/jumpthru behaviors, reported in last version and fixed in r140.

    At some point, you require such workarounds as Ashley already mentioned the platform behavior was becoming a very complex one.

    Should help you going until Ash comes back from his time off.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as won't fix: the Platform behavior does not keep re-checking the object it's standing on, since it is generally inefficient to do so. However in this case you do need it to re-check the position. The workaround is simple: if the player is on the object you're disabling, "nudge" them and they fall down (set the Y to Self.Y - 1 or similar and it will check the collisions again).

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