[gd_scene load_steps=120 format=3 uid="uid://bmd4m7lqj4v0x"]

[ext_resource type="Script" path="res://main.gd" id="1_3dydx"]
[ext_resource type="Script" path="res://Spawner.gd" id="1_ifu8g"]
[ext_resource type="Script" path="res://GameManager.gd" id="1_k8sg3"]
[ext_resource type="Resource" uid="uid://du12lm5aq7g7f" path="res://ircle_enemy.tres" id="3_xmk5u"]
[ext_resource type="PhysicsMaterial" uid="uid://c5tm7od8mwjjb" path="res://elastic.tres" id="4_bx3xr"]
[ext_resource type="Script" path="res://wave.gd" id="4_um0x7"]
[ext_resource type="Script" path="res://Clock.gd" id="5_7po8n"]
[ext_resource type="Resource" uid="uid://824inmsxuois" path="res://entagon_enemy.tres" id="5_e24vf"]
[ext_resource type="Resource" uid="uid://3gxjbodh4fwe" path="res://riangle_enemy.tres" id="5_xdrk0"]
[ext_resource type="Texture2D" uid="uid://yvrhlh04k8w1" path="res://background space.png" id="6_yg4g1"]
[ext_resource type="Script" path="res://wave_enemy.gd" id="7_54h7d"]
[ext_resource type="Texture2D" uid="uid://cwquv3mq5kk1d" path="res://countdown-spritesheet.png" id="8_e1eub"]
[ext_resource type="Resource" uid="uid://ba01r62bwm6av" path="res://eptagon_enemy.tres" id="9_q67ak"]
[ext_resource type="Resource" uid="uid://c805aej5v7cvr" path="res://eart.tres" id="10_jib8h"]
[ext_resource type="AudioStream" uid="uid://dn65uapn0wsok" path="res://impactMetal_002.ogg" id="11_acuni"]
[ext_resource type="Script" path="res://CollisionCheck.gd" id="11_ryeyk"]
[ext_resource type="FontFile" uid="uid://bnguin7bsyx6e" path="res://Kenney Future.ttf" id="11_s4q6p"]
[ext_resource type="Texture2D" uid="uid://cso5ufbf7u7oj" path="res://Circle.png" id="13_318fy"]
[ext_resource type="Script" path="res://Notification.gd" id="13_lkv81"]
[ext_resource type="Script" path="res://Stopwatch.gd" id="13_xhnp2"]
[ext_resource type="Script" path="res://Leaderboard.gd" id="14_v1elq"]
[ext_resource type="FontFile" uid="uid://bpcp43g74vhgo" path="res://monogram-extended.ttf" id="16_s4rjt"]
[ext_resource type="PackedScene" uid="uid://4sdwatj6up8i" path="res://tar.tscn" id="19_8258f"]
[ext_resource type="AudioStream" uid="uid://b8soxqg0jquqg" path="res://Flow State 2.ogg" id="21_7hdkm"]

[sub_resource type="Resource" id="Resource_ur7l5"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("3_xmk5u")])
quantities = Array[int]([1])
spawning_duration = 1.0
wait = 1.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_kupyp"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("3_xmk5u")])
quantities = Array[int]([7])
spawning_duration = 25.0
wait = 3.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_o8cet"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_xdrk0"), ExtResource("3_xmk5u")])
quantities = Array[int]([1, 2])
spawning_duration = 2.0
wait = 5.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_0cevq"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_xdrk0")])
quantities = Array[int]([3])
spawning_duration = 10.0
wait = 1.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_eppj0"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("3_xmk5u"), ExtResource("5_xdrk0")])
quantities = Array[int]([7, 5])
spawning_duration = 20.0
wait = 10.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_rpu1y"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_e24vf")])
quantities = Array[int]([3])
spawning_duration = 10.0
wait = 2.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_4b1vo"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_xdrk0"), ExtResource("5_e24vf")])
quantities = Array[int]([5, 5])
spawning_duration = 15.0
wait = 5.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_gg7kj"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("3_xmk5u"), ExtResource("5_xdrk0"), ExtResource("5_e24vf")])
quantities = Array[int]([8, 10, 6])
spawning_duration = 40.0
wait = 5.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_fjkob"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("3_xmk5u"), ExtResource("5_xdrk0"), ExtResource("5_e24vf")])
quantities = Array[int]([10, 15, 10])
spawning_duration = 60.0
wait = 1.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_b7avt"]
script = ExtResource("7_54h7d")
enemy = ExtResource("19_8258f")
boss = true
check_distance = 100

