Files
DungeonCrawlerWorld/scenes/ui/CharacterPanel.tscn

60 lines
1.7 KiB
Plaintext

[gd_scene load_steps=4 format=3]
[ext_resource type="Script" path="res://scripts/presentation/character_panel.gd" id="1_character"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/panel_64x64_nine_patch_source.png" id="2_panel"]
[sub_resource type="StyleBoxTexture" id="StyleBox_character_panel"]
texture = ExtResource("2_panel")
texture_margin_left = 10.0
texture_margin_top = 10.0
texture_margin_right = 10.0
texture_margin_bottom = 10.0
modulate_color = Color(0.22, 0.2, 0.16, 0.98)
[node name="CharacterPanel" type="PanelContainer"]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -360.0
offset_top = -320.0
offset_right = 360.0
offset_bottom = 320.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBox_character_panel")
script = ExtResource("1_character")
[node name="Title" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_left = 0.5
anchor_right = 0.5
offset_left = -310.0
offset_top = 22.0
offset_right = 310.0
offset_bottom = 54.0
grow_horizontal = 2
theme_override_colors/font_color = Color(1, 0.88, 0.52, 1)
theme_override_colors/font_outline_color = Color(0.08, 0.045, 0.015, 1)
theme_override_constants/outline_size = 3
theme_override_font_sizes/font_size = 24
horizontal_alignment = 1
[node name="Body" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 42.0
offset_top = 76.0
offset_right = -42.0
offset_bottom = -30.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/default_color = Color(0.95, 0.93, 0.8, 1)
theme_override_font_sizes/normal_font_size = 18