Director Class and Graham's Camera Module

Has anyone used Graham Ranson’s awesome Camera module in conjunction with the Director class or Storyboard?

I’m trying to add the Camera view to the localGroup, and I’m assuming localGroup:insert( camera:getView() ) is the way to do it, but when I perform a changeScene, I’m probably not doing the cleanup properly, as I’m getting some unexpected results:

  • if I change the scene to a different .lua file, it seems to freeze and never get to it.
  • if I change the scene to the same .lua file, it loads, but I see remnants of the last scene still in view.

I tried using the camera:cleanUp method before the director:changeScene method and it also freezes up the app.

So, ultimately, am I properly adding the Camera view to the localGroup properly, and how do I properly clean up and delete the contents of the Camera view? I’ve tried Director class versions 1.3 and 1.4 with the same results - is it an issue with the Director class, or has anyone tried the Camera module with Storyboard?

Thanks to both Graham and Ricardo for great modules. [import]uid: 6084 topic_id: 27905 reply_id: 327905[/import]