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.

AppGameKit Classic Chat / Pathfinding tutorial

Author
Message
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
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!

Srry about my english im from sweeden
JHA
20
Years of Service
User Offline
Joined: 30th Dec 2003
Location: Massachusetts, USA
Posted: 8th Sep 2011 17:51 Edited at: 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
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
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...

Srry about my english im from sweeden
JHA
20
Years of Service
User Offline
Joined: 30th Dec 2003
Location: Massachusetts, USA
Posted: 8th Sep 2011 18:08
Sorry about that. Maybe IanM will see this link and lend a hand....
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 8th Sep 2011 18:09
Yes hopefully

Thanks for helping though!

Srry about my english im from sweeden
JHA
20
Years of Service
User Offline
Joined: 30th Dec 2003
Location: Massachusetts, USA
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
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 8th Sep 2011 18:44 Edited at: 8th Sep 2011 18:45
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

Srry about my english im from sweeden
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
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
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 8th Sep 2011 19:50
Thanks, i'll have a look at it tomorrow!

Srry about my english im from sweeden

Login to post a reply

Server time is: 2024-03-28 09:13:02
Your offset time is: 2024-03-28 09:13:02