[gd_scene load_steps=17 format=3 uid="uid://642nm6c4mpxx"] [ext_resource type="Script" uid="uid://rdqmsvofiots" path="res://scenes/player.gd" id="1_v6fml"] [ext_resource type="Texture2D" uid="uid://b8ptokcqwpdud" path="res://assets/sprites/saffron.png" id="2_3li8b"] [sub_resource type="AtlasTexture" id="AtlasTexture_g2els"] atlas = ExtResource("2_3li8b") region = Rect2(0, 64, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_qhqgy"] atlas = ExtResource("2_3li8b") region = Rect2(24, 64, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_dqkch"] atlas = ExtResource("2_3li8b") region = Rect2(48, 64, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_qlg0r"] atlas = ExtResource("2_3li8b") region = Rect2(0, 96, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_tuyoq"] atlas = ExtResource("2_3li8b") region = Rect2(24, 96, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_fjrip"] atlas = ExtResource("2_3li8b") region = Rect2(48, 96, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_smehm"] atlas = ExtResource("2_3li8b") region = Rect2(0, 32, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_ur7pv"] atlas = ExtResource("2_3li8b") region = Rect2(24, 32, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_y4r1p"] atlas = ExtResource("2_3li8b") region = Rect2(48, 32, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_d2wvv"] atlas = ExtResource("2_3li8b") region = Rect2(48, 0, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_3v2ag"] atlas = ExtResource("2_3li8b") region = Rect2(24, 0, 24, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_jej6c"] atlas = ExtResource("2_3li8b") region = Rect2(0, 0, 24, 32) [sub_resource type="SpriteFrames" id="SpriteFrames_f1ej7"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_g2els") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qhqgy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_dqkch") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qhqgy") }], "loop": true, "name": &"down", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_qlg0r") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tuyoq") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fjrip") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tuyoq") }], "loop": true, "name": &"left", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_smehm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ur7pv") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_y4r1p") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ur7pv") }], "loop": true, "name": &"right", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_d2wvv") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3v2ag") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_jej6c") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3v2ag") }], "loop": true, "name": &"up", "speed": 5.0 }] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_oprun"] radius = 5.0 height = 16.0 [node name="Player" type="CharacterBody2D"] script = ExtResource("1_v6fml") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_f1ej7") animation = &"down" frame_progress = 0.29168898 offset = Vector2(0, -16) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -8) shape = SubResource("CapsuleShape2D_oprun")