How do I make this ball not float when partially in contact

  • /s/s9haju065txj8hx/Access.capx

    Just add dropbox.com before the above text to access the .capx file

    I have changed the template platformer player to a ball. The collision polygons seem to be fine. Is there a way to make the ball fall when it is just partially in contact with the platform? I cannot change collision polygons for tiled backgrounds.

    Also, it's really strange that when I jump to another platform and shrink the ball, for some reason, the ball automatically moves left and right. The movement is little but it's noticeable.

  • Created a link - fixed it <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    You can adjust the sensitivity of the jumpthru_tile in the eventsheet.

    If you have questions ask me or anyone XD

    https://onedrive.live.com/redir?resid=A ... ile%2ccapx

  • chadorireborn This is perfect but it works only for jumpthru tiles. Solid tiles don't have a jumpthru function to fall through. I want the same behaviour with solid tiles and moving tiles.

    Also, it's really strange that when I jump to another platform and shrink the ball, for some reason, the ball automatically moves left and right. The movement is little but it's noticeable.

  • chadorireborn This is perfect but it works only for jumpthru tiles. Solid tiles don't have a jumpthru function to fall through. I want the same behaviour with solid tiles and moving tiles.

    Also, it's really strange that when I jump to another platform and shrink the ball, for some reason, the ball automatically moves left and right. The movement is little but it's noticeable.

    Could be a one pixel thing, is your origin exactly at the middle of your sprite?

    Would it be problematic making all tiles have the jumpthrough behaviour and only enabling it when needed?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • LittleStain I could make all my tiles jumpthrough then. My origin is exactly at the middle of my sprite. Also, did you notice that when I jump to another solid tile and shrink the ball, the ball automatically moves left and right and also for some reason, it is in air.

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