What i did make wrong ?

Dear Community,

What i made wrong: i cant see any picture: 

local storyboard = require ("storyboard") local scene = storyboard.newScene() function scene:createScene(event)      local gameGroup = self.view     local bg = display.newImage("interface.png")     gameGroup:insert(bg) end function scene:enterScene(event)     local gameGroup = self.view end function scene:exitScene(event) end function scene:destroyScene(event) end scene:addEventListener("createScene", scene) scene:addEventListener("enterScene", scene) scene:addEventListener("exitScene", scene) scene:addEventListener("destroyScene", scene) return scene  

thanks

matthias schanzenbach

Are you sure the filename is correct and it exists in the same directory as main.lua?

is that your main.lua or some other scene file?

If it’s some other scene file, can you post your main.lua?

If it’s your main.lua, then you need to move that code to a new file, maybe call it “scene.lua” and put the right code in your main.lua to load it:

local storyboard = require("storyboard") storyboard.gotoScene("scene") -- assuming you named your file "scene.lua"

Are you sure the filename is correct and it exists in the same directory as main.lua?

is that your main.lua or some other scene file?

If it’s some other scene file, can you post your main.lua?

If it’s your main.lua, then you need to move that code to a new file, maybe call it “scene.lua” and put the right code in your main.lua to load it:

local storyboard = require("storyboard") storyboard.gotoScene("scene") -- assuming you named your file "scene.lua"