[gd_scene load_steps=15 format=3 uid="uid://415yw4i180tb"]

[ext_resource type="Script" uid="uid://ba40wm75ry2oh" path="res://CardInjects/Katana/katana.gd" id="1_1dbc3"]
[ext_resource type="Texture2D" uid="uid://n676fc0oqssw" path="res://assets/animations/Katana_slash_1/Slash 1.png" id="2_b0k4l"]
[ext_resource type="Texture2D" uid="uid://brrakxqc40cx3" path="res://assets/animations/Katana_slash_1/Slash 2.png" id="3_rqa0t"]
[ext_resource type="Texture2D" uid="uid://0tivfj0mlwu4" path="res://assets/animations/Katana_slash_1/Slash 3.png" id="4_vyhi5"]
[ext_resource type="Texture2D" uid="uid://scrlfav4vsq0" path="res://assets/animations/Katana_slash_1/Slash 4.png" id="5_4klwf"]
[ext_resource type="Texture2D" uid="uid://bsrrmga720ml" path="res://assets/animations/Katana_slash_1/Slash 5.png" id="6_he2lf"]
[ext_resource type="Texture2D" uid="uid://bw1pmpji38len" path="res://assets/animations/Katana_slash_1/Slash 6.png" id="7_0vlic"]
[ext_resource type="Texture2D" uid="uid://b71m60416ssrh" path="res://assets/animations/Katana_slash_1/Slash 7.png" id="8_sj3so"]
[ext_resource type="Texture2D" uid="uid://b3wk8akdefirx" path="res://assets/animations/Katana_slash_1/Slash 8.png" id="9_kuojl"]
[ext_resource type="Texture2D" uid="uid://b0ah2jqrw5g8m" path="res://assets/animations/Katana_slash_1/Slash 10.png" id="10_fakx8"]

[sub_resource type="Animation" id="Animation_b0k4l"]
resource_name = "katana_slash"
tracks/0/type = "method"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.33333334),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"queue_free"
}]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_rqa0t"]
_data = {
&"katana_slash": SubResource("Animation_b0k4l")
}

[sub_resource type="SpriteFrames" id="SpriteFrames_wdw6g"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_b0k4l")
}, {
"duration": 1.0,
"texture": ExtResource("3_rqa0t")
}, {
"duration": 1.0,
"texture": ExtResource("4_vyhi5")
}, {
"duration": 1.0,
"texture": ExtResource("5_4klwf")
}, {
"duration": 1.0,
"texture": ExtResource("6_he2lf")
}, {
"duration": 1.0,
"texture": ExtResource("7_0vlic")
}, {
"duration": 1.0,
"texture": ExtResource("8_sj3so")
}, {
"duration": 1.0,
"texture": ExtResource("9_kuojl")
}, {
"duration": 1.0,
"texture": ExtResource("10_fakx8")
}],
"loop": false,
"name": &"default",
"speed": 30.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_b0k4l"]
size = Vector2(158.5, 355.5)

[node name="Katana" type="Node2D"]
script = ExtResource("1_1dbc3")

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_rqa0t")
}
autoplay = "katana_slash"

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_wdw6g")
autoplay = "default"

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

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(1, 1)
shape = SubResource("RectangleShape2D_b0k4l")

[connection signal="area_entered" from="Area2D" to="." method="_on_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"]
