Hey all!
I just started using Corona last night and am trying to learn the Lua scripting language it uses… I am having with what I assume is pretty basic function and it’s starting to bother me.
So I have a splash function to display a splash screen for 2 seconds then move on to the title function to display the title screen. The title screen uses transparency so when it displays it is displaying over top of the splash screen which remains on the screen. I thought the proper way to prevent this from happening would be with splashScreen.isVisible = false; but that doesn’t seem to do anything for me.
[code]-- ************************************************** –
– title screen
title = function()
local titleScreen = display.newImage(“images/title.png”)
end
– ************************************************** –
– splash screen
splash = function()
local splashScreen = display.newImage(“images/splash.png”)
timer.performWithDelay(2000,title,1)
end
– ************************************************** –
– main function
main = function()
display.setStatusBar(display.HiddenStatusBar)
splash()
end
– ************************************************** –
– start
main()[/code]
Thanks! [import]uid: 10267 topic_id: 2905 reply_id: 302905[/import]