Sorry for being such a bug and asking so many questions butI am trying to switch from main.lua to menu.lua instantly . This s the code have . This is the error im getting.
Code:
local storyboard = require( "storyboard" ) local widget = require( "widget" ) -- Load Corona 'ads' library local ads = require "ads" -- Hide the status bar display.setStatusBar( display.HiddenStatusBar ) -- The name of the ad provider. local provider = "admob" -- Your application ID local appID = "Bouncy balls" -- load menu screen global storyboard = storyboard.gotoScene( "menu" )
Error:
main.lua:18: ‘=’ expected near ‘storyboard’
why am I getting this there is an = by storyboard and if I put = anywhere else it says enexpected symbol ner that thing that I put the = by. lastly I put global storyboard = storyboard.gotoScene( “menu” )
cause debugger told me to . thank you