[gd_scene load_steps=8 format=3 uid="uid://3wumh6kpw3ai"] [ext_resource type="Texture2D" uid="uid://pc081i405fo4" path="res://assets/sprites/knight.png" id="1_3vyb7"] [sub_resource type="AtlasTexture" id="AtlasTexture_g2els"] atlas = ExtResource("1_3vyb7") region = Rect2(0, 0, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_qhqgy"] atlas = ExtResource("1_3vyb7") region = Rect2(32, 0, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_dqkch"] atlas = ExtResource("1_3vyb7") region = Rect2(64, 0, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_qlg0r"] atlas = ExtResource("1_3vyb7") region = Rect2(96, 0, 32, 32) [sub_resource type="SpriteFrames" id="SpriteFrames_tuyoq"] 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_qlg0r") }], "loop": true, "name": &"idle", "speed": 7.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_fjrip"] radius = 5.0 [node name="Player" type="CharacterBody2D"] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(0, -12) sprite_frames = SubResource("SpriteFrames_tuyoq") animation = &"idle" autoplay = "idle" frame_progress = 0.33528003 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -5) shape = SubResource("CircleShape2D_fjrip")