[gd_scene load_steps=28 format=3 uid="uid://go4yc8hfo1gq"]

[ext_resource type="Script" path="res://scripts/CharacterBody2D.gd" id="1_x87yo"]
[ext_resource type="Texture2D" uid="uid://rvqjq6nksgag" path="res://Graphics/Player Idle 48x48.png" id="2_2t4h1"]
[ext_resource type="Texture2D" uid="uid://bdelbnqhy0kn2" path="res://Graphics/player run 48x48.png" id="3_0aqmh"]
[ext_resource type="Texture2D" uid="uid://hsovsssoucoy" path="res://Graphics/player jump 48x48.png" id="3_j04d8"]

[sub_resource type="AtlasTexture" id="AtlasTexture_taqqu"]
atlas = ExtResource("2_2t4h1")
region = Rect2(0, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_uwwnn"]
atlas = ExtResource("2_2t4h1")
region = Rect2(48, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_obxfn"]
atlas = ExtResource("2_2t4h1")
region = Rect2(96, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_27f1c"]
atlas = ExtResource("2_2t4h1")
region = Rect2(144, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_m4w16"]
atlas = ExtResource("2_2t4h1")
region = Rect2(192, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_x118l"]
atlas = ExtResource("2_2t4h1")
region = Rect2(240, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_0sj8s"]
atlas = ExtResource("2_2t4h1")
region = Rect2(288, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_q0kja"]
atlas = ExtResource("2_2t4h1")
region = Rect2(336, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_yyvuv"]
atlas = ExtResource("2_2t4h1")
region = Rect2(384, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_bpuxv"]
atlas = ExtResource("2_2t4h1")
region = Rect2(432, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_k4ctm"]
atlas = ExtResource("3_j04d8")
region = Rect2(0, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_0x1fh"]
atlas = ExtResource("3_j04d8")
region = Rect2(48, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_bffbs"]
atlas = ExtResource("3_j04d8")
region = Rect2(96, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_fd8ov"]
atlas = ExtResource("3_0aqmh")
region = Rect2(0, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_rhevl"]
atlas = ExtResource("3_0aqmh")
region = Rect2(48, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_d6e16"]
atlas = ExtResource("3_0aqmh")
region = Rect2(96, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_de1q6"]
atlas = ExtResource("3_0aqmh")
region = Rect2(144, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_j4m8h"]
atlas = ExtResource("3_0aqmh")
region = Rect2(192, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_i3vl8"]
atlas = ExtResource("3_0aqmh")
region = Rect2(240, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_yjjpf"]
atlas = ExtResource("3_0aqmh")
region = Rect2(288, 0, 48, 48)

[sub_resource type="AtlasTexture" id="AtlasTexture_uvphg"]
atlas = ExtResource("3_0aqmh")
region = Rect2(336, 0, 48, 48)

[sub_resource type="SpriteFrames" id="SpriteFrames_k63ce"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_taqqu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uwwnn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_obxfn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_27f1c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m4w16")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x118l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0sj8s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q0kja")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yyvuv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bpuxv")
}],
"loop": true,
"name": &"Idle",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_k4ctm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0x1fh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bffbs")
}],
"loop": true,
"name": &"Jump",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_fd8ov")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rhevl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d6e16")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_de1q6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j4m8h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i3vl8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yjjpf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uvphg")
}],
"loop": true,
"name": &"Run",
"speed": 15.0
}]

[sub_resource type="CircleShape2D" id="CircleShape2D_ubfw4"]
radius = 13.0384

[node name="CharacterBody2D" type="CharacterBody2D"]
position = Vector2(-1, 0)
script = ExtResource("1_x87yo")
JUMP_VELOCITY = -500.0
PUSH_FORCE = 200

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_k63ce")
animation = &"Jump"
autoplay = "Idle"
frame_progress = 0.705333

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

[node name="RightRay" type="RayCast2D" parent="."]
target_position = Vector2(25, 0)

[node name="LeftRay" type="RayCast2D" parent="."]
target_position = Vector2(-25, 0)

[node name="MarkerRight" type="Node2D" parent="."]
position = Vector2(16, -6)

[node name="MarkerLeft" type="Node2D" parent="."]
position = Vector2(-16, -6)
