Closed frostney closed 9 years ago
Re-thinking this, I think it would be more fitting to give certain tasks priorities and a flag if the complete event should be triggered if those tasks with a certain priority are finished.
Splashscreen support would be nice in the preloader
Am 21.12.2013 10:59 schrieb Johannes Stein notifications@github.com: Re-thinking this, I think it would be more fitting to give certain tasks priorities and a flag if the complete event should be triggered if those tasks with a certain priority are finished.
Reply to this email directly or view it on GitHub: https://github.com/freezedev/lyria/issues/7#issuecomment-31060337
Splash screens are already possible, you can define a scene that is visible during the entire loading process with Preloader.loadingScene
if a scene director has been defined through Preloader.sceneDirector
. (The latter is done automatically if the lyria game instance is used.)
Can I define multiple screens, e.g. company logo than game logo?
Am 21.12.2013 11:31 schrieb Johannes Stein notifications@github.com:
Splash screens are already possible, you can define a scene that is visible during the entire loading process with Preloader.loadingScene
if a scene director has been defined through Preloader.sceneDirector
. (The latter is done automatically, the lyria game instance is used.)
Reply to this email directly or view it on GitHub: https://github.com/freezedev/lyria/issues/7#issuecomment-31060725
Well, there are two ways to achieve this:
Preloader with tasks are already possible. Not sure why I didn't close the issue earlier.
Use a dual-system preloader first, which loads images and scenes first and audio afterwards. Audio data should not block the usual loading process. Inspired by http://northwaygames.com/?p=372