User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Pathfinding Tutorial for MMF2

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pathfinding Tutorial for MMF2

    This is a simple tutorial/example for all to show how to make a pathfinding in a game.

    This tutorial/example has :
    - Automatic creation of the pathfinding map with obstacle backdrops in the frame
    - Support for different obstacle shapes
    - Linear (simple) interpolation for the playable character.
    - You can param the size of the cells
    - The grid is displayed to show how pathfinding works
    - Shapes examples to show us when the pathfinding extension can crash the program

    Enjoy
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    Sphax
    This is a helpful example, for whatever reason the pathfinding object is a little difficult to figure out so a good tutorial was needed.

    I was happy to see the feature to allow different grid locations to have different movement costs get added in the MMF2 version of this object. However, I have been unable to actually figure out how to get this work properly. I modified your example to change obstacles to instead be high-cost path cells. I would expect the path finder to rarely cross the grey areas because they are very high cost (200) vs normal cells with cost of 1. But, it does not seem to happen. See attached example. If we could get this to work, it would a helpful addition to the tutorials for this object.
    Attached files Attached files

  3. #3
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    Maybe this feature of this object don't work at all... I've saved the bitmap file of the map generated and I obtain a white one with your example (no obstacle) and a black one with mine (all obstacle). I don't understand why this don't work...

    For doing this before MMF2, I used Grid object of Moktar M.Korshid which was better.

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    Wow!!
    It's great! Very helpful example.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    Nice news, the new version of the Pathfinding object by z33z works well with cost obstacles and don't crash with the special shapes in my example.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    Sorry, do you mean to say there is a newer version of pathfinding that overcomes the above issues? Is this in the z33z extension pack or downloadable elsewhere? I thought I was up to date.

  7. #7
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    However, even the new version doesnt fix the problem with maps above 250x250.. Setting zones to any value doesnt work for numbers like 270,270 to 280x280. This should be fixed soon

  8. #8
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    So is there a way to do these for multiple objects, not hardcoded? I could do it in mmf1 but I don't see the path naming feature in this one.

    Edit: And the new version still crashes.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    The new version of pathfinding object will be released soon in the z33z bonus pack. Just be patient.

  10. #10
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding Tutorial for MMF2

    Are you not talking about http://www.clickteam.com/webftp/files/mmf2/Exts/MMF2z33zExtPack.exe ?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 7th January 2013, 12:35 PM
  2. Advanced Pathfinding Object Tutorial
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 9th June 2011, 03:23 PM
  3. Pathfinding Tutorial for MMF2
    By Sphax in forum File Archive
    Replies: 2
    Last Post: 11th February 2007, 09:51 AM
  4. Multiple pathfinding tutorial for MMF2
    By integrality in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd September 2006, 11:27 PM
  5. Pathfinding object MMF2 (beta)
    By z33z in forum File Archive
    Replies: 23
    Last Post: 12th August 2006, 08:41 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
  •