I’m having major problems with Storyboard. I get error-looking messages in my console.
In the console, it appears as following whenever I activate a listener that plays my storyboard feature:
[lua]
–On Startup
Runtime error
?:0: attempt to concatenate global ‘sceneName’ (a nil value)
stack traceback:
?: in function ‘gotoScene’
c:users\shacx\documents\corona project\ill try v 2\main.lua:6: in
main chunkRuntime error
–After clicking the switch on the welcome screen
?:0: attempt to concatenate global ‘sceneName’ (a nil value)
stack traceback:
?: in function ‘gotoScene’
c:\users\shacx_001\documents\corona projects\ill trey v 2\ yea.lua:12: in
function (c:\users\shacx_001\documents\corona projects\ill try v 2\yea.lua:11)
?: in function (?:221)
[/lua]
My code for the storyboards are:
[lua]
local storyboard = require (“storyboard”)
storyboard.gotoScene(“yea”)
[/lua]
That’s it.
What is the problem with these errors?