You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CupcakeRevolution/Scenes/UI/ingame_ui.tscn

74 lines
1.9 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://c4dtrk2kooa6q"]
[ext_resource type="Script" path="res://Scripts/ingame_ui.gd" id="1_q8tnv"]
[ext_resource type="Texture2D" uid="uid://7fqro4fugv8k" path="res://Art/Cupcakes/Cupcake.png" id="1_vkoxt"]
[node name="InGameUI" type="CanvasLayer"]
script = ExtResource("1_q8tnv")
[node name="Main" type="Panel" parent="."]
offset_left = 16.0
offset_top = 997.0
offset_right = 1908.0
offset_bottom = 1066.0
[node name="HBoxContainer" type="HBoxContainer" parent="Main"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Van" type="Button" parent="Main/HBoxContainer"]
layout_mode = 2
icon = ExtResource("1_vkoxt")
icon_alignment = 1
[node name="Choc" type="Button" parent="Main/HBoxContainer"]
layout_mode = 2
text = "Choc"
[node name="Num" type="Panel" parent="."]
clip_children = 1
offset_left = 45.0
offset_top = 15.0
offset_right = 239.0
offset_bottom = 985.0
[node name="VBoxContainer" type="VBoxContainer" parent="Num"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ccVanNum" type="Label" parent="Num/VBoxContainer"]
layout_mode = 2
text = "0"
[node name="Icons" type="Panel" parent="."]
clip_children = 1
offset_left = 11.0
offset_top = 15.0
offset_right = 43.0
offset_bottom = 985.0
[node name="VBoxContainer" type="VBoxContainer" parent="Icons"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ccVanIcon" type="Sprite2D" parent="Icons/VBoxContainer"]
position = Vector2(11, 0)
scale = Vector2(0.874, 0.874)
texture = ExtResource("1_vkoxt")
centered = false
[connection signal="pressed" from="Main/HBoxContainer/Van" to="." method="_on_van_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Choc" to="." method="_on_choc_pressed"]