[gd_scene load_steps=15 format=3 uid="uid://dabq0m1gna2f5"]

[ext_resource type="Script" path="res://Main.gd" id="1_dp01k"]
[ext_resource type="Texture2D" uid="uid://ckgudgbkhhmy1" path="res://bg.png" id="2_2m1vx"]
[ext_resource type="Texture2D" uid="uid://p2v8o7lgdfvg" path="res://grass2.png" id="3_coh3k"]
[ext_resource type="Shader" path="res://wobble.gdshader" id="3_jo4x7"]
[ext_resource type="Texture2D" uid="uid://dimobcgxeit0e" path="res://grass1.png" id="4_0or34"]
[ext_resource type="PackedScene" uid="uid://cw08u5rblr78g" path="res://Airone.tscn" id="6_qvk7q"]
[ext_resource type="AudioStream" uid="uid://div7mmb2yi2sd" path="res://Sergey Cheremisinov - Sleepwalker II.mp3" id="17_01jhe"]

[sub_resource type="Animation" id="Animation_fey41"]
resource_name = "RESET"
length = 0.001
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("bg/grass1:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(866, 1920)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("bg/grass1:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [-0.031621]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("bg/grass2:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(466, 1920)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("bg/grass2:rotation")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0996247]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("bg/grass3:position")
tracks/4/interp = 2
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(360, 1920)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("bg/grass3:rotation")
tracks/5/interp = 2
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [3.24001]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("bg/grass4:position")
tracks/6/interp = 2
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(281, 1920)]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/path = NodePath("bg/grass4:rotation")
tracks/7/interp = 2
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [-0.195932]
}

[sub_resource type="Animation" id="Animation_qnoq6"]
resource_name = "idle"
length = 5.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("bg/grass1:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(866, 1920)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("bg/grass1:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 2.53333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [-0.031621, 0.0548022]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("bg/grass2:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 3.46667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(466, 1920), Vector2(466, 1920)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("bg/grass2:rotation")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 3.46667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0996247, 0.172432]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("bg/grass3:position")
tracks/4/interp = 2
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 1.73333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(360, 1920), Vector2(360, 1920)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("bg/grass3:rotation")
tracks/5/interp = 2
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 1.73333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [3.24001, 3.11466]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("bg/grass4:position")
tracks/6/interp = 2
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0, 2.8),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(281, 1920), Vector2(281, 1920)]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/path = NodePath("bg/grass4:rotation")
tracks/7/interp = 2
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(0, 2.8),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [-0.195932, -0.120659]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_r4gpm"]
_data = {
"RESET": SubResource("Animation_fey41"),
"idle": SubResource("Animation_qnoq6")
}

[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_1req5"]
shuffle = true
stream_count = 1
stream_0 = ExtResource("17_01jhe")

[sub_resource type="FastNoiseLite" id="FastNoiseLite_rmv78"]
frequency = 0.0016
fractal_octaves = 4

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_k8ia7"]
seamless = true
seamless_blend_skirt = 1.0
noise = SubResource("FastNoiseLite_rmv78")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_rkdxj"]
shader = ExtResource("3_jo4x7")
shader_parameter/frequency = 0.13
shader_parameter/motion_rot = -1.56959
shader_parameter/displacement_x = 32.0
shader_parameter/displacement_y = 8.0
shader_parameter/displacement = SubResource("NoiseTexture2D_k8ia7")

[node name="Main" type="Node2D"]
script = ExtResource("1_dp01k")
metadata/_edit_lock_ = true

[node name="anim" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_r4gpm")
}
autoplay = "idle"

[node name="music_player" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamPlaylist_1req5")
volume_db = -18.0
autoplay = true

[node name="bg" type="Sprite2D" parent="."]
texture_filter = 2
texture_repeat = 3
material = SubResource("ShaderMaterial_rkdxj")
texture = ExtResource("2_2m1vx")
centered = false
metadata/_edit_lock_ = true
metadata/_edit_group_ = true

[node name="grass1" type="Sprite2D" parent="bg"]
position = Vector2(866, 1920)
rotation = -0.031621
texture = ExtResource("3_coh3k")
offset = Vector2(-65, -642)

[node name="grass2" type="Sprite2D" parent="bg"]
position = Vector2(466, 1920)
rotation = 0.0996247
scale = Vector2(0.808818, 0.748917)
texture = ExtResource("4_0or34")
offset = Vector2(8.34985, -437.217)
region_rect = Rect2(0, 0, 127, 1443.17)

[node name="grass3" type="Sprite2D" parent="bg"]
position = Vector2(360, 1920)
rotation = 3.24001
scale = Vector2(0.92, -1)
texture = ExtResource("4_0or34")
offset = Vector2(-20.2022, -827.233)

[node name="grass4" type="Sprite2D" parent="bg"]
position = Vector2(281, 1920)
rotation = -0.195932
scale = Vector2(1, 0.76)
texture = ExtResource("4_0or34")
offset = Vector2(-25.3203, -885.681)
region_rect = Rect2(0, 0, 127, 1444)

[node name="Airone" parent="." instance=ExtResource("6_qvk7q")]
z_index = 1
