57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://ba27ufs8eak0b"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/character.gd" id="2_bft53"]
|
|
|
|
[node name="Character" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("2_bft53")
|
|
|
|
[node name="CharacterPanel" type="PanelContainer" 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 = 567.0
|
|
offset_top = 300.0
|
|
offset_right = 675.0
|
|
offset_bottom = 350.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CharacterPanel"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="CharacterName" type="Label" parent="CharacterPanel/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Name"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="CharacterPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="CharacterCurrHealth" type="Label" parent="CharacterPanel/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Current"
|
|
|
|
[node name="CharacterHealthSep" type="Label" parent="CharacterPanel/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "/"
|
|
|
|
[node name="CharacterMaxHealth" type="Label" parent="CharacterPanel/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Max
|
|
"
|