[gd_scene load_steps=19 format=2] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Day/2-clouds.webp" type="Texture" id=1] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Day/3-hill.webp" type="Texture" id=2] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Day/1-background.webp" type="Texture" id=3] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Day/4-lighthouse.webp" type="Texture" id=4] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Night/5-fence-bottle-paper.webp" type="Texture" id=5] [ext_resource path="res://scripts/backround_scenes_scripts/Mayak_Back.gd" type="Script" id=6] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Night/2-clouds.webp" type="Texture" id=7] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Day/5-fence_bottle_paper.webp" type="Texture" id=8] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Night/1-background.webp" type="Texture" id=9] [ext_resource path="res://resources/graphics/backgrounds/drop1.webp" type="Texture" id=10] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Night/4-lighthouse.webp" type="Texture" id=11] [ext_resource path="res://resources/graphics/backgrounds/mayak_back/Night/3-hill.webp" type="Texture" id=12] [ext_resource path="res://resources/effects/MovingBackground.gdshader" type="Shader" id=13] [ext_resource path="res://resources/customControls/Lightning.tscn" type="PackedScene" id=14] [sub_resource type="ShaderMaterial" id=5] shader = ExtResource( 13 ) shader_param/direction = Vector2( 1, 0 ) shader_param/speed_scale = 0.003 [sub_resource type="ParticlesMaterial" id=3] 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 = 33.26 scale = 1.5 [sub_resource type="ShaderMaterial" id=6] shader = ExtResource( 13 ) shader_param/direction = Vector2( 1, 0 ) shader_param/speed_scale = 0.003 [sub_resource type="ParticlesMaterial" id=4] 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="Mayak_Back" type="Node2D"] script = ExtResource( 6 ) [node name="day" type="Node2D" parent="."] [node name="Sprite1" type="Sprite" parent="day"] texture = ExtResource( 3 ) centered = false [node name="Sprite2" type="Sprite" parent="day"] material = SubResource( 5 ) texture = ExtResource( 1 ) centered = false [node name="Sprite3" type="Sprite" parent="day"] position = Vector2( 0, 765 ) texture = ExtResource( 2 ) centered = false [node name="Sprite4" type="Sprite" parent="day"] position = Vector2( -13, 1 ) texture = ExtResource( 4 ) centered = false [node name="Sprite5" type="Sprite" parent="day"] position = Vector2( 844, 733 ) texture = ExtResource( 8 ) centered = false [node name="rain" type="Node2D" parent="day"] visible = false z_index = 1 [node name="Particles2D" type="Particles2D" parent="day/rain"] position = Vector2( 5000, -200 ) amount = 1600 lifetime = 7.0 preprocess = 10.0 speed_scale = 6.0 visibility_rect = Rect2( -3000, 300, 200, 200 ) process_material = SubResource( 3 ) texture = ExtResource( 10 ) [node name="night" type="Node2D" parent="."] visible = false [node name="Sprite1" type="Sprite" parent="night"] texture = ExtResource( 9 ) centered = false [node name="Sprite2" type="Sprite" parent="night"] material = SubResource( 6 ) texture = ExtResource( 7 ) centered = false [node name="Sprite3" type="Sprite" parent="night"] position = Vector2( -13, 758 ) z_index = 1 texture = ExtResource( 12 ) centered = false [node name="Sprite4" type="Sprite" parent="night"] position = Vector2( -12, 2 ) z_index = 1 texture = ExtResource( 11 ) centered = false [node name="Sprite5" type="Sprite" parent="night"] position = Vector2( 845, 692 ) z_index = 1 texture = ExtResource( 5 ) centered = false [node name="Lightning" parent="night" instance=ExtResource( 14 )] [node name="rain" type="Node2D" parent="night"] z_index = 1 [node name="Particles2D" type="Particles2D" parent="night/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( 4 ) texture = ExtResource( 10 ) [node name="Tween" type="Tween" parent="."]