User Tag List

Results 1 to 3 of 3

Thread: Active Object Knock Back

  1. #1
    No Products Registered

    Join Date
    Oct 2011
    Location
    rolling on the street
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Active Object Knock Back

    Hello, i'm new to MMF2, please help me with this question.

    In some platform game, when the character contact with enemy, the character get a knock back. How can i do that in MMF2?

  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)

    Re: Active Object Knock Back

    Hi 01lifeleft. I have an example of this on my website. Hopefully it will help.

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

  3. #3
    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)

    Re: Active Object Knock Back

    You'd need to accomplish this with a custom platform movement or the Platform Movement Object. The basic idea for bouncing a character is to just run the jump conditions when you impact with the enemy (that's a very basic explanation). You'd probably need to do collision detection with a hidden detector on the player's feet. Otherwise you'll always bounce when colliding no matter what (assuming that's not what you want to do). Same thing when taking damage. If player collides with enemy and detector is overlapping enemy, bounce. If detector is not overlapping, damage player.

Similar Threads

  1. Back butten to Back stack
    By Froglegs0 in forum XNA Export Module Version 2.0
    Replies: 0
    Last Post: 28th September 2013, 05:33 PM
  2. knock back
    By TheCrimsonTaco in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th September 2012, 11:14 PM
  3. Using Back button in Android Object
    By Kisguri in forum Android Export Module Version 2.0
    Replies: 21
    Last Post: 12th March 2012, 10:41 PM
  4. Moving an AVI object to back of frame
    By The_Hams in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th February 2010, 10:40 PM
  5. Back To Back Samples (Nevermind, I figured it out)
    By Simion32 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th February 2007, 04:54 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
  •