Tutorial: Self Navigating Game Actors In The Corona SDK

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.

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail

Leave a Reply

Your email address will not be published. Required fields are marked *