Preload level & world from the title screen

This commit is contained in:
Rob Kelly 2025-06-30 13:21:05 -06:00
parent ae95dee619
commit bd13fb991a

View File

@ -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()