Двери, начальная реализация диалогов, обновление ресурсов
This commit is contained in:
parent
cf7f3bee5b
commit
aa948eb252
25 changed files with 755 additions and 74 deletions
42
prefabs/Dialog.tscn
Normal file
42
prefabs/Dialog.tscn
Normal file
|
@ -0,0 +1,42 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://cmn7af4dsj8v2"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://dwn20pw40jpxm" path="res://fonts/ZxSpectrum7-nROZ0.ttf" id="1_e4s1h"]
|
||||
|
||||
[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="LabelSettings" id="LabelSettings_8nvov"]
|
||||
font = ExtResource("1_e4s1h")
|
||||
font_size = 10
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="Dialog" type="PanelContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -544.0
|
||||
offset_bottom = -451.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = SubResource("Theme_gtdw8")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_tctyf")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Test dialog"
|
||||
label_settings = SubResource("LabelSettings_8nvov")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "NPC name"
|
Loading…
Add table
Add a link
Reference in a new issue