mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 08:45:33 +00:00
114 lines
3.8 KiB
Text
114 lines
3.8 KiB
Text
[gd_scene load_steps=10 format=3 uid="uid://ca0g1jnl6n0pl"]
|
|
|
|
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="1_2iadx"]
|
|
[ext_resource type="Script" uid="uid://dwj7p7ydustm5" path="res://Scripts/UI/VendingMachineUi.cs" id="1_dy2e4"]
|
|
[ext_resource type="StyleBox" uid="uid://ctw2hju32l3rg" path="res://Resources/Styles/PixelStyleBoxRed.tres" id="2_isscq"]
|
|
[ext_resource type="Texture2D" uid="uid://b2vmpi57d7vwy" path="res://Sprites/Items/Shield_Extend.png" id="3_4n8rt"]
|
|
[ext_resource type="Texture2D" uid="uid://dlkqy5jgchwy" path="res://Sprites/Items/Heart_Pickup.png" id="4_4n8rt"]
|
|
[ext_resource type="Texture2D" uid="uid://4x3ouxyxjqjc" path="res://Sprites/Items/Credits_Pickup.png" id="4_dy2e4"]
|
|
[ext_resource type="Texture2D" uid="uid://bjdsi4x8m42ky" path="res://Sprites/Items/Power_Pickup.png" id="5_dy2e4"]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_dy2e4"]
|
|
device = -1
|
|
pressed = true
|
|
keycode = 4194305
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_16ivy"]
|
|
events = [SubResource("InputEventKey_dy2e4")]
|
|
|
|
[node name="VendingMachineUi" type="CanvasLayer" node_paths=PackedStringArray("MoneyLabel", "ItemsContainer")]
|
|
process_mode = 3
|
|
layer = 2
|
|
script = ExtResource("1_dy2e4")
|
|
MoneyLabel = NodePath("PanelContainer/VBoxContainer/HBoxContainer3/Label")
|
|
ItemsContainer = NodePath("PanelContainer/VBoxContainer/HBoxContainer2")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -143.5
|
|
offset_top = -71.5
|
|
offset_right = 143.5
|
|
offset_bottom = 71.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
theme = ExtResource("1_2iadx")
|
|
theme_override_styles/panel = ExtResource("2_isscq")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
text = "Buy"
|
|
|
|
[node name="Exit" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
|
z_index = 1
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_stretch_ratio = 0.8
|
|
shortcut = SubResource("Shortcut_16ivy")
|
|
text = "Exit"
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
process_mode = 3
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
alignment = 1
|
|
|
|
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Shield Extension
|
|
(20)"
|
|
icon = ExtResource("3_4n8rt")
|
|
autowrap_mode = 3
|
|
icon_alignment = 1
|
|
vertical_icon_alignment = 0
|
|
expand_icon = true
|
|
|
|
[node name="Button2" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Health
|
|
(15)"
|
|
icon = ExtResource("4_4n8rt")
|
|
autowrap_mode = 2
|
|
icon_alignment = 1
|
|
vertical_icon_alignment = 0
|
|
expand_icon = true
|
|
|
|
[node name="Button3" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Power
|
|
(10)"
|
|
icon = ExtResource("5_dy2e4")
|
|
autowrap_mode = 2
|
|
icon_alignment = 1
|
|
vertical_icon_alignment = 0
|
|
expand_icon = true
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 10
|
|
alignment = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
layout_mode = 2
|
|
texture = ExtResource("4_dy2e4")
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
layout_mode = 2
|
|
text = "123456"
|
|
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainer/Exit" to="." method="Exit"]
|