[gd_scene load_steps=28 format=3 uid="uid://c1cuiluq1fcpk"] [ext_resource type="Script" path="res://scripts/player.gd" id="1_s1kdl"] [ext_resource type="Texture2D" uid="uid://cv2rxkxb3qt8d" path="res://assets/graphics/player/idle/Player Idle 48x48.png" id="2_h20by"] [ext_resource type="Texture2D" uid="uid://cnya66cp8q1jw" path="res://assets/graphics/player/jump/player jump 48x48.png" id="3_fr7w2"] [ext_resource type="Texture2D" uid="uid://ds0ii0prt3pij" path="res://assets/graphics/player/run/player run 48x48.png" id="3_gom75"] [sub_resource type="CircleShape2D" id="CircleShape2D_y4y41"] [sub_resource type="AtlasTexture" id="AtlasTexture_mww1u"] atlas = ExtResource("2_h20by") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ok4l7"] atlas = ExtResource("2_h20by") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_tusxt"] atlas = ExtResource("2_h20by") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_gdc6u"] atlas = ExtResource("2_h20by") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_235hx"] atlas = ExtResource("2_h20by") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_cy5k4"] atlas = ExtResource("2_h20by") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_g3wxi"] atlas = ExtResource("2_h20by") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_aec4t"] atlas = ExtResource("2_h20by") region = Rect2(336, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_3ht28"] atlas = ExtResource("2_h20by") region = Rect2(384, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_5ntut"] atlas = ExtResource("2_h20by") region = Rect2(432, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_8hdk6"] atlas = ExtResource("3_fr7w2") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_4ddi8"] atlas = ExtResource("3_fr7w2") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ndifq"] atlas = ExtResource("3_fr7w2") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_0rpev"] atlas = ExtResource("3_gom75") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_w0u7q"] atlas = ExtResource("3_gom75") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_csrrm"] atlas = ExtResource("3_gom75") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_n4feg"] atlas = ExtResource("3_gom75") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_eje62"] atlas = ExtResource("3_gom75") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_5yqty"] atlas = ExtResource("3_gom75") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_s7y8g"] atlas = ExtResource("3_gom75") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_kg71y"] atlas = ExtResource("3_gom75") region = Rect2(336, 0, 48, 48) [sub_resource type="SpriteFrames" id="SpriteFrames_gcr48"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_mww1u") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ok4l7") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tusxt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_gdc6u") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_235hx") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_cy5k4") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_g3wxi") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_aec4t") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3ht28") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_5ntut") }], "loop": true, "name": &"idle", "speed": 12.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_8hdk6") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_4ddi8") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ndifq") }], "loop": false, "name": &"jump", "speed": 6.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_0rpev") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_w0u7q") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_csrrm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_n4feg") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_eje62") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_5yqty") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_s7y8g") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_kg71y") }], "loop": true, "name": &"run", "speed": 12.0 }] [node name="CharacterBody2D" type="CharacterBody2D" groups=["player"]] script = ExtResource("1_s1kdl") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_y4y41") debug_color = Color(0.752941, 0.211765, 0.984314, 0.419608) [node name="RightRay" type="RayCast2D" parent="."] target_position = Vector2(20, 0) collide_with_areas = true [node name="LeftRay" type="RayCast2D" parent="."] target_position = Vector2(-21, 0) [node name="RightTarget" type="Node2D" parent="."] position = Vector2(10, -5) [node name="LeftTarget" type="Node2D" parent="."] position = Vector2(-10, -5) [node name="Camera2D" type="Camera2D" parent="."] offset = Vector2(0, -60) [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 position = Vector2(0, -5) sprite_frames = SubResource("SpriteFrames_gcr48") animation = &"jump" autoplay = "jump" frame = 2 frame_progress = 1.0