162 lines
4.9 KiB
Text
162 lines
4.9 KiB
Text
[gd_scene load_steps=25 format=2]
|
|
|
|
[ext_resource path="res://resources/effects/Kamin.gdshader" type="Shader" id=2]
|
|
[ext_resource path="res://scripts/backround_scenes_scripts/Test.gd" type="Script" id=3]
|
|
[ext_resource path="res://resources/effects/MovingBackground.gdshader" type="Shader" id=4]
|
|
[ext_resource path="res://resources/customControls/Lightning.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://resources/graphics/clouds/Cloud_2.webp" type="Texture" id=6]
|
|
[ext_resource path="res://resources/graphics/backgrounds/drop1.webp" type="Texture" id=7]
|
|
[ext_resource path="res://resources/graphics/backgrounds/scene2/2.0/1_background.webp" type="Texture" id=8]
|
|
[ext_resource path="res://resources/graphics/backgrounds/sarai/CabinDayNoSky.webp" type="Texture" id=9]
|
|
[ext_resource path="res://resources/graphics/backgrounds/sarai/CabinNightFire.webp" type="Texture" id=10]
|
|
[ext_resource path="res://resources/graphics/backgrounds/sarai/CabinNight.webp" type="Texture" id=11]
|
|
[ext_resource path="res://resources/graphics/backgrounds/sarai/smoke_particle.webp" type="Texture" id=12]
|
|
|
|
[sub_resource type="Gradient" id=6]
|
|
|
|
[sub_resource type="GradientTexture" id=7]
|
|
gradient = SubResource( 6 )
|
|
|
|
[sub_resource type="OpenSimplexNoise" id=8]
|
|
seed = 4
|
|
octaves = 8
|
|
lacunarity = 1.74
|
|
|
|
[sub_resource type="NoiseTexture" id=9]
|
|
width = 3000
|
|
height = 2000
|
|
noise = SubResource( 8 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=10]
|
|
shader = ExtResource( 2 )
|
|
shader_param/brighter_color = Color( 0.945098, 0.945098, 0.945098, 1 )
|
|
shader_param/middle_color = Color( 0.654902, 0.654902, 0.654902, 1 )
|
|
shader_param/darker_color = Color( 0.223529, 0.223529, 0.223529, 1 )
|
|
shader_param/spread = 0.78
|
|
shader_param/transparency = 0.4
|
|
shader_param/speed = 0.25
|
|
shader_param/noise_tex = SubResource( 9 )
|
|
shader_param/gradient_tex = SubResource( 7 )
|
|
|
|
[sub_resource type="ImageTexture" id=11]
|
|
flags = 0
|
|
flags = 0
|
|
size = Vector2( 3840, 2160 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=12]
|
|
shader = ExtResource( 4 )
|
|
shader_param/direction = Vector2( 1, 0 )
|
|
shader_param/speed_scale = 0.003
|
|
|
|
[sub_resource type="Gradient" id=14]
|
|
offsets = PoolRealArray( 0.0330578, 0.400826, 0.710744, 0.913223 )
|
|
colors = PoolColorArray( 1, 1, 1, 0.0705882, 1, 1, 1, 0.317647, 0.407843, 0.407843, 0.407843, 0.243137, 0.421088, 0.421088, 0.421088, 0.0418054 )
|
|
|
|
[sub_resource type="GradientTexture" id=15]
|
|
gradient = SubResource( 14 )
|
|
|
|
[sub_resource type="Curve" id=16]
|
|
_data = [ Vector2( 0, 0.798197 ), 0.0, 0.145666, 0, 0, Vector2( 1, 1 ), 0.189011, 0.0, 0, 0 ]
|
|
|
|
[sub_resource type="CurveTexture" id=17]
|
|
curve = SubResource( 16 )
|
|
|
|
[sub_resource type="ParticlesMaterial" id=18]
|
|
lifetime_randomness = 0.5
|
|
emission_shape = 2
|
|
emission_box_extents = Vector3( 350, 120, 1 )
|
|
flag_disable_z = true
|
|
direction = Vector3( 0, 1, 0 )
|
|
spread = 0.0
|
|
gravity = Vector3( 0, 0, 0 )
|
|
initial_velocity = 200.0
|
|
initial_velocity_random = 0.5
|
|
angular_velocity = 25.0
|
|
angular_velocity_random = 1.0
|
|
orbit_velocity = 0.0
|
|
orbit_velocity_random = 0.0
|
|
linear_accel = 100.0
|
|
damping = 8.45
|
|
scale = 0.8
|
|
scale_curve = SubResource( 17 )
|
|
color_ramp = SubResource( 15 )
|
|
|
|
[sub_resource type="ParticlesMaterial" id=13]
|
|
lifetime_randomness = 0.1
|
|
trail_divisor = 2
|
|
emission_shape = 2
|
|
emission_box_extents = Vector3( 5000, 100, 1 )
|
|
flag_align_y = true
|
|
flag_disable_z = true
|
|
gravity = Vector3( 0, 98, 0 )
|
|
orbit_velocity = 0.0
|
|
orbit_velocity_random = 0.0
|
|
radial_accel = 49.05
|
|
scale = 1.5
|
|
|
|
[node name="Test" type="Node2D"]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="Node2D" type="Node2D" parent="."]
|
|
visible = false
|
|
|
|
[node name="flame" type="Sprite" parent="Node2D"]
|
|
visible = false
|
|
material = SubResource( 10 )
|
|
position = Vector2( -64, 710 )
|
|
scale = Vector2( 1.03, 1.5 )
|
|
texture = SubResource( 11 )
|
|
centered = false
|
|
|
|
[node name="Sarai" type="Node2D" parent="."]
|
|
|
|
[node name="Background" type="Sprite" parent="Sarai"]
|
|
visible = false
|
|
texture = ExtResource( 8 )
|
|
centered = false
|
|
|
|
[node name="Clouds" type="Sprite" parent="Sarai"]
|
|
visible = false
|
|
material = SubResource( 12 )
|
|
texture = ExtResource( 6 )
|
|
centered = false
|
|
flip_h = true
|
|
|
|
[node name="Day" type="Sprite" parent="Sarai"]
|
|
visible = false
|
|
texture = ExtResource( 9 )
|
|
centered = false
|
|
|
|
[node name="Night" type="Sprite" parent="Sarai"]
|
|
texture = ExtResource( 11 )
|
|
centered = false
|
|
|
|
[node name="NightFire" type="Sprite" parent="Sarai"]
|
|
texture = ExtResource( 10 )
|
|
centered = false
|
|
|
|
[node name="smoke" type="Particles2D" parent="Sarai/NightFire"]
|
|
position = Vector2( 2838, 819 )
|
|
rotation = 3.14159
|
|
amount = 200
|
|
lifetime = 2.5
|
|
speed_scale = 0.57
|
|
randomness = 0.1
|
|
process_material = SubResource( 18 )
|
|
texture = ExtResource( 12 )
|
|
|
|
[node name="Lightning" parent="Sarai" instance=ExtResource( 5 )]
|
|
visible = false
|
|
|
|
[node name="rain" type="Node2D" parent="Sarai"]
|
|
z_index = 2
|
|
|
|
[node name="Particles2D" type="Particles2D" parent="Sarai/rain"]
|
|
position = Vector2( 5000, -400 )
|
|
amount = 4000
|
|
lifetime = 8.0
|
|
preprocess = 10.0
|
|
speed_scale = 5.0
|
|
visibility_rect = Rect2( -3000, 300, 200, 200 )
|
|
process_material = SubResource( 13 )
|
|
texture = ExtResource( 7 )
|