[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://bjicpmau1iy7y" path="res://graphics/Player Idle 48x48.png" id="2_re2it"]
[ext_resource type="Texture2D" uid="uid://bpocjaij352uj" path="res://graphics/player run 48x48.png" id="3_4gwja"]
[ext_resource type="Texture2D" uid="uid://cid246g3bgt7a" path="res://graphics/player jump 48x48.png" id="3_h032e"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[sub_resource type="SpriteFrames" id="SpriteFrames_h7tsu"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bkvw7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2oy63")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q4cvr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ib3dq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kdna3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_muups")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nkvak")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fxl5c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pnqri")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i6dxl")
}],
"loop": true,
"name": &"idle",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_fxixe")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mvx11")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a2bf2")
}],
"loop": false,
"name": &"jump",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_7ad6o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yoh57")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rtw0v")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_abqek")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fqjri")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f8bsf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xgued")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_six34")
}],
"loop": true,
"name": &"run",
"speed": 15.0
}]

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

[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_h7tsu")
animation = &"jump"
autoplay = "idle"
frame = 2
frame_progress = 1.0

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 5)
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)
