Please help with object collision (Platformer)

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,

    I am trying to make a platformer and have been following almightyzentaco's video tutorial titled "Simple Platformer Tutorial #1: For Clickteam Fusion 2.5" on YouTube to get a starting point. Please login to see this media element. I'm a complete beginner with no experiences other than the tutorials that came with clickteam fusion.

    As a complete beginner, I am currently faced with a couple of problems I am trying to eliminate, one of the big ones is that the player object can walk through walls.

    Even though the player object can stand on platforms, it can also pass through them, if a directional key is being held, meaning to say that if the player object stands on the ground and the player presses the down key on the keyboard, the character slowly sinks into the ground. Likewise, when the player presses either the left or right key, the player object slowly walks through walls.

    Here's what I did so far:

    Like in the video tutorial, I installed the player movement object and created a new event by selecting "Collision testing (top of the event)" and then "Test for obstacle overlap". Afterwards, I clicked on "insert" in the new event, selected the player object and then "Collisions" -> "Overlapping another object" and then picked the platform. In the platform movement object column, I then selected "Collision" and "Object does overlap with an obstacle".

    I've also been trying to search for solutions on the internet, to no avail. I know there is probably a really simple solution to this, but I just cannot find it. Hence why I'm asking for help. Thank you.

  • can you attach your mfa?

    Hi, thanks for the reply. Unfortunately, the file I'm working with contains art assets that I created that I would not like to share on an anonymous forum, I know it sounds weird, but I hope you understand. Last time I shared this kind of stuff (not here on the clickteam forum), someone just took my stuff and put it in their game, so now I'm a bit more careful. The steps I took, however, were identical to that of the video. Also, while I was waiting for a reply, I also kept on looking and think I was able to find a possible solution, which is explained in this video tutorial, for anyone who may have similar issues as me and is looking for a way to solve it. Please login to see this media element.

  • oh, i found, you override PMO with BuiltIn 8-dir movement. That is problem.
    Few tips:
    1. Check properties of your wich is obstacles and add Obstacle Qualifier. After that, you can check all obstacle collision by single event.
    2. Obstacles as actives is very bad practice for your future game perfomance.
    2.1. Go under your actives and check "animation - add backdrop as obstacle"
    2.2. Also you need to destroy that actives "destroy"
    3. Hotspot bust be near foot of you charaster.

    Please login to see this link.

Participate now!

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