User Tag List

Results 1 to 6 of 6

Thread: Pathfinding on a grid?

  1. #1
    No Products Registered

    Join Date
    Feb 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pathfinding on a grid?

    Hello

    The map is based on a 32*32 grid. The character can only move up and down.
    How would pathfinding here work?

    I tried the pathfinding object. But i can't seem to get it work properly.
    Also, can you add only one thing as an obstacle?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    You could use the Advanced Path Finding object. It comes with some easy-to-understand examples

    Since the character can only move up and down, it would mean you should mark all the cells in the pathfinding-map that is at the left and right of the character as non-passable.

  3. #3
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've done this before with the path finding object, it took a bit of trial and error but I got it to work. I would tell you how to do it yourself but I don't know how your grid system is programmed.

  4. #4
    No Products Registered

    Join Date
    Feb 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, i meant the character can move up, down, right, left.

    I don't have any examples or help file in my Fusion directory.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    The Advanced Pathfinding Extension with examples can be found here. You will need .NET environment installed for using it, though, so you will have to decide if it is worth it.
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=69250#Post69250

  6. #6
    No Products Registered

    Join Date
    Feb 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, i just spent hours to get the advanced pathfinding object to work. It is working.... but the units run through obstacles.

    Hours later and not any further with my enemy 'AI'.

    This is demotivating.

    Thanks for trying to help though!

Similar Threads

  1. 2.5 pathfinding
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 8th December 2013, 12:20 PM
  2. A* pathfinding
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th September 2013, 09:44 PM
  3. Pathfinding Or?
    By Nathanial_B in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st February 2012, 06:14 AM
  4. Multiple grid pathfinding
    By uprize in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 1st April 2007, 11:59 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
  •