[gd_scene format=3 uid="uid://cc2dnhuv4qx7m"]

[ext_resource type="Script" uid="uid://c51huloycn5as" path="res://scenes/main.gd" id="1_h2yge"]
[ext_resource type="PackedScene" uid="uid://tlcdxoupi2lb" path="res://scenes/parallax_clouds.tscn" id="2_5vw27"]
[ext_resource type="Texture2D" uid="uid://b25w6ms7bxlhu" path="res://sprites/third space bgrnd.png" id="3_tipki"]
[ext_resource type="PackedScene" uid="uid://s6wf3egdqtmh" path="res://scenes/ui.tscn" id="4_1bvp3"]
[ext_resource type="Shader" uid="uid://x02irwg8ynvp" path="res://shaders/pixel_highlight.gdshader" id="4_272bh"]
[ext_resource type="Texture2D" uid="uid://bonoqs5pisflo" path="res://_graphics/Mini Pixel Pack 3/UI objects/START (48 x 8).png" id="5_lquwl"]
[ext_resource type="Texture2D" uid="uid://0mcbtnidp5kn" path="res://sprites/third space title.png" id="5_tipki"]
[ext_resource type="Texture2D" uid="uid://bubqwoum50gf8" path="res://_graphics/Mini Pixel Pack 3/UI objects/GAME_OVER (72 x 8).png" id="6_7mycd"]
[ext_resource type="Shader" uid="uid://blxo4qgrkjiup" path="res://shaders/flash.gdshader" id="8_eb6dy"]
[ext_resource type="PackedScene" uid="uid://cd1kwb8klcsb5" path="res://scenes/goose.tscn" id="9_85g3d"]
[ext_resource type="AudioStream" uid="uid://c3e8sdfqcikp6" path="res://sounds/welcome.wav" id="10_choun"]
[ext_resource type="PackedScene" uid="uid://drf1k1iulvy6f" path="res://scenes/wave.tscn" id="11_ya4ey"]
[ext_resource type="AudioStream" uid="uid://i61hg7wispq6" path="res://sounds/Ambient 2.0.wav" id="12_trceg"]
[ext_resource type="AudioStream" uid="uid://mjhprrmwn7qk" path="res://sounds/radio_tune.wav" id="14_a8y0u"]
[ext_resource type="AudioStream" uid="uid://btna02f5ajd7y" path="res://sounds/ambient_hiss.wav" id="15_jkv2x"]

[sub_resource type="Animation" id="Animation_1bvp3"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("background:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(0, 0, 240, 320)]
}

[sub_resource type="Animation" id="Animation_h2yge"]
resource_name = "scroll"
length = 2.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("background:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Rect2(0, 0, 240, 320), Rect2(0, -64, 240, 320)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_lquwl"]
_data = {
&"RESET": SubResource("Animation_1bvp3"),
&"scroll": SubResource("Animation_h2yge")
}

[sub_resource type="ShaderMaterial" id="ShaderMaterial_kek77"]
shader = ExtResource("4_272bh")
shader_parameter/speed = 2.250000106875
shader_parameter/line_width = 0.1450000068875
shader_parameter/line_color = Color(1, 1, 1, 1)
shader_parameter/pause_duration = 6.0
shader_parameter/offset = 10.0
shader_parameter/pixelate_line = 0

[sub_resource type="ShaderMaterial" id="ShaderMaterial_trceg"]
shader = ExtResource("8_eb6dy")
shader_parameter/intensity = 1.0

[sub_resource type="ShaderMaterial" id="ShaderMaterial_5vw27"]

[node name="Main" type="Node2D" unique_id=128010797]
script = ExtResource("1_h2yge")

[node name="ParallaxClouds" parent="." unique_id=571002326 instance=ExtResource("2_5vw27")]

[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=122041916]
libraries/ = SubResource("AnimationLibrary_lquwl")
autoplay = &"scroll"

[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1849605109]

[node name="UI" parent="CanvasLayer" unique_id=1138646344 instance=ExtResource("4_1bvp3")]
offset_right = -1.0
offset_bottom = 36.0

[node name="Title" type="TextureRect" parent="CanvasLayer" unique_id=561106216]
self_modulate = Color(0.015236704, 0.015236706, 0.0152367065, 1)
material = SubResource("ShaderMaterial_kek77")
offset_left = 29.0
offset_top = 101.0
offset_right = 269.0
offset_bottom = 166.0
scale = Vector2(0.75, 0.75)
size_flags_horizontal = 4
texture = ExtResource("5_tipki")
stretch_mode = 3

[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer" unique_id=1787047882]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Start" type="TextureButton" parent="CanvasLayer/CenterContainer" unique_id=735420279]
layout_mode = 2
texture_normal = ExtResource("5_lquwl")

[node name="GameOver" type="TextureRect" parent="CanvasLayer/CenterContainer" unique_id=2025679102]
layout_mode = 2
texture = ExtResource("6_7mycd")

[node name="ColorRect" type="ColorRect" parent="CanvasLayer" unique_id=18763245]
visible = false
material = SubResource("ShaderMaterial_trceg")
offset_right = 240.0
offset_bottom = 320.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="background" type="Sprite2D" parent="." unique_id=1790434669]
visible = false
z_index = -4
texture_repeat = 2
material = SubResource("ShaderMaterial_5vw27")
scale = Vector2(1.1064814, 1.0557377)
texture = ExtResource("3_tipki")
centered = false
region_rect = Rect2(0, 0, 240, 320)

[node name="Goose" parent="." unique_id=1594509381 instance=ExtResource("9_85g3d")]
visible = false
z_index = 2
position = Vector2(301, 272)

[node name="Welcome" type="AudioStreamPlayer2D" parent="." unique_id=1716491479]
position = Vector2(118, 162)
stream = ExtResource("10_choun")
volume_db = 0.5

[node name="LevelAudio" type="AudioStreamPlayer2D" parent="." unique_id=2125260365]
stream = ExtResource("12_trceg")

[node name="Wave" parent="." unique_id=2117861058 instance=ExtResource("11_ya4ey")]

[node name="SFX" type="Node2D" parent="." unique_id=2059049976]

[node name="Tuner" type="AudioStreamPlayer2D" parent="SFX" unique_id=751830572]
stream = ExtResource("14_a8y0u")
volume_db = -27.781
pitch_scale = 0.8
max_polyphony = 2

[node name="AmbientHiss" type="AudioStreamPlayer2D" parent="SFX" unique_id=2084228487]
stream = ExtResource("15_jkv2x")
volume_db = -17.0
pitch_scale = 0.71

[connection signal="pressed" from="CanvasLayer/CenterContainer/Start" to="." method="_on_start_pressed"]
