User Tag List

Results 1 to 6 of 6

Thread: Please help with object collision (Platformer)

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    12
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Please help with object collision (Platformer)

    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. 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.

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    359
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    can you attach your mfa?

  3. #3
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    12
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by alexexhowl View Post
    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.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,600
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Maybe you could try reproduce your problems with generic assets, it'll make it so much easier to help you. You won't need to change any code; just the assets you want to protect.

  5. #5
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    12
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by aenever View Post
    Maybe you could try reproduce your problems with generic assets, it'll make it so much easier to help you. You won't need to change any code; just the assets you want to protect.
    Oh yeah, that I can do. Here you go.
    Attached files Attached files

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    359
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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.

Similar Threads

  1. Same object collision
    By titofrancis in forum Fusion 2.5
    Replies: 0
    Last Post: 27th June 2014, 10:49 PM
  2. In need of some platformer collision advice...
    By Lokaio in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 11th November 2012, 08:39 PM
  3. Collision with part of an object
    By MintBrick in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 24th May 2010, 01:05 AM
  4. Help collision with another object
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 13th February 2010, 04:00 PM
  5. Collision Object?
    By Clicktastic in forum Extension Development
    Replies: 4
    Last Post: 11th August 2006, 04:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •