User Tag List

Results 1 to 6 of 6

Thread: Directional Collision Detection

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2007
    Location
    Phoenix, Arizona, USA
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Directional Collision Detection

    It's been a long time since I've played with these programs, most of my work was done in the Klik and Play days, but I'm trying to get some more advanced stuff done with MMF2, and I had a problem with something I was trying to do...maybe someone can help?

    My first project just to remind myself how to do everything old and learn the new features, I wanted to make a cheap clone of Zelda II for the NES, if anyone know's this game, or doesn't, it's a sidescrolling platformer with a sword-weilding character who can attack enemies while facing them head-on, jumping up and stabbing them from underneath, or jumping on top of them with a downward stab.

    What I'm having the most trouble with is getting proper hit detection, I've tried fooling it by a collision while pressing a direction (like down for the downstab), but that is really just messing with the character object's natural animations and it's just a mess...

    It would really just solve a lot of my problems if there were a way to dectect a collision coming from a direction or series of directions. Is this possible? I'm sure others have made Super Mario game clones, how did you get the character object to stomp on the enemies properly?

    Thanks very much

  2. #2
    No Products Registered

    Join Date
    Mar 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directional Collision Detection

    I think there may be an extension that does this, but one thing I always used to do in the old TGF days is make an active object that sat invisibly on top of the character object and corresponded exactly to that part of them - say on Mario games, I would have a small active object that corresponded to Mario's feet when he jumped, or on a Zelda game, I would have a seperate object that followed Link's sword. Then, all you have to do is test the collisions on the invisible extra object. This works really well if you do it right, because it means enemies only get hurt by the blade of the sword, and not if they walk into your back while you're doing the animation.

    Hope that helps!

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2007
    Location
    Phoenix, Arizona, USA
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directional Collision Detection

    I will try that, thank you!

    Do you (or anyone else for that matter) know anything of an extension to do that natively?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directional Collision Detection

    Possibly the Detector object by LIJI.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2007
    Location
    Phoenix, Arizona, USA
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directional Collision Detection

    Is that in the LIJI bonus pack?

  6. #6
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directional Collision Detection

    Yes, it is.

Similar Threads

  1. Possible bug in PMO collision detection
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 4th August 2011, 01:56 PM
  2. détection collision
    By graboide in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th December 2010, 05:24 AM
  3. Another collision detection issue...
    By fawfulfan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th August 2009, 08:22 PM
  4. [BUG] Fine collision detection
    By Sphax in forum File Archive
    Replies: 1
    Last Post: 6th August 2007, 09:54 PM
  5. Collision detection
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st April 2007, 04:50 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
  •