Hello, I’m working on the tutorial at http://docs.coronalabs.com/composer/tutorial.html and found a snag related to the perspective library’s add method. Here’s the code in question:
camera:add( gameGroup, 1)
Which results in the error shown in the attached screenshot.
The reason this is happening is that the tutorial is missing a step: you need to create a Group in Composer. In this case, the group name is ‘gameGroup’. Then you need to drag all of the non-background objects into this group. Once that is done and the composer scene file is saved, everything works just fine. I hope this helps!