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

[ext_resource type="Script" path="res://scripts/sword_slash.gd" id="1_sword"]
[ext_resource type="Texture2D" uid="uid://hib38y541eog" path="res://assets/gfx/items_n_shit.png" id="2_texture"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_slash"]
size = Vector2(120, 60)

[node name="SwordSlash" type="Node2D"]
script = ExtResource("1_sword")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_texture")
rotation = 3.14159
scale = Vector2(3, 3)
hframes = 20
vframes = 14
frame = 60
region_enabled = false

[node name="Area2D" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 3

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(60, 0)
shape = SubResource("RectangleShape2D_slash")

