[gd_scene format=4 uid="uid://irgt7rn5kfap"]

[ext_resource type="Script" uid="uid://bjv7i1kmivfai" path="res://main.gd" id="1_5vw27"]
[ext_resource type="Texture2D" uid="uid://42h7vrqekyma" path="res://assets/symphonyguys.png" id="1_ig7tw"]
[ext_resource type="Texture2D" uid="uid://cs47f2rurekyx" path="res://assets/floor_wood_01-32x16.png" id="2_0xm2m"]
[ext_resource type="AudioStream" uid="uid://bflw7me3q03gf" path="res://assets/audio/full/eine-kleine-full.wav" id="2_7mycd"]
[ext_resource type="AudioStream" uid="uid://rn5a5gjgvn4k" path="res://assets/audio/full/eine-kleine-viol-full.wav" id="3_7mycd"]
[ext_resource type="AudioStream" uid="uid://d3qyd08xk7d3h" path="res://assets/audio/full/eine-kleine-cello-full.wav" id="4_272bh"]
[ext_resource type="OccluderPolygon2D" uid="uid://inxtfgsnw5sq" path="res://resources/light_occluder_polygon.tres" id="5_4c57u"]
[ext_resource type="AudioStream" uid="uid://bnypuodp8swg3" path="res://assets/audio/full/eine-kleine-bass-full.wav" id="5_5vw27"]
[ext_resource type="Texture2D" uid="uid://d1li1mlxutaym" path="res://resources/point_light_texture.tres" id="5_kek77"]
[ext_resource type="PackedScene" uid="uid://ojisu2jrshsp" path="res://rhythm_manager.tscn" id="7_272bh"]
[ext_resource type="PackedScene" uid="uid://dduyumwk5v1ge" path="res://click_track.tscn" id="11_efxa6"]

[sub_resource type="AtlasTexture" id="AtlasTexture_lquwl"]
atlas = ExtResource("1_ig7tw")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_0xm2m"]
atlas = ExtResource("1_ig7tw")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_h2yge"]
atlas = ExtResource("1_ig7tw")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_1bvp3"]
atlas = ExtResource("1_ig7tw")
region = Rect2(64, 0, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_7mycd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_lquwl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0xm2m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_h2yge")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1bvp3")
}],
"loop": true,
"name": &"default",
"speed": 4.0
}]

[sub_resource type="Gradient" id="Gradient_lquwl"]
interpolation_mode = 2
offsets = PackedFloat32Array(0.5, 0.8)
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 0)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_4c57u"]
gradient = SubResource("Gradient_lquwl")
width = 96
height = 48
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(0.85, 0.85)

