Interesting "new iPad" scene loading speed difference. How can I cater for this?

Taking the same “StoryBoard / Scene” driven game and running it on an iPhone 4 and the new iPad… the iPhone loads scenes noticeably faster than the new iPad.

The most logical reason for this is because even though the game does not have full iPad resolution images, the iPad/Corona is still up-scaling all the images to the appropriate resolutions - and this is possibly what’s eating up the time.

Just a first guess. I could be wrong.

So anyway, regardless of what the reason is, what can I do to make my scenes load at at least the same speed as the iPhone?

Options…

  1. Will including full resolution images help? - possibly faster to load a full HD image than to load a medium one and up-scale it?

  2. Possibly a new Corona function “storyboard.loadScene”, which can pre-load the scene but NOT goto it? This would result in a sceneCreate event if the scene is not loaded yet, else nothing, so that when I DO call a storyboard.gotoScene then it will happen faster as it doesn’t have to load all scene objects first.

When I started writing this I didn’t think about number 2 above (the new function), but it really does make a lot of sense now and so this is posted in the feature request section as opposed to the developer section.

The function as-is would be excellent and all I need right now.

Maybe others with large scenes might want a built in way to send a PERCENTAGE value back to the caller via an event, representing the loading status of the scene.

Just as a last comment, this all becomes VERY useful when 2 scenes have the same *look* and you want to switch from one to the other almost instantly (no fade delay).

EDIT: Case Number #12954 [import]uid: 126708 topic_id: 23530 reply_id: 323530[/import]

FYI: The storyboard “delay” issue has been fixed and should appear after daily build 2012.768 (and not 2012.704, which is a patched public release to support iPad 3). [import]uid: 52430 topic_id: 23530 reply_id: 94619[/import]

Many thanks. I look forward to that next build.

I do still have a use for a storyboard.loadScene though.

All the greatest and most modern games are trying their best to do away with loading times all together. Having the power to pre-load the next scene while showing a hi-score table or something would be brilliant because as soon as the user clicks to go on, the next level can pretty much be shown instantly. [import]uid: 126708 topic_id: 23530 reply_id: 94726[/import]

This is excellent. You’ve added my feature request. Thank you. [import]uid: 126708 topic_id: 23530 reply_id: 95514[/import]

This weekend, using Build 773 to build my app and run it on an iPhone 4, iPad 3 and in the Simulator…

the iPad 3 is still between 1 and 2 seconds slower than the other two - which start transitioning pretty much instantly.

I even played with the new loadScene function…

One thing is becoming clear. The iPad 3 still suffers from slow transitioning times and this I believe is not related to the actual loading of the scene. It’s a 1 to 2 second pause before the actual transition starts.

I use the fade effect mostly. [import]uid: 126708 topic_id: 23530 reply_id: 96264[/import]