[DISCONTINUED] PreloadService - Customizable way to load assets via ContentProvider [v2]

Yeah lol, because it allows for custom UI, and loading past the initial loading, if you are spawning a new asset in and need it to load. Thanks for using it!

1 Like

awesome, no problem! i’m sure that this module will help a lot of others, not just me

1 Like

v1.0.1 released!
What’s new?

  • Added socials
  • Removed unneeded prints
  • Linked this topic
  • Added a scam warning in comment
2 Likes

Ah ContentProvider… the little service that could but is often forgotten.

I used to use this service all the time in development, because even though it’s not actually making anything faster it can certainly make it feel faster by prioritizing loading things that improve the user experience.

My personal recommendation would be to stick to preloading assets just before your user needs to see them that way they’re ready when you need them. We’re talking seconds before in most cases. The way that the engine loads things is they’re loaded as needed. What you’re essentially doing with ContentProvider’s Preload is fetching them just a little bit in advance so that when you are ready to use the assets, they’re (hopefully) already loaded which make the experience feel much smoother for your users.

Nice work!

23 Likes

Thanks for the review!

Pretty cool to think a Roblox admin would be replying to my tiny loading module.
But then again, thanks for the review! Yeah, the ContentProvider is pretty forgotten… yet useful for stuff like this.

2 Likes

Would you send the source code in code block cuz I’m on mobile right now?
Also it seems kind of useful

1 Like

You know your model is good when a Roblox Admin comes here are compliments you on it. Great job @pyxfluff ! This looks really useful. I’ll be sure to try it when I can.

1 Like

Sure. Once I launch Studio, I will DM it to you.

1 Like

image
Send me a DM

Ok

1 Like

v1.0.2 Released!

What’s new?

  • Settings! More to come. Access through PreloadingService/Settings
  • Version checking! Thanks to @Forummer for this one!
  • Bar on the loading screen should no longer freak out.
  • Cleaned up the code.

Known bugs:

  • Despite my fixes, the bar might still freak out.
  • Game loading screen doesn’t extend fully.
  • You might not be able to load custom assets right now. [PRIORITY]

Update your module if needed!

And also, thanks for all the positive feedback and reviews on this! It really does mean a lot to me, and I will try to improve on everything you guys suggest :wink:

1 Like

fake!!
edited!
okay well, have a good one

Something I will say is really funny is that the only model bots have taken so far is the version checker loll



Once again, thanks to all the actual people using the module! You dont need to credit me in game, it is appreciated though.

1 Like

v1.1.0 coming soon!

With Light Mode default UI, Fixes, More settings, and more!

Error img

local PS = require(game.ReplicatedStorage.PreloadService)
PS.Load("Game", "Default", nil)

That is the entire file and it is placed in StarterPlayerScripts on a fresh place.

I will look into it now. Thanks for the report!

After looking into it’s is an error on my end.
For now, please replace line 104 (crtl G) of the module with this
local succ, err = pcall(function() Loader.Completed:Fire() end)
This will be fixed in 1.1.0.
Also, make sure in that script to add PS.CheckVersion() right before the loading.

Alright, Thanks.

FYI, I am looking for developers like you to join my game studio, We make games (ofc) and give away free models/scripts to help others make games like ours, I think if you joined us it would help both of us greatly :slight_smile:

Not really looking for jobs right now, but thanks for the offer! Maybe later.

The GUI does not close after finished.

Log saying finished