Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I preload assets before the game starts?

Asked by 4 years ago

Is there a way I can make sure all assets of my game have loaded in before Roblox's default loading screen disappears, or do I have to make my own loading screen which appears after Roblox's default to wait for the assets to load in?

0
Can use ContentProvider https://developer.roblox.com/en-us/api-reference/class/ContentProvider .... When doing this you want to make your own loading screen https://developer.roblox.com/en-us/articles/Custom-Loading-Screens ForeverBrown 356 — 4y
0
So I looked into ContentProvider, but what it seems to be offering is to yield scripts to wait for assets to load in, however, what I'm looking for is a way to make sure Roblox's default loading screen doesn't disappear before all assets have actually loaded in completely. E.g. I have some screen gui in my game, but it always takes a bit to actually appear after Roblox's loading screen disappears. ServerLover38 21 — 4y
0
That is where you would need to make a custom loading screen, which I listed in the previous comment. I don't know of anyway to control the loading screen other than to make your own. ForeverBrown 356 — 4y
0
I see, thanks for the help! ServerLover38 21 — 4y

Answer this question