Data loading approaches

Hi, I’m currently developing a game (who would’ve thought? :o), and I’m currently at the subject of data loading. I thought of 2 approaches to this:

  • Load everything on start-up
  • Load only required resources at every level

I know the first one takes more memory, but also loading later on is much faster. And the latter uses less memory, but also more time (at both loading, and coding).

So my question is: which approach should I use? Should I make 2 versions of the game, each with different approach? Or use something entirely different that I didn’t think of?

Unless you have a lot of resources, you can get away with loading everything at startup.

Yeah splash screens are the best way to go in my opinion :slight_smile:

CopyableCougar4

Well, since it’s a 2D game, there’s not that many resources (only sprites, tile-sets, and sounds). I’d probably go with splash-screen loading anyway, I just needed to hear more opinions. Thanks guys!