Jump to content

[WONTFIX] engine.splash function inside update


photo

Recommended Posts

Hi,

 

I want to call the splash screen function during different update, I have my world with different step for the initialization, and my update are calling the different step in the order. It's a basicFSA (finite state machine) 

 

I wand for each state increase my splash screen render for have a progress.

 

During the first state I do : 

engine.render.setEnabled(0);
engine.splash.setSplash(texname);
    
// show startup splash
engine.splash.setEnabled(1);
engine.splash.renderSplash(0);

During the inter state i do :

engine.splash.renderSplash(val);

During the last state i do :

engine.splash.setEnabled(0);
engine.render.setEnabled(1);

Unfortunately my splash seems block everything, if I call engine.splash.setEnabled(0); after each splash function call there are flicking. Must be a simple stuff, but it's blocking me a little.
I already have my own splash with WidgetSprite but I think it's better use the functionality of the engine if it's possible ;)

Thanks

Tony

Link to comment
  • 2 weeks later...
×
×
  • Create New...