My player gets stuck inside a platform

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello there.


    I'm not very good with Fusion2.5 and have come across a problem I don't know how to fix. I have a very small platformer where my player gets stuck inside the platform (background-obstacle) if he doesn't hit it with his feet. Player is only 16 pixels high.


    Anyone know what's going on?

    Please login to see this picture.


    Noob.

  • Hi,

    you may use a placeholder active object for the platform movement. You can then move the sprite along with it. You may use the PMO extension object for the platform movements. There are platform tutorials here and there. For example:
    Example: Please login to see this media element.
    Have fun,
    Sergio


  • Due to the shape of your character you may have problems with collisions if you have the fine detection option enabled in your active object, it is better to have it disabled.


    Or you can use another active object as a collider.

    The active object that responds to controls must be a rectangular invisible active object, you must paint it completely to make it a solid block .

    and then create an event so that the active object containing the character image is always in the same position as the invisible active object that is the one that actually moves and collides.

  • Does your code include wall collsion code? In other words, what would happen in the below situation - where there is a wall blocking the player's horizontal movement - would the player stop, or would he walk through the wall?


    Please login to see this picture.


    Because it looks to me (albeit without seeing your code) like you have events that block vertical movement if the player hits an obstacle during Y movement, but possibly not events that block horizontal movement during X movement. The problem in your GIF seems to be about the latter. Though it's natural to think of your platforms as floors, in the case of your GIF the platform acts more like a wall, because the player is bumping against the side of it.

    Please login to see this link.
    My Fusion Tools: Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Thank you , all, for the help suggested.

    I've created an active block as the player and slapped my sprite onto it - and removed fine collision detection. He also stops when hitting an obstacle.

    He still gets stuck

    !Please login to see this picture.


    :/

  • What are the properties for the platform bricks? Are they platforms block or the platform you can jump though? It would be easier to see your code to work out what you've done. If you are ok in posting your MFA?

    Regards

    Ross

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!