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

[ext_resource type="Script" uid="uid://dpsocqnk0e6le" path="res://scenes/player/player.gd" id="1_dovo2"]
[ext_resource type="SpriteFrames" uid="uid://6v5nyv2wo47g" path="res://scenes/player/assets/yukotsuki.aseprite" id="2_dovo2"]
[ext_resource type="Script" uid="uid://diths5s8vd7lr" path="res://classes/state_machine/state_machine.gd" id="2_lvxji"]
[ext_resource type="Script" uid="uid://cl6snimpmxcvu" path="res://scenes/player/states/player_idle.gd" id="3_p47bc"]
[ext_resource type="Script" uid="uid://bg5fu1ildsdnq" path="res://scenes/player/states/player_walking.gd" id="4_p47bc"]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_gmlin"]
radius = 6.0
height = 14.0

[node name="Player" type="CharacterBody2D"]
collision_mask = 2
motion_mode = 1
script = ExtResource("1_dovo2")
max_speed = 95.0

[node name="StateMachine" type="Node" parent="." node_paths=PackedStringArray("initial_state")]
script = ExtResource("2_lvxji")
initial_state = NodePath("Idle")
metadata/_custom_type_script = "uid://diths5s8vd7lr"

[node name="Idle" type="Node" parent="StateMachine"]
script = ExtResource("3_p47bc")
metadata/_custom_type_script = "uid://bebe1y51hwns8"

[node name="Walking" type="Node" parent="StateMachine"]
script = ExtResource("4_p47bc")
metadata/_custom_type_script = "uid://bebe1y51hwns8"

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -16)
sprite_frames = ExtResource("2_dovo2")
animation = &"idle"

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -7)
shape = SubResource("CapsuleShape2D_gmlin")
debug_color = Color(0.28459275, 0.61933166, 0.3529686, 0.41960785)
