lua - How to implement a loading screen using storyboard? -


In a corona app using the Storyboard Library, what are the best practices for adding a loading screen between scenes? I'm guessing that it should go somewhere: enterScene (), but I'm not sure how it should work with Corona's rendering process as if I understand it, if I do the following, the code After waiting for Corona, the loading screen will never be displayed and then pulls everything at once.

  Function view: enterScene (event) ShowOffice overlays () Load File () Hide Loading Screen Overlay () End   

A new for loading screen What is the right approach to creating a storyboard view? If so, how can I load other content in the background when the loading scene is displayed?

In your case, you should use loadScene ():

Just call the createScene part of your new scene 2 ... then what you can do, updating the progress of loading in Scene 2's createScene, and every x milliseconds of progress being loaded in your original scene 1 Verify. When it is 100%, just call Gatosan in scene 1 and this view will be loaded 2 instantly.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -