I have a problem in Corona SDK , it does not delete the objects in "level1" then when I move to "level2", then I found that objects in the background of level2
I use this command to move to level2:
.gotoScene ("level2", "slideRight", 250),
And the at the beginning of level2 I use this command
local storyboard = require( "storyboard" )
local scene = storyboard.newScene()
-- Clear previous scene
storyboard.removeAll()
after that the problem happen.
I just can see that objects when I use the command
physics.setDrawMode ("hybrid")
How can I solve this problem?