[gd_scene load_steps=2 format=3] [ext_resource type="Script" path="res://scripts/world_list.gd" id="1_wl"] [node name="WorldList" type="Control"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_wl") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 8 [node name="HeaderHBox" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 3 size_flags_horizontal = 3 theme_override_constants/separation = 16 [node name="BackButton" type="Button" parent="VBoxContainer/HeaderHBox"] layout_mode = 3 text = "< Back" size_flags_horizontal = 0 [node name="TitleLabel" type="Label" parent="VBoxContainer/HeaderHBox"] layout_mode = 3 text = "Browse Worlds" horizontal_alignment = 1 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 28 [node name="DiscoverButton" type="Button" parent="VBoxContainer/HeaderHBox"] layout_mode = 3 text = "🗺️ Discover Feed" size_flags_horizontal = 0 [node name="CreateButton" type="Button" parent="VBoxContainer/HeaderHBox"] layout_mode = 3 text = "+ Create World" size_flags_horizontal = 0 [node name="RefreshButton" type="Button" parent="VBoxContainer/HeaderHBox"] layout_mode = 3 text = "Refresh" size_flags_horizontal = 0 [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"] layout_mode = 3 size_flags_horizontal = 3 size_flags_vertical = 3 horizontal_mode = 2 vertical_mode = 2 [node name="WorldList" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"] layout_mode = 3 size_flags_horizontal = 3 theme_override_constants/separation = 8 [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 horizontal_alignment = 1 theme_override_font_sizes/font_size = 18 [connection signal="pressed" from="VBoxContainer/HeaderHBox/BackButton" to="." method="_on_back_button_pressed"] [connection signal="pressed" from="VBoxContainer/HeaderHBox/DiscoverButton" to="." method="_on_discover_button_pressed"] [connection signal="pressed" from="VBoxContainer/HeaderHBox/CreateButton" to="." method="_on_create_button_pressed"] [connection signal="pressed" from="VBoxContainer/HeaderHBox/RefreshButton" to="." method="_on_refresh_button_pressed"]