User Tag List

Results 1 to 4 of 4

Thread: Grid Based "node" movement pathfinder?

  1. #1
    No Products Registered

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

    Grid Based "node" movement pathfinder?

    First off, i dont know how to explain what i need.

    Step 1,

    ill give you some example maps.

    http://img17.imageshack.us/img17/704/img004mox.jpg

    Step 2,

    i need to convert those maps to some sort of data object, isometric grid.. 3d array, basic array. whatever is easiest to edit OUTSIDE of the program. (i have a ton of maps to include)

    Step 3,

    take note that each grid "room" has a number.

    Step 4,

    Pathfinding!!!
    I need to have multiple objects find their way through those maps to a destination, like this:

    a. Finds the room object 1 is in
    b. Finds the best path for object 1.
    c. Moves object 1 from its room, into the next room and pauses until you press a button.
    d. Finds the room object 2 is in
    e. find the best path for object 2.
    f. moves object 2 from its current room into the next room until you press a button

    etc...


    Must haves:

    Displays current object and current room# and the last room# that it was in and how many steps there are left for each object until they both arrive at the destination.

    Preferrably in an edit box that displays "status", and scrolls automatically to show you what the program is currently doing.

    I have no idea how else to explain this, so hopefully someone will understand


  2. #2
    No Products Registered

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

    Re: Grid Based "node" movement pathfinder?

    If you want to edit/make maps outside of your program use an ini file, but I would suggest making a map editor of your own and storing values in an array object.

    Pathfinding can be done with the Advanced Pathfinding Object. It allows you to walk across multiple 'maps' which mean you will have to define each map individually and then objects can walk between maps.

    You wont find an example showing exactly what you want. You are best to look through examples/tutorials and do lots of experimenting to work out what will suit your needs. Also if you are new to MMF I would suggest trying something easier initially until you get used to using mmf and how events work etc.

  3. #3
    No Products Registered

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

    Re: Grid Based "node" movement pathfinder?

    Im definatly not new to MMF.

    However in all the tutorials i have found, i havent found anything that will work.

    Basically, all i need is for multiple objects to enter a grid, display that grid information, and wait for the command to move to the next grid, which is determined as the bext possible route from the first grid that i give to the next grid.

  4. #4
    No Products Registered

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

    Re: Grid Based "node" movement pathfinder?

    The APF object will do what you want. There is examples in the examples folder. I very much doubt you will find an example doing exactly what you want to do, but if you look enough and look at a few different examples you will find a way that will work eventually. As mentioned in my post above its a matter of trial and error, examples will only give you a head start to finding the solution.

Similar Threads

  1. Turn Based "Worms" Game.
    By Ryan9171 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th September 2012, 05:37 PM
  2. 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, 08:10 AM
  3. "Path Find" & "Advanced Path Movement" extensions
    By kikiriki in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 8th April 2010, 09:59 PM
  4. Recommended setting of "Timer-based Movements"
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th December 2009, 04:23 PM
  5. Please teach "Timer-based movements".
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th June 2009, 10:56 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
  •