|
|
|
[gd_scene load_steps=5 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"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://brpc5ocwgd8ls" path="res://Art/Cupcakes/VanCupcake.png" id="2_65fff"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bnr06vojcqkqy" path="res://Art/Cupcakes/ChocCupcake.png" id="3_xle4l"]
|
|
|
|
|
|
|
|
[node name="InGameUI" type="CanvasLayer"]
|
|
|
|
script = ExtResource("1_q8tnv")
|
|
|
|
|
|
|
|
[node name="Main" type="Control" parent="."]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 0
|
|
|
|
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 = 2
|
|
|
|
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("2_65fff")
|
|
|
|
icon_alignment = 1
|
|
|
|
|
|
|
|
[node name="Choc" type="Button" parent="Main/HBoxContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
icon = ExtResource("3_xle4l")
|
|
|
|
|
|
|
|
[node name="Straw" type="Button" parent="Main/HBoxContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
icon = ExtResource("1_vkoxt")
|
|
|
|
|
|
|
|
[node name="Num" type="Control" parent="."]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 0
|
|
|
|
offset_left = 45.0
|
|
|
|
offset_top = 15.0
|
|
|
|
offset_right = 239.0
|
|
|
|
offset_bottom = 985.0
|
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="Num"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = -30.0
|
|
|
|
offset_right = 201.0
|
|
|
|
offset_bottom = 968.0
|
|
|
|
columns = 2
|
|
|
|
|
|
|
|
[node name="vanIcon" type="TextureRect" parent="Num/GridContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
texture = ExtResource("2_65fff")
|
|
|
|
stretch_mode = 5
|
|
|
|
|
|
|
|
[node name="ccVanNum" type="RichTextLabel" parent="Num/GridContainer"]
|
|
|
|
custom_minimum_size = Vector2(256, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
text = "0"
|
|
|
|
fit_content = true
|
|
|
|
|
|
|
|
[node name="chocIcon" type="TextureRect" parent="Num/GridContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
texture = ExtResource("3_xle4l")
|
|
|
|
stretch_mode = 5
|
|
|
|
|
|
|
|
[node name="ccChocNum" type="RichTextLabel" parent="Num/GridContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
text = "0"
|
|
|
|
fit_content = true
|
|
|
|
|
|
|
|
[node name="strawIcon" type="TextureRect" parent="Num/GridContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
texture = ExtResource("1_vkoxt")
|
|
|
|
stretch_mode = 5
|
|
|
|
|
|
|
|
[node name="ccStrawNum" type="RichTextLabel" parent="Num/GridContainer"]
|
|
|
|
visible = false
|
|
|
|
custom_minimum_size = Vector2(256, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
text = "0"
|
|
|
|
fit_content = true
|
|
|
|
|
|
|
|
[node name="redVelvetIcon" type="TextureRect" parent="Num/GridContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
texture = ExtResource("3_xle4l")
|
|
|
|
stretch_mode = 5
|
|
|
|
|
|
|
|
[node name="ccRVelvetNum" type="RichTextLabel" parent="Num/GridContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
text = "0"
|
|
|
|
fit_content = true
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Num"]
|
|
|
|
layout_mode = 2
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="Icons" type="Control" parent="."]
|
|
|
|
clip_children = 1
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 0
|
|
|
|
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 = 2
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Main/HBoxContainer/Van" to="." method="_on_van_pressed"]
|
|
|
|
[connection signal="pressed" from="Main/HBoxContainer/Choc" to="." method="_on_choc_pressed"]
|