[gd_scene load_steps=6 format=2] [ext_resource path="res://resources/graphics/backgrounds/death_car/тачка фары.webp" type="Texture" id=1] [ext_resource path="res://resources/graphics/backgrounds/death_car/тачка.webp" type="Texture" id=2] [ext_resource path="res://resources/graphics/backgrounds/drop1.webp" type="Texture" id=3] [ext_resource path="res://scripts/backround_scenes_scripts/Death_Car.gd" type="Script" id=4] [sub_resource type="ParticlesMaterial" id=1] 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 [node name="Death_Car" type="Node2D"] script = ExtResource( 4 ) [node name="car" type="Sprite" parent="."] texture = ExtResource( 2 ) centered = false [node name="lights" type="Sprite" parent="."] texture = ExtResource( 1 ) offset = Vector2( 1920, 1080 ) [node name="rain" type="Node2D" parent="."] z_index = 1 [node name="Particles2D" type="Particles2D" parent="rain"] modulate = Color( 0.768627, 0.768627, 0.768627, 1 ) position = Vector2( 5000, -200 ) amount = 3000 lifetime = 7.0 preprocess = 10.0 speed_scale = 6.0 visibility_rect = Rect2( -3000, 300, 200, 200 ) process_material = SubResource( 1 ) texture = ExtResource( 3 )