[gd_scene load_steps=7 format=3 uid="uid://bc52c4jrk6lo"] [ext_resource type="Script" path="res://script/ui/upgrade_menu.cs" id="1_aupyl"] [ext_resource type="FontFile" uid="uid://be6xxaq8drt5q" path="res://assets/Fonts/Kenney Pixel Square.ttf" id="1_rlo6h"] [ext_resource type="FontFile" uid="uid://dtpvg4lmre10g" path="res://assets/Fonts/Kenney Future Narrow.ttf" id="2_m2s84"] [sub_resource type="LabelSettings" id="LabelSettings_6mqtv"] font = ExtResource("1_rlo6h") font_size = 28 [sub_resource type="LabelSettings" id="LabelSettings_40vj8"] font = ExtResource("2_m2s84") [sub_resource type="Theme" id="Theme_olqqp"] default_font = ExtResource("2_m2s84") [node name="UpgradeMenu" type="CenterContainer"] process_mode = 2 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_right = -1520.0 offset_bottom = -880.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_aupyl") [node name="ColorRect" type="ColorRect" parent="."] custom_minimum_size = Vector2(400, 200) layout_mode = 2 color = Color(0.231373, 0.219608, 0.203922, 1) [node name="VBox" type="VBoxContainer" parent="."] layout_mode = 2 [node name="Label" type="Label" parent="VBox"] layout_mode = 2 text = "Upgrade" label_settings = SubResource("LabelSettings_6mqtv") horizontal_alignment = 1 [node name="VSeparator" type="VSeparator" parent="VBox"] visibility_layer = 0 custom_minimum_size = Vector2(0, 30) layout_mode = 2 [node name="HBox" type="HBoxContainer" parent="VBox"] layout_mode = 2 [node name="Health" type="VBoxContainer" parent="VBox/HBox"] layout_mode = 2 [node name="HealthLabel" type="Label" parent="VBox/HBox/Health"] layout_mode = 2 text = "Health" label_settings = SubResource("LabelSettings_40vj8") horizontal_alignment = 1 [node name="HealthStat" type="Label" parent="VBox/HBox/Health"] layout_mode = 2 text = "+ 0%" label_settings = SubResource("LabelSettings_40vj8") horizontal_alignment = 1 [node name="HealthUpgrade" type="Button" parent="VBox/HBox/Health"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 theme = SubResource("Theme_olqqp") text = "+10%" [node name="Damage" type="VBoxContainer" parent="VBox/HBox"] layout_mode = 2 [node name="DamageLabel" type="Label" parent="VBox/HBox/Damage"] layout_mode = 2 text = "Damage " label_settings = SubResource("LabelSettings_40vj8") horizontal_alignment = 1 [node name="DamageStat" type="Label" parent="VBox/HBox/Damage"] layout_mode = 2 text = "+ 0%" label_settings = SubResource("LabelSettings_40vj8") horizontal_alignment = 1 [node name="DamageUpgrade" type="Button" parent="VBox/HBox/Damage"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 theme = SubResource("Theme_olqqp") text = "+10%" [node name="Speed" type="VBoxContainer" parent="VBox/HBox"] layout_mode = 2 [node name="SpeedLabel" type="Label" parent="VBox/HBox/Speed"] layout_mode = 2 text = "Speed" label_settings = SubResource("LabelSettings_40vj8") horizontal_alignment = 1 [node name="SpeedStat" type="Label" parent="VBox/HBox/Speed"] layout_mode = 2 text = "+ 0%" label_settings = SubResource("LabelSettings_40vj8") horizontal_alignment = 1 [node name="SpeedUpgrade" type="Button" parent="VBox/HBox/Speed"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 theme = SubResource("Theme_olqqp") text = "+10%"