Hello again!
I'm taking a break from Sprites and graphics for a bit and working on the navigation of the application. And I'm having trouble with setDirectorType.
I'm working with a navigation bar. When I first navigate to the view that uses cocos2d it works fine, but when I go back and navigate to it again, it gives me the following error:
*** Assertion failure in +[Director setDirectorType:]
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'A Director was alloced. setDirectorType must be the first call to Director'
I do all my setup regarding the Director and Sprites in the viewDidLoad method of the view controller for the view that is accessed through the navigation bar.
Thanks so much for your help.