-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples page and load times #236
Comments
Handling this directly in Bevy would require quite a bit of code added to the examples... I wonder if it would be possible to handle that in javascript? |
Hm...dunno if you can use javascript to check if there are still some network requests going on. I don't think that a loading animation would be needed for every example, only the ones with big assets. |
The wasm is about 13MB. Just noting that. |
In some of my games I just add a loading indicator behind the canvas. This is only half the problem with |
As a starting point, i have added a |
Migrating to #338 to address the remaining functionality. |
@Weasy666 can you PR that loading_screen example to Bevy itself? Seems genuinely useful to show-off. |
There is already an open PR since January. You can find it here in the message timeline. |
About the examples on the website (or examples in general)...i think it would be a good idea to add some kind of loading animation to examples which have big assets. Especially
load_gltf
andupdate_gltf_scene
need to load "big" assets and display only a grey rectangle until everything is loaded....which on the web, depending on the internet connection, can take a while. People could misunderstand that as "It's not working" and try to refresh the page or give up.I know the example in Bevy need to be changed, but I'm opening the issue here, because i think it does not matter that much when you run the current examples locally, but it matters a lot on the web.
The text was updated successfully, but these errors were encountered: