Jump to content
  • Advertisement
Sign in to follow this  
newtechnology

Loading screens

This topic is 418 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

What game engine are you using?

I just wanted to get an idea of how it would be implemented but I'd preferably use UE4 for implementing it.

 

Technically noyou don't need to use more than one thread to implement a loading screen. You can timeslice the load up and do parts of it while you pump the rendering and input response, and such, but that does require you to be able to timeslice the load. If you're going to be reading a multi-gigabyte file with a single blocking IO call, well, you're out of luck. You'll have to use more than one thread (doing the blocking load on that thread) or change your IO to use some asynchronous API (and thus have somebody else deal, potentially, with the threading issues).

Fundamentally all you're doing in a loading screen is pumping the main game loop until you get a signal from some background (loading) thread that all the work is done, and then moving on.

 

 

Thanks. 

Edited by newtechnology

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!