User Tag List

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

Thread: "advanced pathfinding" object tutos?

  1. #1
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "advanced pathfinding" object tutos?

    Im having trouble with this object. for one i cant seem to find any tutorials on it except the default ones, and they dont really say much.

    Im looking for a tutoral that loads a grid map from an array and has somthing to do with nodes, and is able to move from one map to another (like the object claims it can do).

    Does anyone have any examples to show me on how this is done?

    Also, is there any way to use the "node" pathfinding in this object to go from "nodename" to "nodename"?


  2. #2
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "advanced pathfinding" object tutos?

    I dont think the APF object works with nodes as it is grid based.
    I have several tutorials and test engines lying around I will see if I can find somethnig for you, but I wont have anything for moving between maps as I have never had a need to use that feature (yet).
    The examples that come with the object actually shows you everything you need to know, you just need to analyse it and make yourself a test engine so you get used to how it works.

    The cocept is similar to the following;
    1. Define the map size
    2. Define the land type for each cell and the default movement weight (cost). Best way is to fastloop through.
    3. Setup your units. Give them rules such as what land types they can move over, etc
    4. Set up any additional limits/requirements for finding paths, etc

    Thats pretty much it.
    To load from an array its easy, all you have to do is loop through each cell in the array and apply whatever actions to the corresponding cell of the map in the APF.

    You will have to do some experimenting to learn the true power of this object, but once you do its amazing

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "advanced pathfinding" object tutos?

    Kingoftaurus, check out some of the threads I create in the file archive, the connected brick one should help you getting started.

    I don't have time for a detailed example or tutorial but if you put something together I can help you add or fix the code. Just get started.

    Also one of my threads from 2007 or so should show an example of the extension.

  4. #4
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "advanced pathfinding" object tutos?

    ok so being grid based.. that might still work for me. I can get grid movement going with the pathfinding object, exactly as i need it to be. However what i need is for when an object is hovering or occupying a certain grid, <loop> the program knows what that spot in the grid is named. and displays that. pauses. and advances to the next location in the grid upon command. </loop>

    heres what i have so far... but with the wrong object

    http://www.mediafire.com/file/hmyyayjmwk2/Path.rar

  5. #5
    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: "advanced pathfinding" object tutos?

    Would you also zip your file?
    Thanks a lot.

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

  6. #6
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "advanced pathfinding" object tutos?

    http://www.mediafire.com/file/xqwmw4mgjwz/Path.zip

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: "advanced pathfinding" object tutos?

    Where do you download the Associative Array? I can't find it.
    Working as fast as I can on Fusion 3

  8. #8
    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: "advanced pathfinding" object tutos?

    http://www.bumderland.com/objects/

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

  9. #9
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "advanced pathfinding" object tutos?

    Anyone having any progress on this yet? Lol.

  10. #10
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "advanced pathfinding" object tutos?

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Main=11065&Number=7742 6#Post77426

    get the latest file and learn from it how to move with the object. It's not that hard, just make sure you have at least read once throught the whole documentation to get a feeling what is what.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. "Load text file" from "The Edit Object" BUG?
    By MOBii in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th December 2013, 05:43 AM
  2. Issues with "Overlapping an Object / background" and 'User Clicks".
    By redpandagames in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 6th November 2012, 04:41 AM
  3. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM
  4. Question regarding the "Advanced Tab" widget...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 6th July 2011, 12:26 AM
  5. "Path Find" & "Advanced Path Movement" extensions
    By kikiriki in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 8th April 2010, 08:59 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
  •