138 lines
4.9 KiB
Plaintext
138 lines
4.9 KiB
Plaintext
[gd_scene load_steps=19 format=3 uid="uid://cjdpydcvdihhn"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/City.gd" id="1_7h1gg"]
|
|
[ext_resource type="PackedScene" uid="uid://b0co3ivqa72jb" path="res://Scenes/Gameplay/Houses/house1.tscn" id="3_djmtb"]
|
|
[ext_resource type="PackedScene" uid="uid://c46e6vwcih3va" path="res://Scenes/Gameplay/Houses/house2.tscn" id="4_u4llr"]
|
|
[ext_resource type="PackedScene" uid="uid://dndd7y5iwnrp1" path="res://Scenes/Gameplay/Houses/house0.tscn" id="4_w4f0e"]
|
|
[ext_resource type="AudioStream" uid="uid://c11k6chuvnn7s" path="res://Sounds/Music/Faster_Version-2023-08-25_-_Soaring_Sleighride_-_www.FesliyanStudios.com.mp3" id="5_0ja6w"]
|
|
[ext_resource type="PackedScene" uid="uid://cve0v31o0a08d" path="res://Scenes/Gameplay/sleigh.tscn" id="5_t17ek"]
|
|
[ext_resource type="Script" path="res://Scripts/AudioLoop.gd" id="7_liw2b"]
|
|
[ext_resource type="PackedScene" uid="uid://chlwqlstdkipj" path="res://Scenes/Gameplay/ChimneyGame.tscn" id="8_xj7pd"]
|
|
[ext_resource type="Shader" path="res://Shaders/Transition.gdshader" id="9_4pqiw"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_wd572"]
|
|
sky_top_color = Color(0.015579, 0.153036, 0.22919, 1)
|
|
sky_horizon_color = Color(0.0320734, 0.22158, 0.324079, 1)
|
|
ground_bottom_color = Color(0.0313726, 0.223529, 0.32549, 1)
|
|
ground_horizon_color = Color(0.0313726, 0.223529, 0.32549, 1)
|
|
|
|
[sub_resource type="Sky" id="Sky_tn0ym"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_wd572")
|
|
|
|
[sub_resource type="Environment" id="Environment_tkovf"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_tn0ym")
|
|
ambient_light_source = 3
|
|
ambient_light_color = Color(0, 0.305882, 0.447059, 1)
|
|
ambient_light_sky_contribution = 0.0
|
|
ambient_light_energy = 0.3
|
|
glow_enabled = true
|
|
fog_enabled = true
|
|
fog_mode = 1
|
|
fog_light_color = Color(0.0313726, 0.223529, 0.32549, 1)
|
|
fog_density = 1.0
|
|
fog_depth_begin = 150.0
|
|
fog_depth_end = 500.0
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vfn8f"]
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_tgs7q"]
|
|
material = SubResource("StandardMaterial3D_vfn8f")
|
|
size = Vector2(800, 800)
|
|
orientation = 1
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lce0s"]
|
|
shader = ExtResource("9_4pqiw")
|
|
shader_parameter/useTexture = false
|
|
shader_parameter/progress = 0.0
|
|
shader_parameter/color = null
|
|
|
|
[sub_resource type="Animation" id="Animation_txa3m"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Transitioner:material:shader_parameter/progress")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_lnftr"]
|
|
resource_name = "fadeOut"
|
|
length = 0.5
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Transitioner:material:shader_parameter/progress")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 1.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8hlon"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_txa3m"),
|
|
"fadeOut": SubResource("Animation_lnftr")
|
|
}
|
|
|
|
[node name="City" type="Node3D" node_paths=PackedStringArray("animator")]
|
|
script = ExtResource("1_7h1gg")
|
|
animator = NodePath("AnimationPlayer")
|
|
houses = Array[PackedScene]([ExtResource("4_w4f0e"), ExtResource("3_djmtb"), ExtResource("4_u4llr")])
|
|
columns = 6
|
|
rows = 5
|
|
blockLength = 13.0
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_tkovf")
|
|
|
|
[node name="Neighborhood" type="Node3D" parent="."]
|
|
|
|
[node name="Sleigh" parent="." instance=ExtResource("5_t17ek")]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 77, 0)
|
|
baseSpeed = 50.0
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Sleigh"]
|
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -3.11225e-05, -77, 356)
|
|
visible = false
|
|
mesh = SubResource("QuadMesh_tgs7q")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("5_0ja6w")
|
|
autoplay = true
|
|
bus = &"Music"
|
|
script = ExtResource("7_liw2b")
|
|
|
|
[node name="Rings" type="Node3D" parent="."]
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.95035, 0.185295, 0.25, -0.185295, -0.308469, 0.933013, 0.25, -0.933013, -0.258819, 0, 209, 0)
|
|
light_color = Color(0.843137, 1, 1, 1)
|
|
light_energy = 0.05
|
|
|
|
[node name="ChimneyGame" parent="." instance=ExtResource("8_xj7pd")]
|
|
|
|
[node name="Transitioner" type="ColorRect" parent="."]
|
|
material = SubResource("ShaderMaterial_lce0s")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_8hlon")
|
|
}
|