User Tag List

Results 1 to 10 of 10

Thread: Movement Assistance

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Location
    Eureka, CA
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Movement Assistance

    So, I'm making a game. My character gets caught on backdrop objects a lot, like he'll jump and his chin will make him hang off the edge of something. Any pointers on how to fix this? I'm sure it's something simple I'm not seeing.

    Also, I need assistance on making him slide down a slope rather than getting caught on it. Should I just go with a simple object for the slide action?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'd best use the Platform Movement object, instead of the default platform movement. There are some examples in the C:\Program Files\Multimedia Fusion 2\Examples\Platform Movement\ folder.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Location
    Eureka, CA
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I'll look into it. So far I've had nothing but problems with that object though.

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I think the problem is because of the animations of the character and the pixels overlapping. To solve this, you need to use a custom platform movement or use the platform movement object. Make a square active the size of your character and set it to be invisible, use this for the actual player movement. Then just always center the player animation to 0,0 relative to the invisible active. What this does is make it so that only the square is used for collision detection as opposed to the irregular graphics of the player animation, so you won't have problems with chins getting stuck, etc. This also means you'll have to start and stop animations manually using player input (start walking animation if player is pressing right or left, etc). It's a bit more work, but it solves everything.

    Actually, it would still work with the built in platform movement if you set the invisible active to be the player. You'd still have to do all the rest though.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Location
    Eureka, CA
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Shawn. I'd assumed it would be something along those lines. I'll work on the collision detection then.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Location
    Eureka, CA
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HAHA! I did it! I went with a similar principle. I simply took the character, made a cloned object of him, set it to invisible and made it so that the original was a static object. Then I deleted all the programming (which was set to embedded behaviors for the character) in the original and set it to always have the position, direction and animation as the invisible one. Solved all my problems with little to no time. Thanks for the concept Shawn!

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Location
    Eureka, CA
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm.. nevermind.. he still seems to be falling through objects...

  8. #8
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Did you make it so that it was a perfectly square object?

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Location
    Eureka, CA
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, no, not quite. I also didn't use the new collision object. I'll try doing the square part first.

  10. #10
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    One other thing you might try doing on the player object if you don't want to do the hidden collision detector is try unchecking "Fine Detection" in the properties window for the player object. It's listed under Runtime Options in the Properties window. It might not work though if your player has different sized animations when walking or performing actions, it could cause your player to still get stuck on things when the object changes animations. You'd just have to test it out.

Similar Threads

  1. File Object Assistance
    By UKDesign in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st October 2012, 12:33 AM
  2. Relatively new MMF2 user looking for assistance
    By Hilex224 in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 20th August 2012, 02:47 PM
  3. Assistance with Surface Object
    By GameDragon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th September 2011, 10:18 PM
  4. Need some last assistance with scoring system...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th October 2010, 11:10 PM

Posting Permissions

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