[gd_scene load_steps=7 format=3 uid="uid://pqy8rrvjthgl"]

[ext_resource type="Texture2D" uid="uid://4bah0c8unbl8" path="res://Assets/Traps/Sticks/Tile2_59.png" id="1_dnq4b"]
[ext_resource type="Script" uid="uid://3gn70ilm20tw" path="res://Game/Traps/traps.gd" id="1_metvu"]
[ext_resource type="Texture2D" uid="uid://l58s5yxh4f8n" path="res://Assets/Traps/Sticks/Tile2_60.png" id="2_metvu"]
[ext_resource type="AudioStream" uid="uid://b00qix6a3do53" path="res://Assets/Sounds/stick trap impact.mp3" id="4_m1bdk"]

[sub_resource type="CircleShape2D" id="CircleShape2D_m1bdk"]
radius = 32.0

[sub_resource type="RectangleShape2D" id="RectangleShape2D_metvu"]
size = Vector2(49.5, 18)

[node name="StickTrap" type="Node2D"]
script = ExtResource("1_metvu")

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

[node name="Sprite2D" type="Sprite2D" parent="CharacterBody2D"]
position = Vector2(8, 8)
scale = Vector2(1.5, 0.5)
texture = ExtResource("1_dnq4b")
offset = Vector2(10, 0)

[node name="Sprite2D2" type="Sprite2D" parent="CharacterBody2D"]
position = Vector2(0, 8)
scale = Vector2(1, 0.5)
texture = ExtResource("2_metvu")
offset = Vector2(-10, 0)

[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
position = Vector2(5, 0)
scale = Vector2(0.8, 0.8)
shape = SubResource("CircleShape2D_m1bdk")

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

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(4.25, 11)
shape = SubResource("RectangleShape2D_metvu")
debug_color = Color(0.811824, 0.00210331, 0.983083, 0.42)

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_m1bdk")
