stick-the-quick/fx/FX.tscn

168 lines
5.8 KiB
Plaintext

[gd_scene load_steps=26 format=3 uid="uid://bapbn52tw4uxt"]
[ext_resource type="Script" path="res://fx/FX.gd" id="1_o5hjr"]
[ext_resource type="Script" path="res://audio/AudioFader.gd" id="2_lpome"]
[ext_resource type="Script" path="res://audio/ambience/AmbienceInterpolator.gd" id="3_kcje8"]
[ext_resource type="Shader" path="res://shaders/sky.gdshader" id="3_qkds1"]
[ext_resource type="AudioStream" uid="uid://bs25p8gni0x5t" path="res://audio/ambience/rain_level_1.ogg" id="4_m88w1"]
[ext_resource type="ArrayMesh" uid="uid://5s6wywij7e8l" path="res://fx/Raindrop.res" id="4_n0mfc"]
[ext_resource type="ArrayMesh" uid="uid://l6okcjkm4n72" path="res://fx/Snowflake.res" id="4_x3nfi"]
[ext_resource type="Script" path="res://fx/WeatherParticles.gd" id="5_4a72t"]
[ext_resource type="AudioStream" uid="uid://cvkmicogpj178" path="res://audio/ambience/rain_level_2.ogg" id="5_qq61e"]
[ext_resource type="AudioStream" uid="uid://gmicbgcj2e2k" path="res://audio/ambience/rain_level_3.ogg" id="6_boctk"]
[ext_resource type="AudioStream" uid="uid://dskrc0ofdbnbl" path="res://audio/ambience/rain_level_4.ogg" id="7_oixwt"]
[ext_resource type="AudioStream" uid="uid://t2y240536hb2" path="res://audio/ambience/rain_level_5.ogg" id="8_my1rc"]
[ext_resource type="AudioStream" uid="uid://clxqwer2sr55e" path="res://audio/ambience/thunder.ogg" id="9_fbpi5"]
[ext_resource type="AudioStream" uid="uid://fs3rqrp3cn3b" path="res://audio/ambience/howling_wind.ogg" id="10_dbbpf"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_jy0wt"]
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_guaq2"]
seamless = true
noise = SubResource("FastNoiseLite_jy0wt")
[sub_resource type="Gradient" id="Gradient_uyl8u"]
offsets = PackedFloat32Array(0.764151, 1)
[sub_resource type="FastNoiseLite" id="FastNoiseLite_reikm"]
frequency = 0.75
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_ahwt5"]
width = 1024
color_ramp = SubResource("Gradient_uyl8u")
noise = SubResource("FastNoiseLite_reikm")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_khdbh"]
shader = ExtResource("3_qkds1")
shader_parameter/cloud_map = SubResource("NoiseTexture2D_guaq2")
shader_parameter/star_map = SubResource("NoiseTexture2D_ahwt5")
[sub_resource type="Sky" id="Sky_y43u3"]
sky_material = SubResource("ShaderMaterial_khdbh")
[sub_resource type="Environment" id="Environment_5ktyi"]
background_mode = 2
background_canvas_max_layer = 1
sky = SubResource("Sky_y43u3")
fog_enabled = true
fog_light_color = Color(0.517647, 0.552941, 0.607843, 1)
fog_density = 0.0
fog_sky_affect = 0.0
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_bqidl"]
particle_flag_align_y = true
emission_shape_offset = Vector3(0, 24, 0)
emission_shape = 6
emission_ring_axis = Vector3(0, 1, 0)
emission_ring_height = 0.0
emission_ring_radius = 32.0
emission_ring_inner_radius = 16.0
direction = Vector3(0, -1, 0)
spread = 3.0
initial_velocity_min = 48.0
initial_velocity_max = 48.0
angular_velocity_min = 360.0
angular_velocity_max = 720.0
damping_min = 4.0
damping_max = 4.0
turbulence_noise_speed = Vector3(0, 0, 1)
turbulence_influence_min = 0.063
turbulence_influence_max = 0.063
collision_mode = 2
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_x0w6v"]
particle_flag_rotate_y = true
emission_shape_offset = Vector3(0, 24, 0)
emission_shape = 6
emission_ring_axis = Vector3(0, 1, 0)
emission_ring_height = 0.0
emission_ring_radius = 32.0
emission_ring_inner_radius = 16.0
direction = Vector3(0, -1, 0)
initial_velocity_min = 3.0
initial_velocity_max = 3.0
angular_velocity_min = 360.0
angular_velocity_max = 720.0
damping_min = 4.0
damping_max = 4.0
turbulence_enabled = true
turbulence_noise_speed = Vector3(0, 0, 1)
turbulence_influence_min = 0.188
turbulence_influence_max = 0.375
collision_mode = 2
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_4csoj"]
blend_mode = 3
[node name="FX" type="CanvasLayer"]
layer = 2
script = ExtResource("1_o5hjr")
[node name="BGM" type="Node" parent="."]
script = ExtResource("2_lpome")
bus = &"Music"
[node name="BGS" type="Node" parent="."]
script = ExtResource("2_lpome")
bus = &"Sound"
[node name="RainBGS" type="Node" parent="."]
script = ExtResource("3_kcje8")
bus = &"Sound"
streams = [ExtResource("4_m88w1"), ExtResource("5_qq61e"), ExtResource("6_boctk"), ExtResource("7_oixwt"), [ExtResource("8_my1rc"), ExtResource("9_fbpi5")]]
[node name="SnowBGS" type="Node" parent="."]
script = ExtResource("3_kcje8")
bus = &"Sound"
streams = [ExtResource("10_dbbpf")]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_5ktyi")
[node name="RainParticles" type="GPUParticles3D" parent="."]
amount = 32768
amount_ratio = 0.0
lifetime = 0.75
visibility_aabb = AABB(-64, -64, -64, 128, 128, 128)
process_material = SubResource("ParticleProcessMaterial_bqidl")
draw_pass_1 = ExtResource("4_n0mfc")
script = ExtResource("5_4a72t")
seconds_ahead = 1.0
[node name="SnowParticles" type="GPUParticles3D" parent="."]
amount = 4096
amount_ratio = 0.0
lifetime = 6.0
visibility_aabb = AABB(-64, -64, -64, 128, 128, 128)
process_material = SubResource("ParticleProcessMaterial_x0w6v")
draw_pass_1 = ExtResource("4_x3nfi")
script = ExtResource("5_4a72t")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
light_energy = 0.25
shadow_enabled = true
[node name="Tint" type="ColorRect" parent="."]
material = SubResource("CanvasItemMaterial_4csoj")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Fade" type="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(1, 1, 1, 0)
[node name="Flash" type="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(1, 1, 1, 0)