Jump to content

Preload all game models?


ZioRed
 Share

Recommended Posts

That's a case where I think threaded loading would be advantageous - but it's not supported.

 

In the case of an MMO, having a nice 60fps slow down to about 15-20 for a few seconds while resources are loaded would, I think, be better than having a pause while the resources are loaded, followed by the inevitable lag during the catch-up.

 

For other games, it's less of an issue. A loading screen with a progress bar does not need to be threaded. And indeed, for FPS, RTS and most others, loading all upfront is viable.

 

The largest problem with loading all resources up front is the amount of RAM needed. for an MMO that would have lots of objects, and need them all loaded, would need lots of RAM, and agressively swapping between RAM and the pagefile can cause further stutters (which we have no control over). For other games, there aren't (normally) as many resources to load, they can all fit in RAM nicely and for most levels, "mission-specific" items do not need to be loaded at all.

 

For an MMO, you are probably best loading resources only when needed, and make them as small as possible to reduce pause while loading things.

LE Version: 2.50 (Eventually)

Link to comment
Share on other sites

I love the scene loading of AVA where you see the loading progress of you and the others. :)

 

They had that as early Tiberian Sun. For SP you got a load of wordy loading, but for MP you instead just a got a coloured bar for each player (they colour being the colour they'd chosen before the game started). It turned out to be so efficient I believe they've used it ever since for the C&C series, for both single and multiplayer. I also think that style would be suitable for any game with even slightly long loading times.

 

But for the record, that does not need multi-threading - other people's bars do not need to updated smoothly. You only need to update their bars at the time you update your own. (or once you've finished loading, and you are now waiting for everyone else.)

LE Version: 2.50 (Eventually)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...