[gd_scene load_steps=5 format=1]

[ext_resource path="res://Scenes/Events/machete.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Effects/machete.png" type="Texture" id=2]

[sub_resource type="CircleShape2D" id=2]

custom_solver_bias = 0.0
radius = 12.0234

[sub_resource type="Animation" id=1]

resource/name = "spin"
length = 1.0
loop = true
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:transform/rot")
tracks/0/interp = 1
tracks/0/imported = false
tracks/0/keys = {
"times": FloatArray( 0, 0.5, 1 ),
"transitions": FloatArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 180.1, 360.0 ]
}

[node name="Node2D" type="Node2D"]

transform/scale = Vector2( 2, 2 )
script/script = ExtResource( 1 )
damage = 1
velocity = 13
animation_speed = 3

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

transform/scale = Vector2( 1, 1 )
input/pickable = true
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
collision/layers = 123
collision/mask = 0

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

transform/scale = Vector2( 1, 1 )
shape = SubResource( 2 )
trigger = false
_update_shape_index = 0

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

texture = ExtResource( 2 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite"]

playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/spin = SubResource( 1 )
playback/active = true
playback/speed = 3.0
blend_times = [  ]
autoplay = "spin"

[connection signal="body_enter" from="Area2D" to="." method="_on_Area2D_body_enter"]


