From bd13fb991a7c984a94eb409211485410ae7db9cb Mon Sep 17 00:00:00 2001 From: Rob Kelly Date: Mon, 30 Jun 2025 13:21:05 -0600 Subject: [PATCH] Preload level & world from the title screen --- src/ui/menus/title_screen/title_screen.gd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/menus/title_screen/title_screen.gd b/src/ui/menus/title_screen/title_screen.gd index 808d849..c38b10a 100644 --- a/src/ui/menus/title_screen/title_screen.gd +++ b/src/ui/menus/title_screen/title_screen.gd @@ -23,6 +23,10 @@ func _ready() -> void: if FileAccess.file_exists(save_path): continue_button.disabled = false + # Start preloading world and level in background + ResourceLoader.load_threaded_request(world_scene) + ResourceLoader.load_threaded_request(level_scene) + func stop_sounds() -> void: title_sfx.stop()