Pathfinding is a very often talked about aspect of game development. There are times when you want to go beyond basic predictable pathfinding and have the characters in your game move around in a dynamic, life-like manner.
Brandon Trebitowski has created a short tutorial along with some sample code demonstrating some of the algorithms that can be used to create this sort of movement. This code implements the absolute basics of autonomous steering behavior, and the results look pretty good.
Here’s a video demonstrating this idea in action:
You can see Brandon’s tutorial on his site here:
Autonomous Steering Behaviors In Corona SDK Games
The code and tutorial make a good starting point if you want to implement this more advanced pathfinding behavior.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.