Loading Screen
The screen showing the asset preloading progress

Description

1
<loading-screen></loading-screen>
Copied!
This is the first screen that will be shown if Asset Preloading is enabled on the game's configuration.
Component tag: loading-screen

Component Structure

The following code is this component's initial HTML structure. Remember you can change this structure any time by using the template() component built-in function.
1
<section data-component="loading_screen" data-screen="loading">
2
<div data-content="wrapper">
3
<h2 data-string="Loading" data-content="title">Loading</h2>
4
<progress data-ui="load-progress" value="0" max="100" data-content="progress_bar"></progress>
5
<small data-string="LoadingMessage" data-content="message">Wait while the assets are loaded.</small>
6
</div>
7
</section>
Copied!
Last modified 1yr ago