2023-10-01 13:15:16 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://bo5unrhqpoyim"]
|
2023-10-01 12:39:16 +00:00
|
|
|
|
|
|
|
[ext_resource type="Theme" uid="uid://ba5utvfhnxa5i" path="res://interface/interface_theme.tres" id="1_ppf8y"]
|
2023-10-01 13:15:16 +00:00
|
|
|
[ext_resource type="Script" path="res://interface/game_ui.gd" id="2_33nqa"]
|
2023-10-01 12:39:16 +00:00
|
|
|
|
2023-10-01 13:06:32 +00:00
|
|
|
[node name="GameUI" type="VBoxContainer"]
|
2023-10-01 12:39:16 +00:00
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme = ExtResource("1_ppf8y")
|
2023-10-01 13:15:16 +00:00
|
|
|
script = ExtResource("2_33nqa")
|
2023-10-01 12:39:16 +00:00
|
|
|
|
|
|
|
[node name="UpperButtons" type="HBoxContainer" parent="."]
|
|
|
|
custom_minimum_size = Vector2(0, 54)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 8
|
|
|
|
alignment = 1
|
|
|
|
|
2023-10-01 13:06:32 +00:00
|
|
|
[node name="ScoreButton" type="Button" parent="UpperButtons"]
|
2023-10-01 12:39:16 +00:00
|
|
|
custom_minimum_size = Vector2(72, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
text = "$0"
|
|
|
|
alignment = 0
|
|
|
|
|
2023-10-01 13:11:21 +00:00
|
|
|
[node name="UpperButtonsSpacerLeft" type="Control" parent="UpperButtons"]
|
2023-10-01 12:39:16 +00:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="SpawnButton" type="Button" parent="UpperButtons"]
|
|
|
|
custom_minimum_size = Vector2(72, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
text = "Drop"
|
|
|
|
|
2023-10-01 13:11:21 +00:00
|
|
|
[node name="UpperButtonsSpacerRight" type="Control" parent="UpperButtons"]
|
2023-10-01 12:39:16 +00:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="ShopButton" type="Button" parent="UpperButtons"]
|
|
|
|
custom_minimum_size = Vector2(72, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 8
|
|
|
|
text = "Shop"
|
|
|
|
alignment = 2
|
2023-10-01 13:31:49 +00:00
|
|
|
|
|
|
|
[connection signal="pressed" from="UpperButtons/ScoreButton" to="." method="_on_score_button_pressed"]
|
|
|
|
[connection signal="pressed" from="UpperButtons/SpawnButton" to="." method="_on_spawn_button_pressed"]
|
|
|
|
[connection signal="pressed" from="UpperButtons/ShopButton" to="." method="_on_shop_button_pressed"]
|