draklaw / dagfin

A small game done in 72h for the ludum dare 29 game jam.
1 stars 1 forks source link

loading screen #6

Closed 1000i100 closed 10 years ago

1000i100 commented 10 years ago

initial black screen could be interpreted as a buggy freezed game load, so a loading screen could be welcome.

draklaw commented 10 years ago

Done !

1000i100 commented 10 years ago

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)

1000i100 commented 10 years ago

PS : i'm not allowed to reOpen the issue

draklaw commented 10 years ago

Congratulation, you have been assigned as a volunteer for this task. Good luck !

1000i100 commented 10 years ago

That's ok ;) Ready for work !

draklaw commented 10 years ago

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 ?

1000i100 commented 10 years ago

i will work on it !

1000i100 commented 10 years ago

8a6a3b09 done