local storyboard = require(“storyboard”)
local scene = storyboard.newScene()
local function goback(event)
storyboard.gotoScene(“scene1”)
end
local startup = display.newText(“CLICK ANYWHERE TO START”, 0, 0, native.systemFontBold,20)
local warning = display.newText("DONT FORGET THE NARWHALS A RAGING DIABETIC ", 0, 0, native.systemFontBold,20)
startup.x = display.viewableContentWidth /2
startup.y = display.viewableContentHeight / 2
warning.x = (display.viewableContentWidth /2)
warning.y = (display.viewableContentHeight / 2) + 50
Runtime:addEventListener(“touch”, goback)
return scene
can someone tell me why this code will not go back to scene1 when i touch (quick reminder I am very new so I am not fully aware of the ins and outs of story board)