Platform behaviour bug

0 favourites
  • 4 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • Problem Description

    My character with platform behaviour clips through the ground. Hitboxes are rectangles without inclinations.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/20062568/bug.capx

    Description of Capx

    I have a layer with several platforms and a layer with a restart button if the player falls. Press arrows to control.

    Steps to Reproduce Bug

      • Get on a platform.
      • Walk slowly to the left, press and release the left arrow very quickly.
      • When he gets to the ledge, if you are walking slowly left, he will fall form the top part of the platform to be "grabbed" inmediately again, and be able to walk through the platform if you press right.

    Observed Result

    Player doesn't fall if he is walking slowly to the left.

    Expected Result

    Player to fall when he is no longer on the platform

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7, service pack 1

    Construct 2 Version ID

    V. 212.2

  • PapitoMyKing

    Not a bug.

    Your orign points for both your player and platform are set to the bottom.

    If you change the origin of the platform to top, that will help.

    Also the collision polygon for 'player' is wrong, which means that as it approaches the edge, there is nothing to collide with.

    Why not just use bounding box for all of your collisions? For something as simple as this, that's all you really need.

  • PapitoMyKing

    Not a bug.

    Your orign points for both your player and platform are set to the bottom.

    If you change the origin of the platform to top, that will help.

    Also the collision polygon for 'player' is wrong, which means that as it approaches the edge, there is nothing to collide with.

    Why not just use bounding box for all of your collisions? For something as simple as this, that's all you really need.

    Thank you very much, I'll apply those fixes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as not a bug.

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