[gd_scene load_steps=9 format=3 uid="uid://w3ntt1yh1nq7"] [ext_resource type="Script" path="res://dialog.gd" id="1_0qabl"] [ext_resource type="Script" path="res://main.gd" id="1_dp5o4"] [sub_resource type="Gradient" id="Gradient_cuqb1"] offsets = PackedFloat32Array(0) colors = PackedColorArray(0, 0, 0, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_30ci2"] gradient = SubResource("Gradient_cuqb1") width = 1152 [sub_resource type="Gradient" id="Gradient_i35qq"] offsets = PackedFloat32Array(0.159011) colors = PackedColorArray(0.344076, 0.344076, 0.344076, 1) [sub_resource type="GradientTexture2D" id="GradientTexture2D_4lgr0"] gradient = SubResource("Gradient_i35qq") width = 200 height = 400 fill_from = Vector2(0.5, 0) fill_to = Vector2(0.5, 1) [sub_resource type="Gradient" id="Gradient_qkope"] offsets = PackedFloat32Array(0) colors = PackedColorArray(0.466181, 0.466181, 0.466181, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_p6qcv"] gradient = SubResource("Gradient_qkope") width = 1152 [node name="Main" type="Node2D"] script = ExtResource("1_dp5o4") [node name="UI" type="Control" parent="."] top_level = true layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="TextBox" type="MarginContainer" parent="UI"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -259.0 offset_top = -33.0 offset_right = 259.0 grow_horizontal = 2 grow_vertical = 0 theme_override_constants/margin_left = 5 theme_override_constants/margin_top = 5 theme_override_constants/margin_right = 5 theme_override_constants/margin_bottom = 5 [node name="TextBoxLabel" type="RichTextLabel" parent="UI/TextBox"] unique_name_in_owner = true layout_mode = 2 text = "Test" [node name="Dialog" type="Node2D" parent="."] script = ExtResource("1_0qabl") [node name="BlackBackground" type="Sprite2D" parent="Dialog"] position = Vector2(576, 325.25) scale = Vector2(1.001, 652) texture = SubResource("GradientTexture1D_30ci2") [node name="Undead" type="Sprite2D" parent="Dialog"] position = Vector2(587, 291) texture = SubResource("GradientTexture2D_4lgr0") [node name="Label" type="Label" parent="Dialog/Undead"] offset_left = -17.0 offset_top = -34.0 offset_right = 23.0 offset_bottom = -11.0 text = "Bob" [node name="Room" type="Node2D" parent="."] [node name="RoomBackground" type="Sprite2D" parent="Room"] position = Vector2(576, 325.25) scale = Vector2(1.001, 652) texture = SubResource("GradientTexture1D_p6qcv") [node name="Undead" type="Sprite2D" parent="Room"] position = Vector2(237, 260) scale = Vector2(0.5, 0.5) texture = SubResource("GradientTexture2D_4lgr0") [node name="Label" type="Label" parent="Room/Undead"] offset_top = 2.0 offset_right = 40.0 offset_bottom = 25.0 text = "Bob"