-
Notifications
You must be signed in to change notification settings - Fork 82
Loading screens
Mikolka edited this page Apr 13, 2025
·
1 revision
You can add a custom loading screen to your mod in mods/your-mod/data/LoadingScreen.hx
The only available callback is onCreate(), after which the script is destroyed (but not the sprites you make)
getLoaded()
When called, this function returns a number of currently loaded assets
getLoadMax()
When called, this function returns a number of total assets to load.
barBack
A sprite of the background for the loading bar.
bar
A sprite of the loading bar.