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 / A Star Pathfinding help

Author
Message
Doorman
9
Years of Service
User Offline
Joined: 12th Sep 2015
Location:
Posted: 12th Sep 2015 13:21
Hi,

I'm trying to implement a grid based path finding algorytham called A Star. There is a tutorial here on it http://www.policyalmanac.org/games/aStarTutorial.htm however I'm stuck at the point where "a list is made"

How do you go about making lists of things in AGK. Lists you can sort. I don't want to have to use multiple arrays if I can avoid it but I suppose that may not be possible.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 12th Sep 2015 18:52
Read the help section on "Arrays in AppGameKit 2"
This explains all of the new functions available to arrays including sorting and inserting values.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Login to post a reply

Server time is: 2024-09-29 05:26:01
Your offset time is: 2024-09-29 05:26:01