[gd_scene load_steps=48 format=3 uid="uid://bjc6dwxaakqdg"] [ext_resource type="Script" path="res://Code/Character.gd" id="1_23c20"] [ext_resource type="Texture2D" uid="uid://wfwjlevruveu" path="res://Import/Sprites/Character Idle 48x48.png" id="2_8h572"] [ext_resource type="Texture2D" uid="uid://c87b08n23v0kx" path="res://Import/Sprites/player air spin 48x48.png" id="2_gpxo5"] [ext_resource type="Texture2D" uid="uid://bge22c82umdui" path="res://Import/Sprites/PlayerWalk 48x48.png" id="3_xxdqr"] [ext_resource type="Texture2D" uid="uid://y8syonuki304" path="res://Import/Sprites/run cycle 48x48.png" id="4_rqcgh"] [ext_resource type="Texture2D" uid="uid://8ikuchoh7pyd" path="res://Import/Sprites/player jump 48x48.png" id="5_f2sni"] [ext_resource type="Texture2D" uid="uid://diiqvgeqnmn1c" path="res://Import/Sprites/player land 48x48.png" id="6_ba2s3"] [sub_resource type="AtlasTexture" id="AtlasTexture_c40es"] atlas = ExtResource("2_gpxo5") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_12cxk"] atlas = ExtResource("2_gpxo5") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_yyln8"] atlas = ExtResource("2_gpxo5") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_kfcja"] atlas = ExtResource("2_gpxo5") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_3mg0x"] atlas = ExtResource("2_gpxo5") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_2sfvi"] atlas = ExtResource("2_gpxo5") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_t3ih3"] atlas = ExtResource("2_8h572") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_s5g6o"] atlas = ExtResource("2_8h572") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_b6frn"] atlas = ExtResource("2_8h572") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_kmcgv"] atlas = ExtResource("2_8h572") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ms05f"] atlas = ExtResource("2_8h572") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_t3rvs"] atlas = ExtResource("2_8h572") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_n46sx"] atlas = ExtResource("2_8h572") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_48smm"] atlas = ExtResource("2_8h572") region = Rect2(336, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_tjhup"] atlas = ExtResource("2_8h572") region = Rect2(384, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_c84of"] atlas = ExtResource("2_8h572") region = Rect2(432, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_i67oc"] atlas = ExtResource("5_f2sni") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_x3ooa"] atlas = ExtResource("5_f2sni") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_7bpxf"] atlas = ExtResource("5_f2sni") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_fexn1"] atlas = ExtResource("6_ba2s3") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_3uk3c"] atlas = ExtResource("6_ba2s3") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_sx58l"] atlas = ExtResource("6_ba2s3") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_3u4f5"] atlas = ExtResource("4_rqcgh") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_dpm2p"] atlas = ExtResource("4_rqcgh") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_qh1us"] atlas = ExtResource("4_rqcgh") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_7kb6t"] atlas = ExtResource("4_rqcgh") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_p5dlr"] atlas = ExtResource("4_rqcgh") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_g7jsr"] atlas = ExtResource("4_rqcgh") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_aq6al"] atlas = ExtResource("4_rqcgh") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ftoh7"] atlas = ExtResource("4_rqcgh") region = Rect2(336, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_a247p"] atlas = ExtResource("3_xxdqr") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_24aks"] atlas = ExtResource("3_xxdqr") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_hs577"] atlas = ExtResource("3_xxdqr") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_1sf80"] atlas = ExtResource("3_xxdqr") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_h515b"] atlas = ExtResource("3_xxdqr") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_nx0f0"] atlas = ExtResource("3_xxdqr") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_6ow76"] atlas = ExtResource("3_xxdqr") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ygn7k"] atlas = ExtResource("3_xxdqr") region = Rect2(336, 0, 48, 48) [sub_resource type="SpriteFrames" id="SpriteFrames_gvqqb"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_c40es") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_12cxk") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_yyln8") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_kfcja") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3mg0x") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_2sfvi") }], "loop": false, "name": &"AirSpin", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_t3ih3") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_s5g6o") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_b6frn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_kmcgv") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ms05f") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_t3rvs") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_n46sx") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_48smm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tjhup") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_c84of") }], "loop": true, "name": &"Idle", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_i67oc") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_x3ooa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_7bpxf") }], "loop": true, "name": &"Jump", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_fexn1") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3uk3c") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_sx58l") }], "loop": true, "name": &"Land", "speed": 15.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_3u4f5") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_dpm2p") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qh1us") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_7kb6t") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_p5dlr") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_g7jsr") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_aq6al") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ftoh7") }], "loop": true, "name": &"Run", "speed": 15.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_a247p") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_24aks") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_hs577") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1sf80") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_h515b") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_nx0f0") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_6ow76") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ygn7k") }], "loop": true, "name": &"Walk", "speed": 10.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_wc2sw"] size = Vector2(16, 29) [node name="Player" type="CharacterBody2D"] script = ExtResource("1_23c20") [node name="Sprites" type="AnimatedSprite2D" parent="."] texture_filter = 1 position = Vector2(0, -16) sprite_frames = SubResource("SpriteFrames_gvqqb") animation = &"AirSpin" frame = 5 frame_progress = 1.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -14.5) shape = SubResource("RectangleShape2D_wc2sw")