The crash report output is telling me the problem is the gotScene in my main lua which goes to my menu screen. Am I missing something from my main.lua? I’m perplexed because it works fine in the simulator.
Thanks, Lori
My main Lua:
– main.lua
local centerX = display.contentCenterX
local centerY = display.contentCenterY
local _W = display.contentWidth
local _H = display.contentHeight
display.setStatusBar( display.HiddenStatusBar )
local composer = require “composer”
composer.gotoScene(“menu”, “fade”, 1000)
The Device Output telling me:
25 14:10:45 Loris-IPAD Ball Buddy 1.0[406] <Warning>: Runtime error
loop or previous error loading module 'menu’
stack traceback:
[C]: in function ‘error’
?: in function ‘gotoScene’
/Users/owner/Desktop/Ball Buddy 1.0/main.lua:22: in main chunk
Apr 25 14:10:45 Loris-IPAD Ball Buddy 1.0[406] <Warning>: Runtime Error: Runtime error: loop or previous error loading module ‘menu’
stack traceback:
[C]: in function ‘error’
?: in function ‘gotoScene’
/Users/owner/Desktop/Ball Buddy 1.0/main.lua:22: in main chunk
Apr 25 14:10:45 Loris-IPAD locationd[59] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Apr 25 14:10:45 Loris-IPAD locationd[59] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Apr 25 14:10:50 Loris-IPAD locationd[59] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0