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

213 lines
6.1 KiB
Plaintext

[gd_scene load_steps=9 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"]
[ext_resource type="Texture2D" uid="uid://b6x1m6u01x377" path="res://Art/Cupcakes/RVelCupcake.png" id="5_dcln5"]
[ext_resource type="Texture2D" uid="uid://c3oejmmv6ysxp" path="res://Art/Cupcakes/CinCupcake.png" id="6_75s1v"]
[ext_resource type="Texture2D" uid="uid://dc43quvhcwa8e" path="res://Art/Cupcakes/HonCupcake.png" id="7_shcyg"]
[ext_resource type="Texture2D" uid="uid://0vm8bhbkhqym" path="res://Art/Cupcakes/NightCupcake.png" id="8_ei4oh"]
[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
focus_mode = 2
[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="Tools" type="Button" parent="Main/HBoxContainer"]
layout_mode = 2
text = "Tools"
[node name="Areas" type="Button" parent="Main/HBoxContainer"]
layout_mode = 2
text = "Areas"
[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="RVel" type="Button" parent="Main/HBoxContainer"]
visible = false
layout_mode = 2
icon = ExtResource("5_dcln5")
[node name="Cin" type="Button" parent="Main/HBoxContainer"]
visible = false
layout_mode = 2
icon = ExtResource("6_75s1v")
[node name="Honest" type="Button" parent="Main/HBoxContainer"]
visible = false
layout_mode = 2
icon = ExtResource("7_shcyg")
[node name="Nightmare" type="Button" parent="Main/HBoxContainer"]
visible = false
layout_mode = 2
icon = ExtResource("8_ei4oh")
[node name="Rock" type="Button" parent="Main/HBoxContainer"]
visible = false
layout_mode = 2
[node name="Button8" type="Button" parent="Main/HBoxContainer"]
visible = false
layout_mode = 2
[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="NumGrid" 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/NumGrid"]
layout_mode = 2
texture = ExtResource("2_65fff")
stretch_mode = 5
[node name="ccVanNum" type="RichTextLabel" parent="Num/NumGrid"]
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
text = "0"
fit_content = true
[node name="chocIcon" type="TextureRect" parent="Num/NumGrid"]
visible = false
layout_mode = 2
texture = ExtResource("3_xle4l")
stretch_mode = 5
[node name="ccChocNum" type="RichTextLabel" parent="Num/NumGrid"]
visible = false
layout_mode = 2
text = "0"
fit_content = true
[node name="strawIcon" type="TextureRect" parent="Num/NumGrid"]
visible = false
layout_mode = 2
texture = ExtResource("1_vkoxt")
stretch_mode = 5
[node name="ccStrawNum" type="RichTextLabel" parent="Num/NumGrid"]
visible = false
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
text = "0"
fit_content = true
[node name="rvelIcon" type="TextureRect" parent="Num/NumGrid"]
visible = false
layout_mode = 2
texture = ExtResource("5_dcln5")
stretch_mode = 5
[node name="ccRVelNum" type="RichTextLabel" parent="Num/NumGrid"]
visible = false
layout_mode = 2
text = "0"
fit_content = true
[node name="cinIcon" type="TextureRect" parent="Num/NumGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_75s1v")
stretch_mode = 5
[node name="ccCinNum" type="RichTextLabel" parent="Num/NumGrid"]
visible = false
layout_mode = 2
text = "0"
fit_content = true
[node name="honIcon" type="TextureRect" parent="Num/NumGrid"]
visible = false
layout_mode = 2
texture = ExtResource("7_shcyg")
stretch_mode = 5
[node name="ccHonNum" type="RichTextLabel" parent="Num/NumGrid"]
visible = false
layout_mode = 2
text = "0"
fit_content = true
[node name="nightIcon" type="TextureRect" parent="Num/NumGrid"]
visible = false
layout_mode = 2
texture = ExtResource("8_ei4oh")
stretch_mode = 5
[node name="ccNightNum" type="RichTextLabel" parent="Num/NumGrid"]
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/Tools" to="." method="_on_tools_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Areas" to="." method="_on_areas_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Van" to="." method="_on_van_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Choc" to="." method="_on_choc_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Straw" to="." method="_on_straw_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/RVel" to="." method="_on_r_vel_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Cin" to="." method="_on_cin_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Honest" to="." method="_on_honest_pressed"]
[connection signal="pressed" from="Main/HBoxContainer/Nightmare" to="." method="_on_nightmare_pressed"]