[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_4c57u"]
polygon = PackedVector2Array(-1, 12, 1, 13, -2, 14, -4, 13)

[sub_resource type="AtlasTexture" id="AtlasTexture_ycdy4"]
atlas = ExtResource("1_ig7tw")
region = Rect2(0, 160, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_w48qg"]
atlas = ExtResource("1_ig7tw")
region = Rect2(32, 160, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_vivmo"]
atlas = ExtResource("1_ig7tw")
region = Rect2(64, 160, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_2cqfq"]
atlas = ExtResource("1_ig7tw")
region = Rect2(96, 160, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_yaehf"]
atlas = ExtResource("1_ig7tw")
region = Rect2(128, 160, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_074og"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ycdy4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_w48qg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vivmo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2cqfq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yaehf")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]

[sub_resource type="AtlasTexture" id="AtlasTexture_5vw27"]
atlas = ExtResource("1_ig7tw")
region = Rect2(192, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_kek77"]
atlas = ExtResource("1_ig7tw")
region = Rect2(224, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_4c57u"]
atlas = ExtResource("1_ig7tw")
region = Rect2(256, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_efxa6"]
atlas = ExtResource("1_ig7tw")
region = Rect2(288, 32, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_dg77c"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5vw27")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kek77")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4c57u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_efxa6")
}],
"loop": true,
"name": &"default",
"speed": 8.0
}]

[sub_resource type="AtlasTexture" id="AtlasTexture_0odxb"]
atlas = ExtResource("1_ig7tw")
region = Rect2(0, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_lswn8"]
atlas = ExtResource("1_ig7tw")
region = Rect2(32, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_a6jrf"]
atlas = ExtResource("1_ig7tw")
region = Rect2(64, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_xuqvo"]
atlas = ExtResource("1_ig7tw")
region = Rect2(96, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_qsp4k"]
atlas = ExtResource("1_ig7tw")
region = Rect2(128, 32, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_kq58d"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_0odxb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lswn8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a6jrf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xuqvo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qsp4k")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_h2yge"]
texture = ExtResource("2_0xm2m")
texture_region_size = Vector2i(32, 16)
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
0:4/0 = 0
1:4/0 = 0
2:4/0 = 0
0:5/0 = 0
1:5/0 = 0
2:5/0 = 0

[sub_resource type="TileSet" id="TileSet_272bh"]
tile_shape = 1
tile_size = Vector2i(32, 16)
sources/5 = SubResource("TileSetAtlasSource_h2yge")

[node name="Main" type="Node2D" unique_id=1319338792]
script = ExtResource("1_5vw27")

[node name="Camera2D" type="Camera2D" parent="." unique_id=1314238347]
zoom = Vector2(8, 8)

[node name="Conductor" type="AnimatedSprite2D" parent="." unique_id=880231478]
position = Vector2(40, 15)
sprite_frames = SubResource("SpriteFrames_7mycd")
frame_progress = 0.51704574

[node name="FullAudio" type="AudioStreamPlayer2D" parent="Conductor" unique_id=1320626273]
stream = ExtResource("2_7mycd")

[node name="ConductorLight" type="PointLight2D" parent="Conductor" unique_id=339554188]
unique_name_in_owner = true
visible = false
position = Vector2(5, 9)
energy = 0.8
shadow_enabled = true
shadow_filter = 2
shadow_filter_smooth = 7.6
texture = SubResource("GradientTexture2D_4c57u")

[node name="ConductorOccluder" type="LightOccluder2D" parent="Conductor" unique_id=122003117]
occluder = SubResource("OccluderPolygon2D_4c57u")

[node name="Musicians" type="Node2D" parent="." unique_id=237973745]

[node name="Viol" type="AnimatedSprite2D" parent="Musicians" unique_id=932682158 groups=["musicians"]]
position = Vector2(-18, 2)
sprite_frames = SubResource("SpriteFrames_074og")
frame_progress = 0.6208535

[node name="ViolAudio" type="AudioStreamPlayer2D" parent="Musicians/Viol" unique_id=800067327]
visible = false
stream = ExtResource("3_7mycd")

[node name="ViolOccluder" type="LightOccluder2D" parent="Musicians/Viol" unique_id=781715626]
position = Vector2(1, 0)
occluder = ExtResource("5_4c57u")

[node name="ViolLight" type="PointLight2D" parent="Musicians/Viol" unique_id=953248893 groups=["musician_lights"]]
visible = false
z_index = 100
position = Vector2(8, 10)
energy = 0.8
shadow_enabled = true
shadow_filter = 2
shadow_filter_smooth = 7.6
texture = ExtResource("5_kek77")

[node name="Cello" type="AnimatedSprite2D" parent="Musicians" unique_id=504793709 groups=["musicians"]]
position = Vector2(21, -18)
sprite_frames = SubResource("SpriteFrames_dg77c")
frame_progress = 0.5045058

[node name="CelloAudio" type="AudioStreamPlayer2D" parent="Musicians/Cello" unique_id=526745522]
visible = false
stream = ExtResource("4_272bh")

[node name="CelloOccluder" type="LightOccluder2D" parent="Musicians/Cello" unique_id=1913557474]
position = Vector2(1, 0)
occluder = ExtResource("5_4c57u")

[node name="CelloLight" type="PointLight2D" parent="Musicians/Cello" unique_id=576926503 groups=["musician_lights"]]
visible = false
position = Vector2(10, 9)
energy = 0.8
shadow_enabled = true
shadow_filter = 2
shadow_filter_smooth = 7.6
texture = ExtResource("5_kek77")

[node name="Bass" type="AnimatedSprite2D" parent="Musicians" unique_id=1099071968 groups=["musicians"]]
position = Vector2(-45, -32)
sprite_frames = SubResource("SpriteFrames_kq58d")
frame_progress = 0.30279997

[node name="BassAudio" type="AudioStreamPlayer2D" parent="Musicians/Bass" unique_id=1653394620]
visible = false
stream = ExtResource("5_5vw27")

[node name="BassOccluder" type="LightOccluder2D" parent="Musicians/Bass" unique_id=2068886055]
position = Vector2(1, 0)
occluder = ExtResource("5_4c57u")

[node name="BassLight" type="PointLight2D" parent="Musicians/Bass" unique_id=1562439646 groups=["musician_lights"]]
visible = false
position = Vector2(9, 9)
energy = 0.8
shadow_enabled = true
shadow_filter = 2
shadow_filter_smooth = 7.6
texture = ExtResource("5_kek77")

[node name="Stage" type="TileMapLayer" parent="." unique_id=15466516]
z_index = -10
tile_map_data = PackedByteArray("[encoded data, 6276 characters]")
tile_set = SubResource("TileSet_272bh")
metadata/_edit_lock_ = true

[node name="CanvasModulate" type="CanvasModulate" parent="." unique_id=1681660400]
color = Color(0.3478174, 0.34781674, 0.3478171, 1)

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

[node name="RhythmManager" parent="CanvasLayer" unique_id=2036637300 node_paths=PackedStringArray("target_audio") instance=ExtResource("7_272bh")]
unique_name_in_owner = true
target_audio = NodePath("../../Conductor/FullAudio")

[node name="ClickTrack" parent="." unique_id=1931221522 instance=ExtResource("11_efxa6")]
unique_name_in_owner = true
