[gd_scene load_steps=9 format=2]

[ext_resource path="res://src/actors/character/Character.gd" type="Script" id=1]
[ext_resource path="res://src/actors/player/AnimationTree.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/actors/character/Health.tscn" type="PackedScene" id=3]
[ext_resource path="res://src/actors/player/AnimationPlayer.tscn" type="PackedScene" id=4]
[ext_resource path="res://data/images/player/base_character.png" type="Texture" id=5]
[ext_resource path="res://src/actors/character/Attack.tscn" type="PackedScene" id=6]

[sub_resource type="CircleShape2D" id=1]

[sub_resource type="AnimationNodeStateMachinePlayback" id=2]

[node name="Character" type="KinematicBody2D" groups=[
"actor",
]]
collision_layer = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}

[node name="Body" type="Sprite" parent="."]
position = Vector2( 0, -64 )
texture = ExtResource( 5 )
vframes = 8
hframes = 32
frame = 76

[node name="WeaponSpawn" type="Position2D" parent="."]

[node name="Health" parent="." instance=ExtResource( 3 )]

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 1 )

[node name="AnimationPlayer" parent="." instance=ExtResource( 4 )]

[node name="AnimationTree" parent="." instance=ExtResource( 2 )]
parameters/playback = SubResource( 2 )
parameters/Death/blend_position = Vector2( -0.000845313, 0.00444436 )

[node name="Attack" parent="." instance=ExtResource( 6 )]

[node name="RangedAttack" parent="." instance=ExtResource( 6 )]