[sub_resource type="Resource" id="Resource_5sdy5"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([SubResource("Resource_b7avt")])
quantities = Array[int]([1])
spawning_duration = 5.0
wait = 15.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_61v84"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("10_jib8h"), ExtResource("3_xmk5u")])
quantities = Array[int]([1, 2])
spawning_duration = 3.0
wait = 5.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_82qld"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("3_xmk5u"), ExtResource("5_xdrk0"), ExtResource("5_e24vf"), ExtResource("10_jib8h")])
quantities = Array[int]([10, 10, 10, 4])
spawning_duration = 20.0
wait = 2.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_2j32b"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_xdrk0"), ExtResource("9_q67ak"), ExtResource("10_jib8h")])
quantities = Array[int]([2, 2, 1])
spawning_duration = 10.0
wait = 3.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_viqo8"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_xdrk0"), ExtResource("9_q67ak"), ExtResource("10_jib8h")])
quantities = Array[int]([15, 3, 4])
spawning_duration = 30.0
wait = 10.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_o3j5s"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_e24vf"), ExtResource("3_xmk5u"), ExtResource("10_jib8h")])
quantities = Array[int]([5, 5, 3])
spawning_duration = 20.0
wait = 5.0
wait_for_killed = true

[sub_resource type="Resource" id="Resource_cygv1"]
script = ExtResource("4_um0x7")
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_e24vf"), ExtResource("10_jib8h"), ExtResource("3_xmk5u"), ExtResource("5_xdrk0"), ExtResource("9_q67ak")])
quantities = Array[int]([5, 5, 10, 15, 5])
spawning_duration = 30.0
wait = 1.0
wait_for_killed = true

[sub_resource type="RectangleShape2D" id="RectangleShape2D_7w8g6"]
size = Vector2(328, 185.333)

[sub_resource type="AtlasTexture" id="AtlasTexture_bdsd5"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_lf3ef"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 144, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_pg4rn"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 288, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_aydds"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 432, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_kug12"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 576, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_qduwb"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 720, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_aojp3"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 864, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_ndv2r"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 1008, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_4jp4e"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 1152, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_redag"]
atlas = ExtResource("8_e1eub")
region = Rect2(0, 1296, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_q7l20"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_5sqrs"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 144, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_ga0xc"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 288, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_4bkaf"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 432, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_uq04c"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 576, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_862mx"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 720, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_sdi1j"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 864, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_cddjc"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 1008, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_jno6a"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 1152, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_3ajir"]
atlas = ExtResource("8_e1eub")
region = Rect2(249, 1296, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_rqtja"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_g01hx"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 144, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_pdn7s"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 288, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_v6fwj"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 432, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_adsl0"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 576, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_44qnv"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 720, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_rby8e"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 864, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_u4tcf"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 1008, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_eloo0"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 1152, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_5kbid"]
atlas = ExtResource("8_e1eub")
region = Rect2(498, 1296, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_lqbdw"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_glbrv"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 144, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_rmobh"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 288, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_cc1f0"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 432, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_gv3ol"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 576, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_gb5sx"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 720, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_dysff"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 864, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_5pnrj"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 1008, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_hodoi"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 1152, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_nyki1"]
atlas = ExtResource("8_e1eub")
region = Rect2(747, 1296, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_uuiuw"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_g3lgj"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 144, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_klh6k"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 288, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_ty3y7"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 432, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_bnwdt"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 576, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_uciig"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 720, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_6c5n0"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 864, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_7ps2c"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 1008, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_nya5u"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 1152, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_t62w8"]
atlas = ExtResource("8_e1eub")
region = Rect2(996, 1296, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_na8ll"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_ruxov"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 144, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_gysjv"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 288, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_c602r"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 432, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_swmk5"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 576, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_6edft"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 720, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_0d1ic"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 864, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_dovvd"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 1008, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_yd4ei"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 1152, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_1pao5"]
atlas = ExtResource("8_e1eub")
region = Rect2(1245, 1296, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_pjqf2"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_vgve1"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 144, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_qus44"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 288, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_s7g52"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 432, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_hfilo"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 576, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_82nte"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 720, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_feav6"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 864, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_p81lf"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 1008, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_4rgre"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 1152, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_66rtp"]
atlas = ExtResource("8_e1eub")
region = Rect2(1494, 1296, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_un4c4"]
atlas = ExtResource("8_e1eub")
region = Rect2(1743, 0, 249, 144)

[sub_resource type="AtlasTexture" id="AtlasTexture_uupcn"]
atlas = ExtResource("8_e1eub")
region = Rect2(1743, 144, 249, 144)

[sub_resource type="SpriteFrames" id="SpriteFrames_ubcgj"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bdsd5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lf3ef")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pg4rn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aydds")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kug12")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qduwb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aojp3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ndv2r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4jp4e")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_redag")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q7l20")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5sqrs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ga0xc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4bkaf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uq04c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_862mx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sdi1j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cddjc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jno6a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3ajir")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rqtja")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g01hx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pdn7s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v6fwj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_adsl0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_44qnv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rby8e")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u4tcf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_eloo0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5kbid")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lqbdw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_glbrv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rmobh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cc1f0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gv3ol")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gb5sx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dysff")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5pnrj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hodoi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nyki1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uuiuw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g3lgj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_klh6k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ty3y7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bnwdt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uciig")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6c5n0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7ps2c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nya5u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t62w8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_na8ll")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ruxov")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gysjv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_c602r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_swmk5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6edft")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0d1ic")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dovvd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yd4ei")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1pao5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pjqf2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vgve1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qus44")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s7g52")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hfilo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_82nte")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_feav6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p81lf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4rgre")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_66rtp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_un4c4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uupcn")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]

