Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Realtime Pathfinding Help!

Author
Message
Dark Dragon
19
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 9th Apr 2010 17:35
Hey all! Well, I have hit a snag. I was developing a pathfinding system for a project, and well, failed. I'd tried 4-5 Rewrites, Then tried to understand A*, and that didnt work. Then, I stumbled across the flood fill method, and couldnt quite get it to work either.....I also searched the fourms, but all I found was too slow and hard to implement into my own project(IanM's was just too hard to implement,confusing, it may have worked, looking at the example....)....What I was wondering was if someone had a pathfinding Library or something laying around that could find paths for AI in realtime? The whole game is 2-D and tile based, if that helps.

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 9th Apr 2010 17:58
Have you tried the A* path-finding DLL?

TheComet

Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 9th Apr 2010 18:33
Try this:
http://forum.thegamecreators.com/?m=forum_view&t=167511&b=5

The fastest code is the code never written.
Dark Dragon
19
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 9th Apr 2010 18:42 Edited at: 9th Apr 2010 19:02
@ The Comet

No, Never knew that existed . Will try, downloadin' now........

@ Hawkblood

Will give a spin after i try the dll..

Thank you very much.


:::::::::::::::::::EDIT:::::::::::::

It seems the Dll is what I need.



@HawkBlood
I'll still test yours tho, just wait a little while.

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )
Dark Dragon
19
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 10th Apr 2010 04:23
Took me hours but...............
The Dll Was exactly what I needed:


Look here:


http://forum.thegamecreators.com/?m=forum_view&t=168439&b=8

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )

Login to post a reply

Server time is: 2026-07-26 15:31:39
Your offset time is: 2026-07-26 15:31:39