[gd_scene load_steps=5 format=3 uid="uid://pldxcq54fei5"]

[ext_resource type="Script" uid="uid://ddiwahqiekcqp" path="res://scripts/player.gd" id="1_j1k7i"]
[ext_resource type="SpriteFrames" uid="uid://b7cjgh268bie5" path="res://resources/sprite_frames_player.tres" id="2_qhqgy"]
[ext_resource type="PackedScene" uid="uid://dgotxye77b7mr" path="res://scenes/debug_layer.tscn" id="3_niqac"]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ykc1o"]
radius = 7.0
height = 16.0

[node name="Player" type="CharacterBody2D"]
script = ExtResource("1_j1k7i")

[node name="PlayerSprite" type="AnimatedSprite2D" parent="."]
sprite_frames = ExtResource("2_qhqgy")
animation = &"walk_up"
autoplay = "idle_down"
offset = Vector2(0, -8)

[node name="PlayerCollider" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_ykc1o")

[node name="PlayerCamera" type="Camera2D" parent="."]
zoom = Vector2(4, 4)

[node name="PlayerDebug" parent="." instance=ExtResource("3_niqac")]
visible = false
variables_to_track = Array[String](["current_direction", "current_direction_string", "velocity", "input_vector"])
