xpenatan / gdx-teavm

Run Libgdx in a webbrowser with teavm
Apache License 2.0
108 stars 16 forks source link

Startup loading screen #46

Closed xpenatan closed 1 year ago

xpenatan commented 2 years ago

Implement a way to add a startup app loading which anyone can customize.

Something like with GWT backend which have the default loading logic. Or a secondary application listener which is executed first while loading libs, assets, etc.

xpenatan commented 1 year ago

The last commit contains a very simple custom loading solution. It's very simple so it does not retry failed downloads.

Example: https://xpenatan.github.io/gdx-teavm/teavm/custom-loading/

xpenatan commented 1 year ago

A nice loading screen is in version b3.

image

Thanks @noblemaster 😃