47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cbjae7oyakpfw"]
|
|
|
|
[ext_resource type="Script" uid="uid://c5wglrsnl38v2" path="res://scenes/managers/ui/level_up_choice.gd" id="1_afnb8"]
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_a1rnr"]
|
|
size = Vector2(64, 64)
|
|
|
|
[node name="LevelUpChoice" type="PanelContainer"]
|
|
offset_right = 220.0
|
|
offset_bottom = 270.0
|
|
script = ExtResource("1_afnb8")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="UpgradeName" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "+10% Area of attack"
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="UpgradeTex" type="TextureRect" parent="MarginContainer/VBoxContainer/CenterContainer"]
|
|
layout_mode = 2
|
|
texture = SubResource("PlaceholderTexture2D_a1rnr")
|
|
stretch_mode = 4
|
|
|
|
[node name="UpgradeDescription" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(200, 100)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 8
|
|
text = "Bla bla, this gives you 10% bigger attacks lol"
|
|
autowrap_mode = 2
|
|
|
|
[node name="PickButton" type="Button" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Pick"
|
|
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/PickButton" to="." method="_on_pick_button_pressed"]
|