Posted: 8th Sep 2011 17:29
Hi, im planing on making a RTS game but then I would need pathfinding and right now I have no idea how to make that. I have looked around on google and youtube and I understand the theory, but im not sure how to implement it into AGK...

Im guessing no one has done this for AppGameKit yet but if anyone has some DBP code that I could look at it would realy help.

For example I have no Idea how to check if a point has a sprite in it.

Thanks in advance!
Posted: 8th Sep 2011 17:51
http://forum.thegamecreators.com/?m=forum_view&t=21957&b=1

Searching for Path Finding on the forums brings up quite a few posts, but this one seems to be pretty good.

Hope it all works out for you!
JHA
Posted: 8th Sep 2011 18:06
Thanks for the link, unfortunley that didn't make it any clearer since it has NO comments inside the code...
Posted: 8th Sep 2011 18:08
Sorry about that. Maybe IanM will see this link and lend a hand....
Posted: 8th Sep 2011 18:09
Yes hopefully

Thanks for helping though!
Posted: 8th Sep 2011 18:41
While I haven't looked through it myself, this link looks promising:
http://www.policyalmanac.org/games/aStarTutorial.htm

I'm headed back to read it now.

JHA
Posted: 8th Sep 2011 18:44
Yes, I saw that one to, and I think I understand what's in it... But im not sure how to check if you are supposed to use evry AppGameKit point as Possible square or make some kind of grid system... And things like that
Posted: 8th Sep 2011 19:31
You could convert my code ?
I made it a while back when i bought an ai programming book.
Its for dbp and should be easially converted to the agk?
I have planned to do it my self later on but are to lazy right now
It have alot of rem statements

http://www.thegamecreators.com/?m=codebase_view&i=e888d127db839a5c88cab4ee18288f58
Posted: 8th Sep 2011 19:50
Thanks, i'll have a look at it tomorrow!