88 lines
2.7 KiB
Plaintext
88 lines
2.7 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://bdhok2nkoirl0"]
|
|
|
|
[ext_resource type="Script" path="res://PermUpgrade/PermUpgrade.gd" id="1_g7x2d"]
|
|
[ext_resource type="Theme" uid="uid://cfvww0geatnnk" path="res://MainTheme.tres" id="2_ie5gk"]
|
|
[ext_resource type="Texture2D" uid="uid://ct1ksbbjc61lr" path="res://Brick/ShinyBrick.png" id="3_cpl7n"]
|
|
[ext_resource type="Texture2D" uid="uid://cipjurqgguse7" path="res://Brick/BaseBrick.png" id="4_wqhv2"]
|
|
|
|
[node name="PermUpgrade" type="PanelContainer"]
|
|
offset_right = 128.0
|
|
offset_bottom = 26.0
|
|
theme = ExtResource("2_ie5gk")
|
|
theme_type_variation = &"UpgradeContainer"
|
|
script = ExtResource("1_g7x2d")
|
|
|
|
[node name="Container" type="VBoxContainer" parent="."]
|
|
custom_minimum_size = Vector2(128, 0)
|
|
layout_mode = 2
|
|
theme = ExtResource("2_ie5gk")
|
|
theme_type_variation = &"UpgradePanel"
|
|
|
|
[node name="Name" type="Label" parent="Container"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_ie5gk")
|
|
text = "Lives"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Status" type="Label" parent="Container"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_ie5gk")
|
|
text = "3"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Level5" type="TextureRect" parent="Container"]
|
|
modulate = Color(1, 0.843137, 0, 1)
|
|
custom_minimum_size = Vector2(32, 16)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
texture = ExtResource("3_cpl7n")
|
|
stretch_mode = 2
|
|
|
|
[node name="Level4" type="TextureRect" parent="Container"]
|
|
modulate = Color(0.752941, 0.752941, 0.752941, 1)
|
|
custom_minimum_size = Vector2(32, 16)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
texture = ExtResource("3_cpl7n")
|
|
stretch_mode = 2
|
|
|
|
[node name="Level3" type="TextureRect" parent="Container"]
|
|
modulate = Color(1, 0, 0, 1)
|
|
custom_minimum_size = Vector2(32, 16)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
texture = ExtResource("4_wqhv2")
|
|
stretch_mode = 2
|
|
|
|
[node name="Level2" type="TextureRect" parent="Container"]
|
|
modulate = Color(0.254902, 0.411765, 0.882353, 1)
|
|
custom_minimum_size = Vector2(32, 16)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
texture = ExtResource("4_wqhv2")
|
|
stretch_mode = 2
|
|
|
|
[node name="Level1" type="TextureRect" parent="Container"]
|
|
modulate = Color(0, 0.74902, 0, 1)
|
|
custom_minimum_size = Vector2(32, 16)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
texture = ExtResource("4_wqhv2")
|
|
stretch_mode = 2
|
|
|
|
[node name="Cost" type="Button" parent="Container"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_ie5gk")
|
|
text = "10"
|
|
|
|
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
|
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|
|
[connection signal="pressed" from="Container/Cost" to="." method="_on_cost_pressed"]
|