Hello!
I have two scenes. The background color of each is different. When I enter a scene, the background color is applied to another scene.
scene1:
.
.
.
function scene:create( event )
local sceneGroup = self.view
display.setDefault( “background”,0.89,0.56,0.27)
end
.
.
.
scene2:
.
.
.
function scene:create( event )
local sceneGroup = self.view
display.setDefault( “background”,0.1,1,0.57)
end
.
.
.
How to preserve the different background color of each scene?