[gd_scene load_steps=5 format=3 uid="uid://dhvk3terpgsp3"] [ext_resource type="Script" path="res://scripts/test_scene.gd" id="1_mj8nf"] [ext_resource type="Script" path="res://scripts/styling.gd" id="2_8602c"] [sub_resource type="LabelSettings" id="LabelSettings_ppp5s"] [sub_resource type="LabelSettings" id="LabelSettings_hep25"] [node name="TestScene" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_mj8nf") [node name="Styling" type="Control" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -20.0 offset_top = -20.0 offset_right = 20.0 offset_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("2_8602c") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 [node name="NMEDisplayArea" type="VBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 [node name="BossNameplate" type="VBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 [node name="NMETitleContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/BossNameplate"] layout_mode = 2 [node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/BossNameplate/NMETitleContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Tier" label_settings = SubResource("LabelSettings_ppp5s") horizontal_alignment = 2 [node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/BossNameplate/NMETitleContainer"] layout_mode = 2 text = "Name " label_settings = SubResource("LabelSettings_hep25") [node name="BossHealthbar" type="TextureProgressBar" parent="MarginContainer/VBoxContainer/NMEDisplayArea/BossNameplate"] layout_mode = 2 [node name="NMEHealthContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/BossNameplate"] layout_mode = 2 [node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/BossNameplate/NMEHealthContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Max Health:" horizontal_alignment = 2 [node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/BossNameplate/NMEHealthContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Value" label_settings = SubResource("LabelSettings_ppp5s") [node name="NMENormalArea" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea"] layout_mode = 2 [node name="NMENameplate" type="VBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea"] layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 6 [node name="NMETitleContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate"] layout_mode = 2 [node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate/NMETitleContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 text = "Tier" label_settings = SubResource("LabelSettings_ppp5s") horizontal_alignment = 2 [node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate/NMETitleContainer"] unique_name_in_owner = true layout_mode = 2 text = "Name " label_settings = SubResource("LabelSettings_hep25") [node name="NMEHealthContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate"] layout_mode = 2 [node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate/NMEHealthContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Max Health:" horizontal_alignment = 2 [node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate/NMEHealthContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 text = "Value" label_settings = SubResource("LabelSettings_ppp5s") [node name="NMENameplate2" type="VBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea"] layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 6 [node name="NMETitleContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate2"] layout_mode = 2 [node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate2/NMETitleContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Tier" label_settings = SubResource("LabelSettings_ppp5s") horizontal_alignment = 2 [node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate2/NMETitleContainer"] layout_mode = 2 text = "Name " label_settings = SubResource("LabelSettings_hep25") [node name="NMEHealthContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate2"] layout_mode = 2 [node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate2/NMEHealthContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Max Health:" horizontal_alignment = 2 [node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate2/NMEHealthContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Value" label_settings = SubResource("LabelSettings_ppp5s") [node name="NMENameplate3" type="VBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea"] layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 6 [node name="NMETitleContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate3"] layout_mode = 2 [node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate3/NMETitleContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Tier" label_settings = SubResource("LabelSettings_ppp5s") horizontal_alignment = 2 [node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate3/NMETitleContainer"] layout_mode = 2 text = "Name " label_settings = SubResource("LabelSettings_hep25") [node name="NMEHealthContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate3"] layout_mode = 2 [node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate3/NMEHealthContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Max Health:" horizontal_alignment = 2 [node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate3/NMEHealthContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Value" label_settings = SubResource("LabelSettings_ppp5s") [node name="NMENameplate4" type="VBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea"] layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 6 [node name="NMETitleContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate4"] layout_mode = 2 [node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate4/NMETitleContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Tier" label_settings = SubResource("LabelSettings_ppp5s") horizontal_alignment = 2 [node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate4/NMETitleContainer"] layout_mode = 2 text = "Name " label_settings = SubResource("LabelSettings_hep25") [node name="NMEHealthContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate4"] layout_mode = 2 [node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate4/NMEHealthContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Max Health:" horizontal_alignment = 2 [node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate4/NMEHealthContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Value" label_settings = SubResource("LabelSettings_ppp5s") [node name="NMENameplate5" type="VBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea"] layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 6 [node name="NMETitleContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate5"] layout_mode = 2 [node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate5/NMETitleContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Tier" label_settings = SubResource("LabelSettings_ppp5s") horizontal_alignment = 2 [node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate5/NMETitleContainer"] layout_mode = 2 text = "Name " label_settings = SubResource("LabelSettings_hep25") [node name="NMEHealthContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate5"] layout_mode = 2 [node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate5/NMEHealthContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Max Health:" horizontal_alignment = 2 [node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMENormalArea/NMENameplate5/NMEHealthContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Value" label_settings = SubResource("LabelSettings_ppp5s") [node name="NMEMinionArea" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea"] layout_mode = 2 size_flags_horizontal = 4 [node name="NMENameplate" type="VBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMEMinionArea"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 [node name="NMETitleContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMEMinionArea/NMENameplate"] layout_mode = 2 [node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMEMinionArea/NMENameplate/NMETitleContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Tier" label_settings = SubResource("LabelSettings_ppp5s") horizontal_alignment = 2 [node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMEMinionArea/NMENameplate/NMETitleContainer"] layout_mode = 2 text = "Name " label_settings = SubResource("LabelSettings_hep25") [node name="NMEHealthContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMEMinionArea/NMENameplate"] layout_mode = 2 [node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMEMinionArea/NMENameplate/NMEHealthContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Max Health:" horizontal_alignment = 2 [node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/NMEDisplayArea/NMEMinionArea/NMENameplate/NMEHealthContainer"] layout_mode = 2 size_flags_vertical = 3 text = "Value" label_settings = SubResource("LabelSettings_ppp5s") [node name="Controls" type="VBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 10 [node name="TestNMEButton" type="Button" parent="MarginContainer/VBoxContainer/Controls"] layout_mode = 2 text = "Generate Random Enemy" [node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer/Controls"] layout_mode = 2 text = "Exit" [connection signal="pressed" from="MarginContainer/VBoxContainer/Controls/TestNMEButton" to="." method="_on_test_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/Controls/ExitButton" to="." method="_on_exit_button_pressed"]