Tutorial: Using The Director Class For Easy Scene Switching In The Corona SDK

I have previously posted about sample code such as the Angry Birds style example, that uses an open source director for scene switching in the Corona SDK. For those unfamiliar with the Director class what it does is act as a scene manager allowing you to easily switch between scenes in the Corona SDK.

This is an extremely useful class, but has changed somewhat since that example, and recently I found a much more up to date example covering the usage of the Director class. It is pretty easy to use, but if you have been trying to work through that old code you might run into some hangups.

You can find a quick tutorial from Omid Ahourai here:
Director (Scene Manager)

Here’s the screencast on the director class from Rafael Hernandez:

There’s also this screencast from Dr. Rafael Hernandez that explains things well:

You can download the director class from Ricard Rauber here:
http://developer.anscamobile.com/code/director-class-10

A very useful tutorial and class fort those looking to implement scene switchin in their Corona SDK apps.

©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 *