Directions to location

I check the forum and I did not find anyone talking about this. I am an experienced flash/PHP programmer but I am new to Corona.

I need to develop an app for a client that shows a map of a museum and when a user taps a location the app will draw a line to that locations giving the user the shortest route to it.

Any help pointing me to a tutorial and docs on functions to assist me would be wonderful.

Thank you. I am excited to begin working in Corona.

Rick

Hi Rick,

I imagine you're looking for a AI/path finding algorithm which is commonly used in games that breaks an area down into a grid and calculates a path. You can then draw a line along that calculated path.

Since it isn't Lua/Corona specific, your best bet is to Google search pathfinding for games. Here is a link you can look at: http://www.policyalmanac.org/games/aStarTutorial.htm. Hope that helps.

This post probably belongs in the Developer Support area since it's not a feature request.

Thank you very much for the info. I love Corona and this forum is amazing.

views:2208 update:2011/9/17 17:37:00
corona forums © 2003-2011