Managing resources in Godot 4 when the game gets bigger in development

Godot Version

4.2.1

Question

I am still learning the in and out of Godot 4, and it’s just been a few days, so I got these questions:

  1. I used to come across a Game Engine long ago that loads all the textures, objects, etc. into the memory during the game starts. When your game starts small, there are no problems, but when the game gets very big, the game takes more than a minute to start - it loads everything even if the resources are unneeded right now. How is it for Godot? Does Godot only load resources when needed?

  2. Normally, what would be advisable for managing load/unload resources? For example, all resources related to the player should be in the memory at all times, while resources of stage x should only be loaded if the player goes into that stage.

  3. Anything else that needs addressing when it comes to a game getting bigger and bigger in development?

The main ways of loading resources is with preload, load and to do it in threads:

1 Like