chill-jam-10-2024/prefabs/Dialog.tscn

65 lines
2.1 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://cmn7af4dsj8v2"]
[ext_resource type="FontFile" uid="uid://dwn20pw40jpxm" path="res://fonts/ZxSpectrum7-nROZ0.ttf" id="1_e4s1h"]
[ext_resource type="Script" path="res://scripts/Dialog.cs" id="2_a35aq"]
[sub_resource type="Theme" id="Theme_gtdw8"]
default_font = ExtResource("1_e4s1h")
default_font_size = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tctyf"]
bg_color = Color(0.532017, 0.646565, 0.382003, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yovy8"]
bg_color = Color(0.704854, 0.51027, 0.802981, 1)
[sub_resource type="LabelSettings" id="LabelSettings_8nvov"]
font = ExtResource("1_e4s1h")
font_size = 10
outline_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dk342"]
bg_color = Color(0.906641, 0.460702, 0.0359737, 1)
[node name="Dialog" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -544.0
offset_bottom = -443.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
theme = SubResource("Theme_gtdw8")
theme_override_styles/panel = SubResource("StyleBoxFlat_tctyf")
script = ExtResource("2_a35aq")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_yovy8")
[node name="TextBox" type="Label" parent="VBoxContainer/PanelContainer"]
custom_minimum_size = Vector2(96, 10)
layout_mode = 2
text = "Placeholder text"
label_settings = SubResource("LabelSettings_8nvov")
autowrap_mode = 3
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_dk342")
[node name="AuthorBox" type="Label" parent="VBoxContainer/HBoxContainer/PanelContainer"]
custom_minimum_size = Vector2(96, 10)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
text = "NPC name"
autowrap_mode = 3