[gd_scene load_steps=6 format=3 uid="uid://bldi3fw0vmlu3"]

[ext_resource type="AudioStream" uid="uid://3uk0hyhq2i4y" path="res://assets/music/module-krypton-synthwave-cyberpunk-370784.mp3" id="1_5vxup"]
[ext_resource type="Script" uid="uid://b3y321qsrrrdw" path="res://music_mixer.gd" id="1_w5q55"]
[ext_resource type="AudioStream" uid="uid://dtojrcxtfvk4e" path="res://assets/music/workout-cyberpunk-music-348203.mp3" id="2_w5q55"]

[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_lr66j"]
clip_count = 2
clip_0/name = &"Base"
clip_0/stream = ExtResource("1_5vxup")
clip_0/auto_advance = 1
clip_0/next_clip = 0
clip_1/name = &"Boss"
clip_1/stream = ExtResource("2_w5q55")
clip_1/auto_advance = 1
clip_1/next_clip = 1
_transitions = {
Vector2i(-1, -1): {
"fade_beats": 0.5,
"fade_mode": 3,
"from_time": 2,
"hold_previous": true,
"to_time": 2
}
}

[sub_resource type="CircleShape2D" id="CircleShape2D_khlsn"]

[node name="MusicMixer" type="Node2D"]
script = ExtResource("1_w5q55")

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamInteractive_lr66j")

[node name="BossArea" type="Area2D" parent="."]
collision_layer = 31
collision_mask = 31

[node name="CollisionShape2D" type="CollisionShape2D" parent="BossArea"]
scale = Vector2(50, 50)
shape = SubResource("CircleShape2D_khlsn")

[connection signal="body_entered" from="BossArea" to="." method="_on_boss_area_body_entered"]
[connection signal="body_exited" from="BossArea" to="." method="_on_boss_area_body_exited"]
