Talk:Path Finding Tutorial
From Gardenwiki
- I carelessly left a small bug in the provided code. Currently tie breaking is not handled properly so the resulting path, while correct, may look inefficient. I'll have it fixed shortly. Nocens 09:47, 12 December 2006 (PST)
- Added the estimateDistance function to fix this. The resulting path should now prefer to follow a path with a minimal straight line distance. Nocens 16:15, 13 December 2006 (PST)
- Currently working on an A*Tutorial project for Game Gardens to demonstrate a full implementation of these classes without the confusion and additional features of BlockadeRunner. Nocens 16:15, 13 December 2006 (PST)
- Code samples updated to match the tutorial. The tutorial itself will be on Game Gardens as soon as I give it a nice UI. Still needs a generic replacement for the TutorialMapNode class and to update findPath() such that the A* algorithm is able to use different values for node costs. Nocens 12:04, 15 December 2006 (PST)