[gd_scene load_steps=22 format=3 uid="uid://dr8qdk10uy0o4"] [ext_resource type="Script" uid="uid://batcpr6rxhyb2" path="res://Assets/Scripts/PlayerScripts/PlayerMover.cs" id="1_b2ifw"] [ext_resource type="Texture2D" uid="uid://c0pno0ac25r7i" path="res://Assets/Sprites/knight.png" id="2_b2ifw"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_b2ifw"] size = Vector2(12, 28) [sub_resource type="AtlasTexture" id="AtlasTexture_aee6e"] atlas = ExtResource("2_b2ifw") region = Rect2(0, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_e5q2x"] atlas = ExtResource("2_b2ifw") region = Rect2(32, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_mifcl"] atlas = ExtResource("2_b2ifw") region = Rect2(64, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_2thea"] atlas = ExtResource("2_b2ifw") region = Rect2(96, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_jqe1p"] atlas = ExtResource("2_b2ifw") region = Rect2(128, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_n6g26"] atlas = ExtResource("2_b2ifw") region = Rect2(160, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_twodr"] atlas = ExtResource("2_b2ifw") region = Rect2(192, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_y63lr"] atlas = ExtResource("2_b2ifw") region = Rect2(224, 64, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_jjopo"] atlas = ExtResource("2_b2ifw") region = Rect2(0, 96, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_evjpc"] atlas = ExtResource("2_b2ifw") region = Rect2(32, 96, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_o5e1w"] atlas = ExtResource("2_b2ifw") region = Rect2(64, 96, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_6t18s"] atlas = ExtResource("2_b2ifw") region = Rect2(96, 96, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_3iaiu"] atlas = ExtResource("2_b2ifw") region = Rect2(128, 96, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_ausrs"] atlas = ExtResource("2_b2ifw") region = Rect2(160, 96, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_ca55u"] atlas = ExtResource("2_b2ifw") region = Rect2(192, 96, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_uxm8m"] atlas = ExtResource("2_b2ifw") region = Rect2(224, 96, 32, 32) [sub_resource type="SpriteFrames" id="SpriteFrames_2thea"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_aee6e") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_e5q2x") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_mifcl") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_2thea") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_jqe1p") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_n6g26") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_twodr") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_y63lr") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_jjopo") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_evjpc") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_o5e1w") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_6t18s") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3iaiu") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ausrs") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ca55u") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_uxm8m") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_0ccr5"] size = Vector2(12, 28) [node name="Player" type="CharacterBody2D"] collision_layer = 4 collision_mask = 3 script = ExtResource("1_b2ifw") [node name="AreaDetector" type="Area2D" parent="."] collision_mask = 60 [node name="CollisionShape2D" type="CollisionShape2D" parent="AreaDetector"] position = Vector2(-1, -14) shape = SubResource("RectangleShape2D_b2ifw") [node name="WalkingAnimation" type="AnimatedSprite2D" parent="."] position = Vector2(0, -16) sprite_frames = SubResource("SpriteFrames_2thea") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(-1, -14) shape = SubResource("RectangleShape2D_0ccr5")