Hello everyone! I’ve used director in all my previous apps (it’s been awesome), but recently I decided to move on to storyboard. In the process of learning its ways, I’ve come across an issue. My graphics from “scene2” are showing up in “scene1” on top of scene1’s graphics. I hope I’m just missing something simple…
Here is what I’ve got goin’ on… It’s simplified, yet it still creates the problem.
[lua]–scene 2
local storyboard = require( “storyboard” )
local scene = storyboard.newScene()
local bob
function scene:createScene( event )
local screenGroup = self.view
bob = display.newRect( 0, 0, 0, 0 )
screenGroup:insert(bob)
bob.width = 300
bob.height = 300
end
scene:addEventListener( “createScene”, scene )
return scene
–bob shows up in “scene1” and “scene2.”[/lua]
So, what am I missing or doing wrong?
Thanks! [import]uid: 39302 topic_id: 30949 reply_id: 330949[/import]