Delay Default.png an extra second?

Is there a simple way to display the Default.png for an extra second?
[import]uid: 3715 topic_id: 442 reply_id: 300442[/import]

You could write your own loader like

function loader ()
local splash = display.newImage(“splashscreen”,fooX,fooY)
splash:scale( 0.1, 0.1 )
transition.to( splash, { time=1400, xScale=1, yScale=1, transition=easing.inQuad } )
timer.performWithDelay(2400,main,1);
end
loader() – no default, just load a splash screen, then wait 2.4 secs.
Carlos [import]uid: 24 topic_id: 442 reply_id: 848[/import]

You could always just load the Default.png yourself and then remove it, e.g.

local defaultPng = display.newImage( “Default.png” )
local function removeDefault()
defaultPng.parent:remove( defaultPng )
end
timer.performWithDelay( 1000, removeDefault )

One benefit of this approach is that the user will perceive startup times to be shorter b/c the iPhone will auto load/zoom the Default.png for you. [import]uid: 26 topic_id: 442 reply_id: 916[/import]

Hi…

Does your code work with an iPad in Landscape mode @ startup?

Here is my revised code that does not pause the splashscreen at all.

Thanks.

[lua]local defaultPng = display.newImage( “Default-Landscape.png” ) – default iPad Splashscreen Image
local function removeDefault()
defaultPng.parent:remove( defaultPng )
end
timer.performWithDelay( 3000, removeDefault ) – pause 3 seconds[/lua] [import]uid: 64343 topic_id: 442 reply_id: 43149[/import]

Sorry… my bad. The iPad code above works perfectly…

I was loading it behind the main screen background layer.

[import]uid: 64343 topic_id: 442 reply_id: 43213[/import]