semi-idle-arpg/scenes/testScene.tscn

103 lines
3.4 KiB
Plaintext

[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_hep25"]
[sub_resource type="LabelSettings" id="LabelSettings_ppp5s"]
[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="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
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="TestNMEContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
[node name="TestNMEValBox" type="HBoxContainer" parent="MarginContainer/VBoxContainer/TestNMEContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
[node name="TestNMELabels" type="VBoxContainer" parent="MarginContainer/VBoxContainer/TestNMEContainer/TestNMEValBox"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
[node name="TestNMEName" type="Label" parent="MarginContainer/VBoxContainer/TestNMEContainer/TestNMEValBox/TestNMELabels"]
unique_name_in_owner = true
layout_mode = 2
text = "Name
"
label_settings = SubResource("LabelSettings_hep25")
horizontal_alignment = 2
[node name="TestNMEMaxHealth" type="Label" parent="MarginContainer/VBoxContainer/TestNMEContainer/TestNMEValBox/TestNMELabels"]
layout_mode = 2
size_flags_horizontal = 8
text = "Max Health:"
horizontal_alignment = 2
[node name="TestNMEVals" type="VBoxContainer" parent="MarginContainer/VBoxContainer/TestNMEContainer/TestNMEValBox"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
[node name="TestNMETierVal" type="Label" parent="MarginContainer/VBoxContainer/TestNMEContainer/TestNMEValBox/TestNMEVals"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
text = "Value"
label_settings = SubResource("LabelSettings_ppp5s")
[node name="TestNMEMaxHealthVal" type="Label" parent="MarginContainer/VBoxContainer/TestNMEContainer/TestNMEValBox/TestNMEVals"]
unique_name_in_owner = true
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"]