Game Development Reference
In-Depth Information
}
catch
(Exception e){
e.printStackTrace();
}
}
}
If there are chasms, rocks or other obstacles on the way, how would you determine the
best path efficiently? You may need to know A Star (A*) algorithm, a commonly used
pathfinding approach in game programming. Find the article
A-Star Pathfinding Algorithm
Search WWH ::
Custom Search