[gd_scene load_steps=39 format=3 uid="uid://go4yc8hfo1gq"] [ext_resource type="Script" path="res://scripts/CharacterBody2D.gd" id="1_x87yo"] [ext_resource type="Texture2D" uid="uid://bqj4phkget2pp" path="res://graphics/player animations/Player Idle 48x48.png" id="2_fibqb"] [ext_resource type="Texture2D" uid="uid://b4te11j5ut62p" path="res://graphics/player animations/Player Death 64x64.png" id="2_lgyh4"] [ext_resource type="Texture2D" uid="uid://bnvk6gm188vsv" path="res://graphics/player animations/player jump 48x48.png" id="3_1rbvb"] [ext_resource type="Texture2D" uid="uid://bag8xvlev6yxg" path="res://graphics/player animations/player run 48x48.png" id="4_fouff"] [sub_resource type="AtlasTexture" id="AtlasTexture_q43wd"] atlas = ExtResource("2_lgyh4") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_r0cll"] atlas = ExtResource("2_lgyh4") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_6ujxt"] atlas = ExtResource("2_lgyh4") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_1baju"] atlas = ExtResource("2_lgyh4") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_i445f"] atlas = ExtResource("2_lgyh4") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_7op4n"] atlas = ExtResource("2_lgyh4") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_mtsu2"] atlas = ExtResource("2_lgyh4") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_an4ql"] atlas = ExtResource("2_lgyh4") region = Rect2(336, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_cgbkp"] atlas = ExtResource("2_lgyh4") region = Rect2(384, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_p6mmk"] atlas = ExtResource("2_lgyh4") region = Rect2(432, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_aeg01"] atlas = ExtResource("2_fibqb") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_1uaof"] atlas = ExtResource("2_fibqb") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_gt6ba"] atlas = ExtResource("2_fibqb") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_tay2c"] atlas = ExtResource("2_fibqb") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_1ag8q"] atlas = ExtResource("2_fibqb") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_hjiy4"] atlas = ExtResource("2_fibqb") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_82onf"] atlas = ExtResource("2_fibqb") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_yqp8u"] atlas = ExtResource("2_fibqb") region = Rect2(336, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_m6d3n"] atlas = ExtResource("2_fibqb") region = Rect2(384, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ax7e1"] atlas = ExtResource("2_fibqb") region = Rect2(432, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_qrer8"] atlas = ExtResource("3_1rbvb") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_wpiaq"] atlas = ExtResource("3_1rbvb") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_kc70w"] atlas = ExtResource("3_1rbvb") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_i4hpn"] atlas = ExtResource("4_fouff") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_sri3h"] atlas = ExtResource("4_fouff") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_igbwk"] atlas = ExtResource("4_fouff") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_t7p31"] atlas = ExtResource("4_fouff") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ovti0"] atlas = ExtResource("4_fouff") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_2vy0d"] atlas = ExtResource("4_fouff") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_klr2a"] atlas = ExtResource("4_fouff") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ax6e1"] atlas = ExtResource("4_fouff") region = Rect2(336, 0, 48, 48) [sub_resource type="SpriteFrames" id="SpriteFrames_8idir"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_q43wd") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_r0cll") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_6ujxt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1baju") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_i445f") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_7op4n") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_mtsu2") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_an4ql") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_cgbkp") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_p6mmk") }], "loop": false, "name": &"death", "speed": 12.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_aeg01") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1uaof") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_gt6ba") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tay2c") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1ag8q") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_hjiy4") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_82onf") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_yqp8u") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_m6d3n") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ax7e1") }], "loop": true, "name": &"idle", "speed": 15.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_qrer8") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_wpiaq") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_kc70w") }], "loop": false, "name": &"jump", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_i4hpn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_sri3h") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_igbwk") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_t7p31") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ovti0") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_2vy0d") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_klr2a") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ax6e1") }], "loop": true, "name": &"run", "speed": 15.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_ubfw4"] radius = 12.0 [node name="CharacterBody2D" type="CharacterBody2D"] position = Vector2(-1, 0) script = ExtResource("1_x87yo") JUMP_VELOCITY = -500.0 PUSH_FORCE = 200 metadata/_edit_group_ = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 sprite_frames = SubResource("SpriteFrames_8idir") animation = &"death" autoplay = "idle" [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, 3) 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)