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

[ext_resource type="Script" path="res://player/player.gd" id="1_fob34"]
[ext_resource type="AudioStream" uid="uid://cs6l2t3jtags8" path="res://assets/sounds/clock-tick-76039.mp3" id="2_p4pcw"]
[ext_resource type="Script" path="res://core/audio/spatial_audio_player.gd" id="3_yaiah"]

[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_p33ik"]
polygon = PackedVector2Array(-9, -9, -9, 9, 9, 9, 9, -9)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_7cq61"]
size = Vector2(16, 16)

[node name="Player" type="CharacterBody2D"]
collision_layer = 2
floor_block_on_wall = false
script = ExtResource("1_fob34")

[node name="Camera2D" type="Camera2D" parent="."]
process_callback = 0
position_smoothing_enabled = true
drag_horizontal_enabled = true
drag_vertical_enabled = true
editor_draw_drag_margin = true

[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
occluder = SubResource("OccluderPolygon2D_p33ik")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_7cq61")

[node name="RayCastUp1" type="RayCast2D" parent="."]
position = Vector2(-4, 0)
target_position = Vector2(0, -8.1)

[node name="RayCastUp2" type="RayCast2D" parent="."]
position = Vector2(4, 0)
target_position = Vector2(0, -8.1)

[node name="Polygon2D" type="Polygon2D" parent="."]
polygon = PackedVector2Array(-9, -9, -9, 9, 9, 9, 9, -9)

[node name="AudioListener2D" type="AudioListener2D" parent="."]

[node name="SpatialAudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
position = Vector2(0, -8)
stream = ExtResource("2_p4pcw")
volume_db = 10.0
autoplay = true
script = ExtResource("3_yaiah")
