[gd_scene load_steps=11 format=3 uid="uid://cx7gr555b1gov"] [ext_resource type="Texture2D" uid="uid://be7hl01iuo5af" path="res://Assets/Sprites/Characters/Player/kitsune-Sheet.png" id="1_5wxv7"] [ext_resource type="Script" uid="uid://8drbh4rcl410" path="res://Scripts/PlayerMovement.cs" id="2_y5hcb"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_wrm1d"] radius = 2.0 height = 10.0 [sub_resource type="AtlasTexture" id="AtlasTexture_3dryh"] atlas = ExtResource("1_5wxv7") region = Rect2(0, 0, 16, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_wowpa"] atlas = ExtResource("1_5wxv7") region = Rect2(16, 0, 16, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_i6g32"] atlas = ExtResource("1_5wxv7") region = Rect2(32, 0, 16, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_1l0tm"] atlas = ExtResource("1_5wxv7") region = Rect2(48, 0, 16, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_v158k"] atlas = ExtResource("1_5wxv7") region = Rect2(64, 0, 16, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_h4fw4"] atlas = ExtResource("1_5wxv7") region = Rect2(80, 0, 16, 32) [sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_3dryh") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_wowpa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_i6g32") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1l0tm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_v158k") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_h4fw4") }], "loop": true, "name": &"idle", "speed": 8.0 }] [node name="Player" type="CharacterBody2D"] y_sort_enabled = true texture_filter = 1 collision_layer = 2 collision_mask = 5 motion_mode = 1 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -2) rotation = 1.5707964 shape = SubResource("CapsuleShape2D_wrm1d") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_ebmjs") animation = &"idle" frame_progress = 0.8244228 offset = Vector2(0, -16) [node name="Scripts" type="Node" parent="."] [node name="Movement" type="Node" parent="Scripts" node_paths=PackedStringArray("_body2D")] script = ExtResource("2_y5hcb") _body2D = NodePath("../..") _speed = 4000.0