User Tag List

Page 10 of 21 FirstFirst ... 8 9 10 11 12 20 ... LastLast
Results 91 to 100 of 205

Thread: Easy Pathfinding Widget (extensionless)

  1. #91
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Chrille's Avatar
    Join Date
    Jul 2006
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm familiar with AGS, and in fact at one point I started making an adventure game in Fusion with its own node-based pathfinder. It didn't turn out very good though so I scrapped it.

    Schrodinger's pathfinder is intended for grid-based movement, so to adjust that to fit your typical adventure game isn't going to give optimal results (and alot of work for schrodinger ). I did a quick search for adventure game pathfinding, and found something that I guess could be adapted to Fusion.

    http://www.groebelsloot.com/2015/12/...inding-part-1/

  2. #92
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    That's a very interesting link on graph-nodes pathfinding
    Yeah I agree, I don't think a grid based system is perfectly suited for adventure games.

    Anyway, I had a couple pretty quick idea to tweak latest example,
    and so had another go meanwhile
    take a look MEHRDAD, should *possibly* do what you requested *maybe*...?

    easy_path_widget_avoid_player_1.mfa

    - no overlapping (will you have more than one chaser?)
    - delayed start
    - chaser stops some cells before

    This *should* be safe for mobile,
    as I've delayed pathfinding loops not to happen before 15 cycles pauses each,
    but please thoroughfully test if you want to use it!

    Again, I don't think it's a very clean solution for an adventure game
    (i.e. sometimes you see bugs "changing their mind",
    that's because a path suddenly gets closed by the other moving bug, but then becomes open again)
    but who knows...

  3. #93
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks again for another update .
    It's great . But... yes for close areas we have stop but not freeze and it's good .
    If you don't mind please let me more test for get cleaner suggestions or issues.

    Edit:
    1) Bug: If chaser overlap with target , character stop in current location and turn to left and right
    2) Chaser is always stand back of character. Sorry but previous examples was perfect . Only problem was pass together that solved in this update

    3)
    will you have more than one chaser?
    I write it again : Do you want more than one chaser?
    Yes Of course

  4. #94
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    1) ok this can be fixed (chaser being detected as obstacle the player doesn't know how to get to target location)

    2) mmm don't fully understand this. You mean that the chaser is always behind the character?
    This shouldn't be so, it has delayed start, but its final destination is a couple steps behind the target location.
    You prefer some random cell around target location instead?

    3) bad news ... how many? My concern is always android runtime. Too many loops could break the system


    Just so I know if we are getting to a satisfactory solution for you,
    or if you would need to try something else:
    if above issues would be solved... would this suit your needs?

  5. #95
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1) Please fix it
    2) Yes random cell around target location with random direction with 1 or 2 or 3 empty distance from main character.
    In front or back or another locations relative to main character.
    3)At least 3 chaser

    Yes Schrodinger, I don't see any new features if you fix this bugs and issues.
    Because your engine is perfect and enough for start game at the moment.

    I'm appreciate for your hard works.

  6. #96
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    And this is your latest request:
    easy_path_widget_avoid_player_2.mfa

    three chasers (flag 5 ON= chaser), trying to avoid themselves and the player,
    getting a randomized destination in the range of 3 cells from target location

    I'm sure some buggy situation will pop out in there
    be sure to test on Android

    Don't know how much (if) this can be improved further...
    not without changing approach probably,
    maybe think of applying some creative "hard fix" if needed

  7. #97
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great Schrodinger .
    There is two bugs:
    1) when two chasers are overlapping together or with main character too there is no any move for them anymore.
    2) click on obstacle doesn't work.And nearest Y checking too.

    I don't see another bug. Everything is OK.

    Thanks so much for this great updates.

    Edit : Flash and Android runtime works perfect

  8. #98
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Schrodinger
    I'm working with last update and it had some little bugs so I decided to return back examples when we had two 'bugs characters' and passed together in chase.
    And my question.
    How do I get relative another character like 'goblin' to second 'bug character' without any random choose?
    Thanks

  9. #99
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    Mmmm sorry I don't understand the question,
    you need to "follow the chaser"?

    Or wait.. maybe you need to place another "goblin" character over the chaser bug?

  10. #100
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes I need another character like goblin over the chaser bug.

Page 10 of 21 FirstFirst ... 8 9 10 11 12 20 ... LastLast

Similar Threads

  1. Multiple pathfinding with Pathfinding Object
    By Erkabubben in forum Fusion 2.5
    Replies: 12
    Last Post: 16th July 2017, 07:54 PM
  2. Pathfinding
    By Limyr in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th November 2012, 09:58 PM
  3. pathfinding example
    By method72 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th June 2012, 08:23 PM
  4. 3D menu Widget - Wild Widget Contest entry
    By Czentnar in forum Widgets
    Replies: 16
    Last Post: 26th March 2011, 12:51 AM
  5. The Digit Widget [WIP] (multi-widget)
    By Raylax in forum Widgets
    Replies: 1
    Last Post: 13th December 2008, 11:42 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
  •