[gd_scene load_steps=28 format=3 uid="uid://c5uf1o0s4syv7"] [ext_resource type="Script" uid="uid://bxlrsqltut2xn" path="res://scripts/Player.gd" id="1_v0iea"] [ext_resource type="Texture2D" uid="uid://3jfrk0kpmfdg" path="res://Assets/Graphics/Player/IDLE/Player Idle 48x48.png" id="2_cvnsp"] [ext_resource type="Texture2D" uid="uid://wp3aoodpllgs" path="res://Assets/Graphics/Player/JUMP_FALL/player jump 48x48.png" id="2_vgqql"] [ext_resource type="Texture2D" uid="uid://dkkt184lbbiys" path="res://Assets/Graphics/Player/RUN/player run 48x48.png" id="3_6t5aa"] [sub_resource type="CircleShape2D" id="CircleShape2D_ag0er"] [sub_resource type="AtlasTexture" id="AtlasTexture_olqyp"] atlas = ExtResource("2_vgqql") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_6t5aa"] atlas = ExtResource("2_cvnsp") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_vgqql"] atlas = ExtResource("2_cvnsp") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_fkybt"] atlas = ExtResource("2_cvnsp") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_x3wgy"] atlas = ExtResource("2_cvnsp") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_3smsa"] atlas = ExtResource("2_cvnsp") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_8erm5"] atlas = ExtResource("2_cvnsp") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_f1ek2"] atlas = ExtResource("2_cvnsp") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_tx1dd"] atlas = ExtResource("2_cvnsp") region = Rect2(336, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_gymyn"] atlas = ExtResource("2_cvnsp") region = Rect2(384, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_pu2lt"] atlas = ExtResource("2_cvnsp") region = Rect2(432, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_wpjfl"] atlas = ExtResource("2_vgqql") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_bi64h"] atlas = ExtResource("2_vgqql") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ukyrk"] atlas = ExtResource("3_6t5aa") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_7dp3o"] atlas = ExtResource("3_6t5aa") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_h4iuc"] atlas = ExtResource("3_6t5aa") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_fd4e3"] atlas = ExtResource("3_6t5aa") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_qqcod"] atlas = ExtResource("3_6t5aa") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_igrcy"] atlas = ExtResource("3_6t5aa") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_fs7ks"] atlas = ExtResource("3_6t5aa") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_l6n3p"] atlas = ExtResource("3_6t5aa") region = Rect2(336, 0, 48, 48) [sub_resource type="SpriteFrames" id="SpriteFrames_ukyrk"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_olqyp") }], "loop": true, "name": &"FALL", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_6t5aa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_vgqql") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fkybt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_x3wgy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3smsa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_8erm5") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_f1ek2") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tx1dd") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_gymyn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_pu2lt") }], "loop": true, "name": &"IDLE", "speed": 8.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_wpjfl") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_bi64h") }], "loop": false, "name": &"JUMP", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_ukyrk") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_7dp3o") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_h4iuc") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fd4e3") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qqcod") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_igrcy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fs7ks") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_l6n3p") }], "loop": true, "name": &"RUN", "speed": 10.0 }] [node name="Player" type="CharacterBody2D"] script = ExtResource("1_v0iea") acceleration = 10 metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_ag0er") debug_color = Color(3.08037e-06, 0.641589, 0.331866, 0.42) [node name="RightCast" type="RayCast2D" parent="."] target_position = Vector2(48, 0) [node name="LeftCast" type="RayCast2D" parent="."] target_position = Vector2(-47, 0) [node name="BulletSpawnPointRight" type="Node2D" parent="."] position = Vector2(16, -5) [node name="BulletSpawnPointLeft" type="Node2D" parent="."] position = Vector2(-16, -5) [node name="jumpbuffertimer" type="Timer" parent="."] wait_time = 0.5 one_shot = true [node name="PlayerGraphic" type="AnimatedSprite2D" parent="."] texture_filter = 1 position = Vector2(1, -6) sprite_frames = SubResource("SpriteFrames_ukyrk") animation = &"JUMP" autoplay = "IDLE" frame = 1 frame_progress = 1.0 [connection signal="animation_finished" from="PlayerGraphic" to="." method="_on_animation_finished"]