Closed 1000i100 closed 10 years ago
Done !
a pre-Phaser splashScreen could be a good think to avoid the initial black screen before the loading screen.
And add a loading screen on each level loading to avoid the black screen at this step (and why not preloading them in background while we are one the menu screen or during the previous level)
PS : i'm not allowed to reOpen the issue
Congratulation, you have been assigned as a volunteer for this task. Good luck !
That's ok ;) Ready for work !
Oki, these commits should remove the loading between levels. I had to use dirty hacks to do this : using phaser preloader does not prevent reloading of stuff already loaded, and there is no good way to check if something is already in phaser's cache. I could have stored this locally, but it may have caused problems I believe (e.g. if phaser don't load the stuff because the state change). I finally just borrowed phaser's internal attributes to determine it. So, it may break on phaser updates.
There is still the black screen at the beginning, the time phaser loads itself. Maybe you can do something about it ?
i will work on it !
8a6a3b09 done
initial black screen could be interpreted as a buggy freezed game load, so a loading screen could be welcome.