I will do a print when i get onto my main computer, to answer you question the code above is the scene i am leaving to go to the main menu, if the user decides to play the game and gets the answer correct it goes to scene 2 which works. You may want the main menu code too as that is where the problem occurs going to the previous scene = black screen:
--requires local storyboard = require ( "storyboard" ) local scene = storyboard.newScene() --load sound local click = audio.loadStream('click.wav') --create scene function scene:createScene(event) local screenGroup = self.view titleBg = display.newImage('titleBg2.png') titleBg.x = display.contentWidth / 2 titleBg.y = display.contentHeight / 2 startBtn = display.newImage('play.png') startBtn.x = display.contentCenterX startBtn.y = display.contentCenterY + 20 playtext = display.newText("PLAY", 142, 252, "ARIAL", 16) titletext = display.newText("1 CLUE 1 WORD", 85, 150, "ARIAL", 20) screenGroup:insert(titleBg) screenGroup:insert(startBtn) screenGroup:insert(playtext) screenGroup:insert(titletext) end function scene:enterScene(event) local group = self.view local function onSceneTouch( event ) if event.phase == "ended" then audio.play(click) local previousScene = storyboard.getPrevious() if previousScene == nil then storyboard.gotoScene( "scene1", "slideLeft", 750 ) else storyboard.gotoScene(previousScene) return true end end end function startButtonListeners(action) if(action == 'add') then startBtn:addEventListener('touch', onSceneTouch) end end startButtonListeners('add') end function scene:exitScene( event ) local group = self.view end function scene:destroyScene( event ) local group = self.view end scene:addEventListener( "createScene", scene ) scene:addEventListener( "enterScene", scene ) scene:addEventListener( "exitScene", scene ) scene:addEventListener( "destroyScene", scene ) return scene