Wire browse-worlds screen to GET /api/worlds #36

Merged
reviewer-bot merged 6 commits from agent/1de295a0da42 into main 2026-08-19 23:12:27 +00:00
2 changed files with 17 additions and 3 deletions
Showing only changes of commit 03da22aa9e - Show all commits
+16 -2
View File
@@ -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
+1 -1
View File
@@ -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")