hi,
happy new year to everyone!
i got trouble to load splash.lua, i use it to make intro, to show the studio name before getting to the menu.
here is the main.lua
[lua]-- hide the status bar
display.setStatusBar( display.HiddenStatusBar )
– include the Corona “storyboard” module
local storyboard = require “storyboard”
– load menu screen
storyboard.gotoScene( “splash”, “fade”, 500 )
storyboard.isDebug = true[/lua]
here is the splash.lua
[lua]-------------------------------------------------------------
–
– splash.lua
–
local storyboard = require “storyboard”
local storyboard = display.newImage( “dreamscape.jpg” ) --Your splash image
local gotonextscene = function()
storyboard.gotoScene( “menu”,“crossFade”, 500 ) --Your next scene
end
local sceneTimer = timer.performWithDelay( 3000, gotonextscene, 1 ) --Splash timer[/lua]
the splash.lua file is in the same folder as main and menu
i don t understand why it s not loading properly! can someone point me out?