User Tag List

Results 1 to 3 of 3

Thread: Need help not sticking to walls

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2017
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help not sticking to walls [SOLVED]

    Hey there! I just picked up Fusion from Humble Bundle and started off with the Custom Platform Movement tutorial by DavidN. I seem to have it working pretty well, with one exception. Sometimes when I collide with walls (primarily from the side) I stick to them like the Spiderman. Sometimes some wiggling will dislodge the player, but sometimes it just sucks him further into the wall. Which is, needless to say, not what I'm going for.

    Initially it seemed to be caused by catching on corners of the sprite, so instead of using the sprite as the player I made it an invisible square, and had the sprite follow the square around. Which helped a lot, but it still does happen sometimes. So now I'm not sure what the issue is. I've also tried checking the "Collision with box" option on my platform, which I read helped someone else, but had no effect for me.

    It either happens exclusively to the left, or most frequently. In addition to jumping into a wall and freezing there, you can also walk straight left and stick into the wall, becoming unable to jump (but can free yourself by walking back right).

    Application 1.mfa

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    643
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Fixed:platform_fix.mfa

    I have replaced:
    Set Player X to
    Code:
    X( "Player" ) + Horiz( "Player" )
    to:
    Set Player X to
    Code:
    X( "Player" ) + Horiz( "Player" ) / Abs(Horiz( "Player" ))
    same with moving back the player when it overlaps a backdrop.

    This is because a loop should always move the player by one pixel not 1, 2, or 3, because this will create gaps which happen in your example.
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/7RNXFrC
    Dungeon Raiders! - Link soon™

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2017
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fantastic, that worked perfectly. Thank you!

Similar Threads

  1. The top of my head is sticking to the ceiling
    By Bijhan in forum The Games Factory 2 - Technical Support
    Replies: 11
    Last Post: 14th May 2010, 11:48 PM
  2. Sticking together?
    By JGooler in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th May 2008, 11:41 PM
  3. [CPM] Player characters sticking to each other
    By LuZeke in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th January 2008, 08:38 PM
  4. Sticking animation
    By JoOCoGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd January 2008, 11:21 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
  •