Splash Screen issues

Monkey Targets Forums/iOS/Splash Screen issues

Shinkiro1(Posted 2013) [#1]
I am using a Launch image as suggested by Apple and that works, then I skip OnCreate() and do everything in OnUpdate() and OnRender().
The first thing I do is call an Init() Method that loads all images needed for the current screen normally (not async). Then I start an animation but the timing is COMPLETELY OFF.

It seems it still loads things in the background while already calling OnUpdate() and updating the animation but nothing displays. And when it displays images that are supposed to slide in 3 seconds afterwards, start at the same time as everything else.

I think my question is how do I know when everything has loaded without doing it the async way. I am also precaching all images.

The code looks something like this:
Method OnInit() 'called from OnRender
  'Load Images
  'Precache Images
  'StartAnimation
End

Method Update() 'called from OnUpdate
  'UpdateAnimation
End

Method Render() 'called from OnRender
  'RenderEverything
End



Shinkiro1(Posted 2013) [#2]
Ok, solved it.
The issue was GameCenter. Now that I wait for the animation to finish and then init GC everything works fine.