I am using the director class for my app. When I open it on my device, a black screen shows for a second or two.
I was wanting to turn this into an image/loading screen before the main.lua file takes me to my home page. Is there an easy way to accomplish this?
Here’s my main.lua file
display.setStatusBar (display.HiddenStatusBar)
–> Hides the status bar
local director = require (“director”)
–> Imports director
local mainGroup = display.newGroup()
–> Creates a main group
local function main()
–> Adds main function
–slideView.new( mySlides )
mainGroup:insert(director.directorView)
–> Adds the group from Director
director:changeScene(“home”)
–> Change the scene, no effects
return true
end
main()
–> Starts our app
Thanks! [import]uid: 42126 topic_id: 23333 reply_id: 323333[/import]
[import]uid: 52491 topic_id: 23333 reply_id: 93458[/import]