-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Loading screen interface and implementation #700
Conversation
This will allow an easy way to replace the default loading screen. The default implementation is included as well.
The engine now has a loadingScreen variable. For legacy reasons all functions (get and set background etc') are still there, but should be removed in future releases.
And type fix. Typescript compiles.
removed the unneeded properties (breaking change)
missing file
Hello I think this is great but I would like to keep the set loading text and background color on the engine. This then will be sent to the interface. If someone wants to have a loader which does not take this in account that's fine but I think this is a good first level of customization without having to completely rewrite a loader |
Will make the changes and commit soon |
Supports the engine methods.
Interface and engine updated (including a small and silly bug fix). |
Loading screen interface and implementation
Another small ask :) can you update the file list here:https://github.com/BabylonJS/Documentation/blob/master/content/generals/General/Creating_the_Mini-fied_Version.md |
updating the documentation now. |
Lol this is fast:) thank you! |
I'm only fast when I am sitting in front of my computer 😄 |
I hope so :D |
It is now possible to create a new implementation of the loading screen and set it in the engine.
The engine now includes a loadingScreen variable that is per default the native loading screen but can be set with a new loading screen in accordance to the ILoadingScreen interface.
Breaking changes
the engine's set loading text and set background color were removed as they are no longer conform with the new interface!