[gd_scene load_steps=2 format=3 uid="uid://ct878s7wjsq77"] [ext_resource type="Script" path="res://scripts/Shop.gd" id="1_8nmap"] [node name="Shop" type="Node2D"] script = ExtResource("1_8nmap") [node name="MainContainer" type="MarginContainer" parent="."] offset_right = 180.0 offset_bottom = 246.0 theme_override_constants/margin_left = 0 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 0 theme_override_constants/margin_bottom = 20 [node name="Background" type="ColorRect" parent="MainContainer"] layout_mode = 2 color = Color(1, 1, 0, 0.156863) [node name="RowsContainer" type="VBoxContainer" parent="MainContainer"] layout_mode = 2 theme_override_constants/separation = 30 [node name="Title" type="Label" parent="MainContainer/RowsContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "Shop" horizontal_alignment = 1 [node name="PiecesRow" type="HBoxContainer" parent="MainContainer/RowsContainer"] layout_mode = 2 theme_override_constants/separation = 20 [node name="UpgradesRow" type="HBoxContainer" parent="MainContainer/RowsContainer"] layout_mode = 2 theme_override_constants/separation = 20 [node name="BottomSection" type="MarginContainer" parent="MainContainer/RowsContainer"] layout_mode = 2 theme_override_constants/margin_left = 20 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 20 [node name="ResetShopButton" type="Button" parent="MainContainer/RowsContainer/BottomSection"] layout_mode = 2 size_flags_horizontal = 0 text = "Reset Shop " [node name="NextRoundButton" type="Button" parent="MainContainer/RowsContainer/BottomSection"] layout_mode = 2 size_flags_horizontal = 8 text = "Next Round " [connection signal="pressed" from="MainContainer/RowsContainer/BottomSection/ResetShopButton" to="." method="_on_reset_shop_button_pressed"] [connection signal="pressed" from="MainContainer/RowsContainer/BottomSection/NextRoundButton" to="." method="_on_next_round_button_pressed"]