Jump to content
  • Advertisement
Sign in to follow this  
Keego7237

Gaming Loading Question

This topic is 3635 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

My question is how a game knows how much/what to load when they are starting up. First of all I'm assuming loading screens mean they're bringing data/instructions from the hard drive to the main memory and main memory to cache. So, does the developer specify what exactly is supposed to be brought in somewhere in the code? Do they assign priorities for the data if someone does not have enough RAM? How exactly does the game know to load more data on a 3GB RAM system than a 2, and does it then need to change the instructions to map to the proper address in the RAM to get that data?

Share this post


Link to post
Share on other sites
Advertisement
the OS will manage the extra memory , and will use page files.
to know what to load , you read from a file( for example a script) what resources to load , then you know you need to load 666 resources , after each load you display the progress 1/666 , 2/666 and so on

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!