diff --git a/scenes/world_list.tscn b/scenes/world_list.tscn index 78b70fc..4ad03ce 100644 --- a/scenes/world_list.tscn +++ b/scenes/world_list.tscn @@ -45,13 +45,27 @@ size_flags_vertical = 4 horizontal_mode = 2 vertical_mode = 2 -[node name="ScrollVBox" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"] +[node name="WorldList" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"] layout_mode = 3 size_flags_horizontal = 4 size_flags_vertical = 4 theme_override_constants/separation = 8 -[node name="StatusLabel" type="Label" parent="VBoxContainer"] +[node name="LoadingLabel" type="Label" parent="VBoxContainer"] +layout_mode = 3 +text = "Loading worlds..." +visible = false +horizontal_alignment = 1 +theme_override_font_sizes/font_size = 18 + +[node name="ErrorLabel" type="Label" parent="VBoxContainer"] +layout_mode = 3 +text = "" +visible = false +horizontal_alignment = 1 +theme_override_font_sizes/font_size = 18 + +[node name="EmptyLabel" type="Label" parent="VBoxContainer"] layout_mode = 3 text = "" visible = false diff --git a/scripts/main_menu.gd b/scripts/main_menu.gd index be3e435..b38e70e 100644 --- a/scripts/main_menu.gd +++ b/scripts/main_menu.gd @@ -11,7 +11,7 @@ func _on_play_button_pressed(): func _on_browse_button_pressed(): - # Same as Play — browse worlds screen. + # Same as Play — browse worlds is the primary action. get_tree().change_scene_to_file("res://scenes/world_list.tscn")