Long pause between _ready call and _process call when game loads

Godot Version

4.2

Question

My problem is that there is a long pause at the start of my game which probably shouldn’t be there which is annoying for people who want to play my game. For whatever reason most of the pause comes after a _ready call and then the games starts the main menu at the first _update call.

Is there any general advice that someone could give to help speed this up at all? I’d be happy to provide additional information if that would be helpful.

Are you loading a lot of stuff at the start?

Yeah I am doing a lot of preloads of level scenes, I don’t really know how costly preloads are.

How could I get around doing them if I want to load level scenes?

Maybe you could load each level when the player enters it instead of all at the start?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.