343 lines
13 KiB
Plaintext
343 lines
13 KiB
Plaintext
[gd_scene load_steps=35 format=3 uid="uid://cd08dp16bixfv"]
|
|
|
|
[ext_resource type="Script" uid="uid://ccorfvcfa84gf" path="res://scripts/guildhall.gd" id="1_lsinl"]
|
|
[ext_resource type="Script" uid="uid://dolqtw1ye4ras" path="res://scripts/player.gd" id="2_5n4iw"]
|
|
[ext_resource type="Shader" uid="uid://cenbje61a2wi6" path="res://shaders/void_composite.gdshader" id="2_ggqxp"]
|
|
[ext_resource type="Texture2D" uid="uid://83ayd5rg7x8l" path="res://graphics/reception-table.png" id="3_13vc8"]
|
|
[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://graphics/basic-sprite.png" id="4_l3mu1"]
|
|
[ext_resource type="PackedScene" uid="uid://cf6nnjyp8kv78" path="res://templates/receptionist.tscn" id="5_l3mu1"]
|
|
[ext_resource type="Script" uid="uid://2g4ja3a7o2l" path="res://scripts/void_ripple.gd" id="5_nfvtf"]
|
|
[ext_resource type="Texture2D" uid="uid://do4gn21x5bmdm" path="res://graphics/first-guild-base.png" id="6_lsfle"]
|
|
[ext_resource type="PackedScene" uid="uid://b3mksvn2jf7e0" path="res://templates/quest_board.tscn" id="7_hph4e"]
|
|
[ext_resource type="Script" uid="uid://dyn5wwocvkqds" path="res://scripts/guild_facade.gd" id="7_o230c"]
|
|
[ext_resource type="Texture2D" uid="uid://bg5ip7ni3n7qd" path="res://graphics/first-guild-front.png" id="8_nfvtf"]
|
|
[ext_resource type="Script" uid="uid://bh54wpqgau8hc" path="res://scripts/npc.gd" id="8_nhrwr"]
|
|
[ext_resource type="Texture2D" uid="uid://dcrhry67g00vk" path="res://graphics/pom.png" id="9_4bidn"]
|
|
[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="10_6hdsl"]
|
|
[ext_resource type="Shader" uid="uid://hr8vdp56p4yo" path="res://shaders/void.tres" id="12_0ydii"]
|
|
[ext_resource type="Texture2D" uid="uid://bbh444vapab3y" path="res://graphics/voidcircle.png" id="13_0xaku"]
|
|
[ext_resource type="Shader" uid="uid://dvdm8x66gwu2v" path="res://shaders/starfield.tres" id="14_0aygh"]
|
|
[ext_resource type="Texture2D" uid="uid://bhupleoa6pkkb" path="res://external/test_star.png" id="15_b2pr6"]
|
|
[ext_resource type="Texture2D" uid="uid://ct7y401wpmcdf" path="res://external/test_star2.png" id="16_b2pr6"]
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_0ydii"]
|
|
viewport_path = NodePath("SubViewport")
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_28dkg"]
|
|
resource_local_to_scene = true
|
|
shader = ExtResource("12_0ydii")
|
|
shader_parameter/void_view = SubResource("ViewportTexture_0ydii")
|
|
|
|
[sub_resource type="Curve" id="Curve_0aygh"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nfvtf"]
|
|
shader = ExtResource("2_ggqxp")
|
|
shader_parameter/line_thickness = 3.0000001425
|
|
shader_parameter/line_color = Color(0.7666664, 0, 1, 1)
|
|
|
|
[sub_resource type="Gradient" id="Gradient_ggqxp"]
|
|
offsets = PackedFloat32Array(0, 0.27842227, 0.7447796, 0.9976798, 1)
|
|
colors = PackedColorArray(1, 0, 1, 1, 0.6414714, 0, 1, 1, 0.3529412, 0, 1, 1, 0.13464576, 8.6924134e-05, 0.43542284, 1, 0.3529412, 0, 1, 1)
|
|
|
|
[sub_resource type="NavigationPolygon" id="NavigationPolygon_28dkg"]
|
|
vertices = PackedVector2Array(687, 5, 689, -0.328125, 689, 12, 318, 11, 318, 10.8515625, 338, 48, 302, 51, 307, 31, 399, 431, 305, 431, 533, -14, 617.5, -14, 617, -13, 530, 8, 529.65625, -14.1953125, 617, -2, 621, 5, 702, 15, 703, 416, 694, 416, 454, 75, 510, 47, 493, 432, 493, 578, 399, 578, 694, 431, 392, 75)
|
|
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5), PackedInt32Array(6, 7, 3, 5, 8, 9), PackedInt32Array(10, 11, 12), PackedInt32Array(13, 14, 10, 15, 16), PackedInt32Array(17, 18, 19, 20, 21, 2), PackedInt32Array(22, 23, 24, 8, 20), PackedInt32Array(19, 25, 22, 20), PackedInt32Array(8, 5, 26), PackedInt32Array(8, 26, 20), PackedInt32Array(10, 12, 15), PackedInt32Array(0, 2, 21, 13, 16)])
|
|
outlines = Array[PackedVector2Array]([PackedVector2Array(689, 12, 702, 15, 703, 416, 694, 416, 694, 431, 493, 432, 493, 578, 399, 578, 399, 431, 305, 431, 302, 51, 307, 31, 318, 11, 318, -27, 533, -14, 689, -14)])
|
|
source_geometry_mode = 2
|
|
source_geometry_group_name = &"room_obstacles"
|
|
agent_radius = 0.0
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_a3e6t"]
|
|
size = Vector2(211, 203)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lsfle"]
|
|
size = Vector2(91.5, 203)
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_l3mu1"]
|
|
radius = 15.0
|
|
height = 54.0
|
|
|
|
[sub_resource type="Gradient" id="Gradient_28dkg"]
|
|
offsets = PackedFloat32Array(0, 0.15085158, 0.63017035, 1)
|
|
colors = PackedColorArray(0, 0, 0, 1, 0, 0.07479378, 0.21630663, 1, 0.11818864, 0.00013856843, 0.3326036, 1, 1.1310726e-06, 1.2032687e-07, 0.37330782, 1)
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ggqxp"]
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_lsfle"]
|
|
width = 384
|
|
height = 216
|
|
noise = SubResource("FastNoiseLite_ggqxp")
|
|
color_ramp = SubResource("Gradient_28dkg")
|
|
seamless = true
|
|
normalize = false
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ggqxp"]
|
|
shader = ExtResource("14_0aygh")
|
|
shader_parameter/stars_speed = Vector2(25, 0)
|
|
shader_parameter/stars_density = 0.0050000002375
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b2pr6"]
|
|
shader = ExtResource("14_0aygh")
|
|
shader_parameter/stars_speed = Vector2(10, 0)
|
|
shader_parameter/stars_density = 0.0030000001425
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_o230c"]
|
|
shader = ExtResource("14_0aygh")
|
|
shader_parameter/stars_speed = Vector2(15, 0)
|
|
shader_parameter/stars_density = 0.0
|
|
|
|
[node name="Guildhall" type="Node2D"]
|
|
script = ExtResource("1_lsinl")
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
layer = -1
|
|
scale = Vector2(2, 2)
|
|
transform = Transform2D(2, 0, 0, 2, 0, 0)
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -801.5
|
|
offset_top = -413.5
|
|
offset_right = -801.5
|
|
offset_bottom = -413.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0.018666686, 0, 0.08, 1)
|
|
|
|
[node name="CPUParticles2D2" type="CPUParticles2D" parent="."]
|
|
visible = false
|
|
material = SubResource("ShaderMaterial_28dkg")
|
|
position = Vector2(-800, 176)
|
|
scale = Vector2(4.9999995, 4.9999995)
|
|
amount = 1000
|
|
texture = ExtResource("13_0xaku")
|
|
preprocess = 5.0
|
|
speed_scale = 0.13
|
|
emission_shape = 2
|
|
emission_sphere_radius = 30.0
|
|
spread = 180.0
|
|
gravity = Vector2(0, 0)
|
|
initial_velocity_min = 100.0
|
|
initial_velocity_max = 120.0
|
|
linear_accel_min = -300.0
|
|
linear_accel_max = -150.0
|
|
scale_amount_min = 1.1
|
|
scale_amount_max = 4.2
|
|
scale_amount_curve = SubResource("Curve_0aygh")
|
|
|
|
[node name="CanvasGroup" type="CanvasGroup" parent="."]
|
|
texture_filter = 4
|
|
material = SubResource("ShaderMaterial_nfvtf")
|
|
position = Vector2(509, 176)
|
|
|
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="CanvasGroup"]
|
|
material = SubResource("ShaderMaterial_28dkg")
|
|
scale = Vector2(5, 5)
|
|
amount = 1000
|
|
texture = ExtResource("13_0xaku")
|
|
preprocess = 5.0
|
|
speed_scale = 0.13
|
|
emission_shape = 2
|
|
emission_sphere_radius = 30.0
|
|
spread = 180.0
|
|
gravity = Vector2(0, 0)
|
|
initial_velocity_min = 100.0
|
|
initial_velocity_max = 120.0
|
|
linear_accel_min = -300.0
|
|
linear_accel_max = -150.0
|
|
scale_amount_min = 1.1
|
|
scale_amount_max = 4.2
|
|
scale_amount_curve = SubResource("Curve_0aygh")
|
|
|
|
[node name="VoidRipple" type="Node2D" parent="."]
|
|
z_index = 1
|
|
script = ExtResource("5_nfvtf")
|
|
speed = 0.01000000000931322
|
|
ripple_width = 4.5
|
|
gradient = SubResource("Gradient_ggqxp")
|
|
|
|
[node name="Center" type="Node2D" parent="VoidRipple"]
|
|
position = Vector2(486, 158)
|
|
|
|
[node name="Line2D" type="Line2D" parent="VoidRipple"]
|
|
visible = false
|
|
points = PackedVector2Array(312, 440, 312, 480, 241, 479, 250, 417, 279, 417, 253, 17, 244, 17, 241, -51, 303, -51, 306, -21, 701, -20, 701, -47, 771, -47, 770, 16, 759, 17, 732, 418, 763, 419, 769, 482, 700, 481, 698, 441, 543, 441, 544, 454, 507, 454, 501, 439, 389, 439, 385, 452, 347, 452, 347, 440, 312, 440)
|
|
width = 5.0
|
|
|
|
[node name="Line2D2" type="Line2D" parent="VoidRipple"]
|
|
z_index = -1
|
|
points = PackedVector2Array(312, 440, 312, 480, 241, 479, 250, 417, 279, 417, 253, 17, 244, 17, 241, -51, 303, -51, 306, -21, 701, -20, 701, -47, 771, -47, 770, 16, 759, 17, 732, 418, 763, 419, 769, 482, 700, 481, 698, 441, 543, 441, 544, 454, 507, 454, 501, 439, 389, 439, 385, 452, 347, 452, 347, 440, 312, 440)
|
|
width = 50.0
|
|
default_color = Color(0, 0, 0, 0.46666667)
|
|
joint_mode = 2
|
|
round_precision = 16
|
|
antialiased = true
|
|
|
|
[node name="RoomRegion" type="NavigationRegion2D" parent="."]
|
|
z_index = 1
|
|
navigation_polygon = SubResource("NavigationPolygon_28dkg")
|
|
|
|
[node name="Base" type="Sprite2D" parent="."]
|
|
z_index = 1
|
|
position = Vector2(505, 107)
|
|
texture = ExtResource("6_lsfle")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
z_index = 50
|
|
position = Vector2(473, 427)
|
|
script = ExtResource("7_o230c")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(130.5, -78.5)
|
|
shape = SubResource("RectangleShape2D_a3e6t")
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(-127.25, -78.5)
|
|
shape = SubResource("RectangleShape2D_lsfle")
|
|
|
|
[node name="Front" type="Sprite2D" parent="Area2D"]
|
|
z_index = 1
|
|
position = Vector2(32, -86)
|
|
texture = ExtResource("8_nfvtf")
|
|
|
|
[node name="Sprites" type="Node2D" parent="."]
|
|
z_index = 20
|
|
y_sort_enabled = true
|
|
|
|
[node name="Npc" type="CharacterBody2D" parent="Sprites"]
|
|
z_index = 1
|
|
position = Vector2(357, -27)
|
|
script = ExtResource("8_nhrwr")
|
|
metadata/_custom_type_script = "uid://bh54wpqgau8hc"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprites/Npc"]
|
|
position = Vector2(1, 16)
|
|
rotation = 1.5707964
|
|
shape = SubResource("CapsuleShape2D_l3mu1")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Npc"]
|
|
texture = ExtResource("9_4bidn")
|
|
|
|
[node name="SpeechBubble" parent="Sprites/Npc" instance=ExtResource("10_6hdsl")]
|
|
position = Vector2(44, -93)
|
|
|
|
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="Sprites/Npc"]
|
|
path_desired_distance = 30.0
|
|
avoidance_enabled = true
|
|
|
|
[node name="Reception Desk" type="StaticBody2D" parent="Sprites"]
|
|
position = Vector2(423, -4)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Reception Desk"]
|
|
position = Vector2(0, 92)
|
|
texture = ExtResource("3_13vc8")
|
|
offset = Vector2(0, -80)
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprites/Reception Desk"]
|
|
position = Vector2(0, 92)
|
|
polygon = PackedVector2Array(-41, -146, -105, -146, -106, -80, -85, -41, -31, -14, 31, -14, 87, -42, 107, -81, 106, -146, 41, -146, 40, -113, 27, -95, -27, -95, -41, -115)
|
|
|
|
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="Sprites/Reception Desk" groups=["room_obstacles"]]
|
|
position = Vector2(0, 93)
|
|
vertices = PackedVector2Array(-105, -146, -106, -80, -85, -41, -31, -14, 31, -14, 87, -42, 107, -81, 106, -146)
|
|
affect_navigation_mesh = true
|
|
carve_navigation_mesh = true
|
|
|
|
[node name="Receptionist" parent="Sprites" instance=ExtResource("5_l3mu1")]
|
|
z_index = -1
|
|
position = Vector2(424, 12)
|
|
|
|
[node name="Queue" parent="Sprites/Receptionist" index="3"]
|
|
position = Vector2(0, 97)
|
|
|
|
[node name="Player" type="CharacterBody2D" parent="Sprites"]
|
|
position = Vector2(451, 430)
|
|
script = ExtResource("2_5n4iw")
|
|
stop_range = 15.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprites/Player"]
|
|
rotation = 1.5707964
|
|
shape = SubResource("CapsuleShape2D_l3mu1")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Player"]
|
|
position = Vector2(0, -43)
|
|
texture = ExtResource("4_l3mu1")
|
|
|
|
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="Sprites/Player"]
|
|
path_desired_distance = 30.0
|
|
avoidance_enabled = true
|
|
|
|
[node name="Quest Board" parent="Sprites" instance=ExtResource("7_hph4e")]
|
|
position = Vector2(654, -2)
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="."]
|
|
size = Vector2i(3840, 2160)
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="SubViewport"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0, 0, 0.12941177, 1)
|
|
|
|
[node name="Parallax2D" type="Parallax2D" parent="SubViewport"]
|
|
repeat_size = Vector2(1920, 1080)
|
|
autoscroll = Vector2(-10, 0)
|
|
follow_viewport = false
|
|
ignore_camera_scroll = true
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="SubViewport/Parallax2D"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = 1920.0
|
|
offset_bottom = 1080.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = SubResource("NoiseTexture2D_lsfle")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="SubViewport"]
|
|
modulate = Color(0.45840502, 0.45840508, 0.45840502, 1)
|
|
material = SubResource("ShaderMaterial_ggqxp")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("15_b2pr6")
|
|
|
|
[node name="TextureRect4" type="TextureRect" parent="SubViewport"]
|
|
modulate = Color(0.45840502, 0.45840508, 0.45840502, 1)
|
|
material = SubResource("ShaderMaterial_b2pr6")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("15_b2pr6")
|
|
|
|
[node name="TextureRect3" type="TextureRect" parent="SubViewport"]
|
|
material = SubResource("ShaderMaterial_o230c")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("16_b2pr6")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
|
[connection signal="body_exited" from="Area2D" to="Area2D" method="_on_body_exited"]
|
|
|
|
[editable path="Sprites/Receptionist"]
|