User Tag List

Results 1 to 8 of 8

Thread: Player shakes on collision with wall.

  1. #1
    No Products Registered

    Join Date
    Sep 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [SOLVED] Player shakes on collision with wall.

    When the player pushes against the wall, they shake.
    The 'code' is:
    4t2I3sg.png
    Any work around to this?

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Back the player one or two pixels away from the wall then stop.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    No Products Registered

    Join Date
    Sep 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That didn't work. By the way, this is an RPG.

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Would you upload the mfa so we can look at the events?

    Thanks,
    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    No Products Registered

    Join Date
    Sep 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    (download link deleted)

  6. #6
    Clicker Fusion 2.5Android Export ModuleFirefly 3D Module

    Join Date
    Sep 2010
    Posts
    577
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I usually do like this. Always + character is NOT overlapping obstacle. Set x coordinate to alterable value1 and y coordinate to alterable value2 and when he do overlaps the obstacle just put his x and y position relatively to the alt. values . That prevents the "earthquake effect" you get for scrolling frames. I usually have only one large active object as an obstacle though that covers the playareas. I draw them like masks.

    It might not work so well if you have several small obstacle objects. Maybe if you use quick backdrops and instead have "not overlapping with background" and "overlapping with background" but i never tried it so i don't know if that's an option. Hope that helps at least :-D

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    in the player properties "movement" tab, check the option "stick to obstacles"

    this should be enough for your needs

    builtin movements are known to suffer from such issues,
    if you need something more specific, you could search the forum for "custom movements"
    (or use some ingenious workaround like Klownzilla suggested )

  8. #8
    No Products Registered

    Join Date
    Sep 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    in the player properties "movement" tab, check the option "stick to obstacles"

    this should be enough for your needs
    Thank you SO MUCH, that worked! I'm gonna put solved up on the title now.

Similar Threads

  1. Small Wall Collision Problem
    By KryFuZe in forum Fusion 2.5
    Replies: 2
    Last Post: 1st July 2016, 06:33 PM
  2. Replies: 2
    Last Post: 10th January 2016, 07:53 PM
  3. How to make player bounce back when hitting wall?
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2013, 08:56 AM
  4. OpenGL, 3D game and collision with wall
    By Grim in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 19th April 2011, 03:45 AM
  5. Bouncing object avoids collision (past wall)
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th May 2010, 04:07 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
  •