[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_rmvst"]
distance = 2.0

[sub_resource type="CircleShape2D" id="CircleShape2D_bmvvy"]
radius = 100.0

[sub_resource type="Gradient" id="Gradient_or5lt"]
colors = PackedColorArray(1, 0, 0, 1, 1, 0, 0, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_cygyn"]
gradient = SubResource("Gradient_or5lt")

[node name="Node2D" type="Node2D"]
position = Vector2(-2, -1)
script = ExtResource("1_3dydx")

[node name="Spawner" type="Node2D" parent="." node_paths=PackedStringArray("wave_label")]
script = ExtResource("1_ifu8g")
waves = Array[ExtResource("4_um0x7")]([SubResource("Resource_ur7l5"), SubResource("Resource_kupyp"), SubResource("Resource_o8cet"), SubResource("Resource_0cevq"), SubResource("Resource_eppj0"), SubResource("Resource_rpu1y"), SubResource("Resource_4b1vo"), SubResource("Resource_gg7kj"), SubResource("Resource_fjkob"), SubResource("Resource_5sdy5"), SubResource("Resource_61v84"), SubResource("Resource_82qld"), SubResource("Resource_2j32b"), SubResource("Resource_viqo8"), SubResource("Resource_o3j5s"), SubResource("Resource_cygv1")])
wave_label = NodePath("../UI/Wave Count")
start_wave = 15

[node name="Timer" type="Timer" parent="Spawner"]
wait_time = 0.1
autostart = true

[node name="BG" type="TextureRect" parent="."]
z_index = -1000
texture_filter = 1
offset_left = 2.0
offset_top = 1.0
offset_right = 1922.0
offset_bottom = 1081.0
texture = ExtResource("6_yg4g1")

[node name="Clock" type="CharacterBody2D" parent="."]
position = Vector2(201, 200)
scale = Vector2(1.5, 1.5)
collision_layer = 3
collision_mask = 3
motion_mode = 1
wall_min_slide_angle = 0.0
platform_on_leave = 2
platform_floor_layers = 4294901760
script = ExtResource("5_7po8n")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Clock"]
position = Vector2(0, 0.5)
scale = Vector2(0.75, 0.75)
shape = SubResource("RectangleShape2D_7w8g6")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Clock"]
texture_filter = 1
position = Vector2(0, 1)
sprite_frames = SubResource("SpriteFrames_ubcgj")
autoplay = "default"

[node name="CollisionFX" type="AudioStreamPlayer2D" parent="Clock"]
stream = ExtResource("11_acuni")
volume_db = 6.0
bus = &"SFX"

[node name="Border" type="StaticBody2D" parent="."]
collision_layer = 3
collision_mask = 3
physics_material_override = ExtResource("4_bx3xr")

[node name="Bottom" type="CollisionShape2D" parent="Border"]
position = Vector2(960, 1080)
shape = SubResource("WorldBoundaryShape2D_rmvst")

[node name="Top" type="CollisionShape2D" parent="Border"]
position = Vector2(960, 2.08165e-12)
rotation = -3.14159
shape = SubResource("WorldBoundaryShape2D_rmvst")

[node name="Left" type="CollisionShape2D" parent="Border"]
position = Vector2(2.08165e-12, 540)
rotation = 1.5708
shape = SubResource("WorldBoundaryShape2D_rmvst")

[node name="Right" type="CollisionShape2D" parent="Border"]
position = Vector2(1920, 540)
rotation = -1.5708
shape = SubResource("WorldBoundaryShape2D_rmvst")

[node name="UI" type="Control" parent="."]
z_index = 10
layout_mode = 3
anchors_preset = 0
offset_right = 1920.0
offset_bottom = 1080.0

[node name="Wave Count" type="Label" parent="UI"]
layout_mode = 1
offset_left = 37.0
offset_top = 34.0
offset_right = 344.0
offset_bottom = 171.0
theme_override_constants/line_spacing = 0
theme_override_fonts/font = ExtResource("16_s4rjt")
theme_override_font_sizes/font_size = 72
text = "Wave 1"

[node name="Stopwatch" type="Label" parent="UI"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -268.0
offset_top = 22.0
offset_right = -33.0
offset_bottom = 159.0
grow_horizontal = 0
theme_override_fonts/font = ExtResource("16_s4rjt")
theme_override_font_sizes/font_size = 72
text = "1:10.25"
horizontal_alignment = 2
justification_flags = 160
script = ExtResource("13_xhnp2")

[node name="Ability" type="HBoxContainer" parent="UI"]
unique_name_in_owner = true
layout_mode = 2
offset_left = 944.0
offset_top = 5.0
offset_right = 976.0
offset_bottom = 37.0
grow_horizontal = 2

[node name="GameOver" type="Label" parent="."]
process_mode = 3
visible = false
z_index = 100
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 1920.0
offset_bottom = 1080.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("11_s4q6p")
theme_override_font_sizes/font_size = 200
text = "Game Over!"
horizontal_alignment = 1

[node name="Restart" type="Label" parent="GameOver"]
z_index = 100
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -397.5
offset_top = -122.0
offset_right = 397.5
offset_bottom = -12.0
grow_horizontal = 2
grow_vertical = 0
theme_override_fonts/font = ExtResource("11_s4q6p")
theme_override_font_sizes/font_size = 60
text = "Press R to Restart"
horizontal_alignment = 1
vertical_alignment = 1

[node name="ColorRect" type="ColorRect" parent="GameOver"]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.372549)

[node name="Summary" type="Label" parent="GameOver"]
z_index = 100
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -397.5
offset_top = 200.0
offset_right = 397.5
offset_bottom = 310.0
grow_horizontal = 2
theme_override_fonts/font = ExtResource("11_s4q6p")
theme_override_font_sizes/font_size = 60
horizontal_alignment = 1
vertical_alignment = 1

[node name="Leaderboard" type="RichTextLabel" parent="GameOver" node_paths=PackedStringArray("stopwatch", "spawner")]
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = 397.0
offset_top = -217.0
offset_right = -397.0
offset_bottom = 386.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/normal_font = ExtResource("11_s4q6p")
theme_override_font_sizes/normal_font_size = 60
bbcode_enabled = true
text = "



[center]LOADING..."
script = ExtResource("14_v1elq")
stopwatch = NodePath("../../UI/Stopwatch")
spawner = NodePath("../../Spawner")

[node name="HTTPRequest" type="HTTPRequest" parent="GameOver/Leaderboard"]

[node name="CollisionCheck" type="ShapeCast2D" parent="."]
visible = false
shape = SubResource("CircleShape2D_bmvvy")
target_position = Vector2(2.08165e-12, 2.08165e-12)
collision_mask = 3
script = ExtResource("11_ryeyk")

[node name="Sprite2D" type="Sprite2D" parent="CollisionCheck"]
self_modulate = Color(1, 0, 0, 0.356863)
clip_children = 1
scale = Vector2(0.386719, 0.386719)
texture = ExtResource("13_318fy")

[node name="TextureRect" type="TextureRect" parent="CollisionCheck/Sprite2D"]
offset_left = -288.0
offset_top = -288.0
offset_right = -32.0
offset_bottom = -248.0
scale = Vector2(2.19999, 15.1168)
texture = SubResource("GradientTexture1D_cygyn")

[node name="Notification" type="Label" parent="."]
modulate = Color(1, 1, 1, 0)
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = 640.0
offset_top = 940.0
offset_right = 1280.0
offset_bottom = 963.0
grow_horizontal = 2
grow_vertical = 0
theme_override_fonts/font = ExtResource("11_s4q6p")
theme_override_font_sizes/font_size = 100
text = "Too Crowded"
script = ExtResource("13_lkv81")

[node name="GameManager" type="Node2D" parent="."]
process_mode = 3
script = ExtResource("1_k8sg3")

[node name="Music" type="AudioStreamPlayer2D" parent="."]
position = Vector2(-13, 29)
stream = ExtResource("21_7hdkm")
autoplay = true
bus = &"Music"

[connection signal="wave_complete" from="Spawner" to="UI/Stopwatch" method="wave_finished"]
[connection signal="timeout" from="Spawner/Timer" to="Spawner" method="check_enemies_loop"]
[connection signal="visibility_changed" from="GameOver/Leaderboard" to="GameOver/Leaderboard" method="submit_score"]
