This commit is contained in:
2026-03-09 11:57:48 -07:00
parent 041c0ebbdb
commit 7203c843ec
10 changed files with 246 additions and 21 deletions

View File

@@ -72,6 +72,19 @@ font_size = 32
outline_size = 5
outline_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_narrator"]
bg_color = Color(0, 0, 0, 0.75)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="LabelSettings" id="LabelSettings_narrator"]
font = ExtResource("5_0olt8")
font_size = 28
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[node name="Node2D" type="Node2D" unique_id=826166852]
script = ExtResource("2")
@@ -136,3 +149,36 @@ script = ExtResource("5_rglkg")
[node name="dialogue" parent="." unique_id=186154081 instance=ExtResource("7_fj12q")]
position = Vector2(328, 106)
scale = Vector2(0.75, 0.75)
[node name="NarratorOverlay" type="CanvasLayer" parent="." unique_id=987654321]
layer = 10
[node name="Panel" type="Panel" parent="NarratorOverlay" unique_id=987654322]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -600.0
offset_top = -120.0
offset_right = 600.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_narrator")
[node name="Label" type="Label" parent="NarratorOverlay/Panel" unique_id=987654323]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 20.0
offset_top = 15.0
offset_right = -20.0
offset_bottom = -15.0
grow_horizontal = 2
grow_vertical = 2
label_settings = SubResource("LabelSettings_narrator")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 3