169 lines
5.1 KiB
Text
169 lines
5.1 KiB
Text
[gd_scene load_steps=18 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"]
|
|
[ext_resource type="PackedScene" uid="uid://3oqyqft8w72m" path="res://selectable.tscn" id="3_g5hfc"]
|
|
|
|
[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_ukr0q"]
|
|
offsets = PackedFloat32Array(0.272085)
|
|
colors = PackedColorArray(0.202521, 0.371426, 0.429081, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_4lgr0"]
|
|
gradient = SubResource("Gradient_ukr0q")
|
|
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.0372881)
|
|
colors = PackedColorArray(0.466181, 0.466181, 0.466181, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_p6qcv"]
|
|
gradient = SubResource("Gradient_qkope")
|
|
width = 1152
|
|
|
|
[sub_resource type="Gradient" id="Gradient_wb6aq"]
|
|
offsets = PackedFloat32Array(0.0372881)
|
|
colors = PackedColorArray(0.281175, 0.300745, 0.258554, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ij864"]
|
|
gradient = SubResource("Gradient_wb6aq")
|
|
width = 1152
|
|
|
|
[sub_resource type="Gradient" id="Gradient_b76e3"]
|
|
offsets = PackedFloat32Array(0.0881356)
|
|
colors = PackedColorArray(0.0885599, 0.0885599, 0.0885599, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_soglf"]
|
|
gradient = SubResource("Gradient_b76e3")
|
|
width = 1
|
|
|
|
[sub_resource type="Gradient" id="Gradient_fq5io"]
|
|
offsets = PackedFloat32Array(0.272085)
|
|
colors = PackedColorArray(0.202521, 0.371426, 0.429081, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ty4ro"]
|
|
gradient = SubResource("Gradient_fq5io")
|
|
width = 100
|
|
height = 200
|
|
fill_from = Vector2(0.5, 0)
|
|
fill_to = Vector2(0.5, 1)
|
|
|
|
[sub_resource type="Gradient" id="Gradient_ncwe7"]
|
|
offsets = PackedFloat32Array(0.282686)
|
|
colors = PackedColorArray(0.368627, 0, 0, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ftstk"]
|
|
gradient = SubResource("Gradient_ncwe7")
|
|
width = 170
|
|
height = 170
|
|
|
|
[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="RoomFloor" type="Sprite2D" parent="Room"]
|
|
position = Vector2(576, 325.25)
|
|
scale = Vector2(1.001, 652)
|
|
texture = SubResource("GradientTexture1D_p6qcv")
|
|
|
|
[node name="RoomWall" type="Sprite2D" parent="Room"]
|
|
position = Vector2(578, -71)
|
|
scale = Vector2(1.001, 652)
|
|
texture = SubResource("GradientTexture1D_ij864")
|
|
|
|
[node name="Shelves" type="Sprite2D" parent="Room"]
|
|
position = Vector2(1004, 324.5)
|
|
scale = Vector2(300, 655)
|
|
texture = SubResource("GradientTexture1D_soglf")
|
|
|
|
[node name="Undead" type="Sprite2D" parent="Room"]
|
|
position = Vector2(242, 258)
|
|
texture = SubResource("GradientTexture2D_ty4ro")
|
|
|
|
[node name="Selectable" parent="Room/Undead" instance=ExtResource("3_g5hfc")]
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Room/Undead/Selectable"]
|
|
polygon = PackedVector2Array(-50, 100, -50, -100, 50, -100, 50, 100)
|
|
|
|
[node name="Label" type="Label" parent="Room/Undead"]
|
|
offset_top = 2.0
|
|
offset_right = 40.0
|
|
offset_bottom = 25.0
|
|
text = "Bob"
|
|
|
|
[node name="RitualPlace" type="Sprite2D" parent="Room"]
|
|
position = Vector2(469, 390)
|
|
texture = SubResource("GradientTexture2D_ftstk")
|
|
|
|
[node name="Selectable" parent="Room/RitualPlace" instance=ExtResource("3_g5hfc")]
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Room/RitualPlace/Selectable"]
|
|
polygon = PackedVector2Array(-85, 85, -85, -85, 85, -85, 85, 85)
|
|
|
|
[node name="Label" type="Label" parent="Room/RitualPlace"]
|
|
offset_left = -41.0
|
|
offset_top = 44.0
|
|
offset_right = 49.0
|
|
offset_bottom = 67.0
|
|
text = "Ritual place"
|