User Tag List

Results 1 to 7 of 7

Thread: How do I get the character to slide down surfaces, not stick to them?

  1. #1
    No Products Registered

    Join Date
    Sep 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy How do I get the character to slide down surfaces, not stick to them?

    So far I have it so that my character stops whenever he comes into contact with another object. But whenever he hits a wall from the side or something, he sticks to it rather than sliding down it. This, I think, is because he is told to simply stop rather than simply not being able to go any farther in the x direction. How can I fix this, though? I don't want to have to build my whole game around some lousy gimmick like this...

  2. #2
    Clicker Multimedia Fusion 2
    Wolfking_Warrior's Avatar
    Join Date
    Aug 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've had something similar happen to me when I was experimenting.
    Because the character/object changes its animation, it sticks a part of it into the wall.
    You can probably alter the animation slightly to change this.

    Another way is to set it so that when the object's X coordinate is above or below a number, or the frame, you can set it to stop, or bounce.

    Hope this helps.

    Wolfking_Warrior

  3. #3
    No Products Registered

    Join Date
    Sep 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On a related note, how can I allow a character (in a different game) with platform-style movement to jump and not go through objects but not stick to objects he hits from the bottom? There must be a way; I've seen platformers made on MF2.

  4. #4
    Clicker Multimedia Fusion 2
    Wolfking_Warrior's Avatar
    Join Date
    Aug 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could have a sensor above the character, and when the sensor overlaps the block, and the player collides with the block, the player's Y coordinate locks. (You could have it set to static or something.)

    By the way, do you have MMF2?

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    There is also an extension for the full version of MMF2 called the Advanced Platform Movement - it is far superior than the built in platform movement, and doesn't cause any of the problems you are mentioning here. I don't think you can use it with the demo though. :/

  6. #6
    No Products Registered

    Join Date
    Sep 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, I have the full version. How could I add such an extension?

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    http://www.clickteam.info/ev/ev_setup.exe

    The link was located on the right side of the forum's home page

Similar Threads

  1. Performance problems with surfaces
    By 2xD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th February 2013, 07:37 PM
  2. Slide Scrolling example
    By RhysD in forum iOS Specific Example Files
    Replies: 12
    Last Post: 29th October 2011, 04:48 AM
  3. Need help with surfaces
    By Retriever2 in forum Extension Development
    Replies: 2
    Last Post: 10th November 2009, 02:04 AM
  4. Capture 3D surfaces with a flash camera
    By Tuna in forum Hardware Accelerated Runtime
    Replies: 1
    Last Post: 27th August 2008, 11:33 PM
  5. Surfaces
    By Ben in forum Extension Development
    Replies: 4
    Last Post: 24th August 2007, 11:20 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
  •