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

[ext_resource type="Script" uid="uid://dfigqc0flmid5" path="res://scripts/floor_switch.gd" id="1_p2yxv"]
[ext_resource type="AudioStream" uid="uid://brtf5pf2fny20" path="res://assets/audio/sfx/buttons/btn_click_02.wav.mp3" id="2_l24xk"]
[ext_resource type="AudioStream" uid="uid://b8hh30njhkpin" path="res://assets/audio/sfx/buttons/btn_click_06.wav.mp3" id="3_o6u0p"]
[ext_resource type="AudioStream" uid="uid://c3in48f5t0lyx" path="res://assets/audio/sfx/buttons/btn_click_05.wav.mp3" id="4_to70e"]

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_c655r"]
playback_mode = 1
streams_count = 2
stream_0/stream = ExtResource("2_l24xk")
stream_1/stream = ExtResource("3_o6u0p")

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

[node name="FloorSwitch" type="Area2D" unique_id=581799630]
collision_mask = 11
script = ExtResource("1_p2yxv")

[node name="PressSwitch" type="AudioStreamPlayer2D" parent="." unique_id=594823346]
stream = SubResource("AudioStreamRandomizer_c655r")
max_distance = 963.0
attenuation = 8.574176
panning_strength = 1.04

[node name="ReleaseSwitch" type="AudioStreamPlayer2D" parent="." unique_id=957397628]
stream = ExtResource("4_to70e")
max_distance = 1530.0
attenuation = 8.574182
panning_strength = 1.05

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=361597954]
shape = SubResource("RectangleShape2D_p2yxv")
