Hot answers tagged libgdx
Knowing how A* works, it's not always the best choice for open spaces. Sometimes a simple if x>myPos.x then x = x - 1 type of model is fine for what you need to do. What would be better, I'm thinking, is a simple position change model backed up by A* when it finds obstacles. A good source for A* algorithm-type-stuff is: A* Algorithm This is what I used ...
Only top voted, non community-wiki answers of a minimum length are eligible