[gd_scene load_steps=12 format=3 uid="uid://cmaovvr15b3qk"] [ext_resource type="Script" uid="uid://ddidj1uau28ck" path="res://player/player.gd" id="1_4flbx"] [ext_resource type="Texture2D" uid="uid://c4xg25s8loxp0" path="res://player/Player_Walk/Walk 1.png" id="2_hg6s5"] [ext_resource type="Texture2D" uid="uid://chxob4jg7qhqu" path="res://player/Player_Walk/Walk 2.png" id="3_8t03j"] [ext_resource type="PackedScene" uid="uid://chs0u61f45nau" path="res://utils/earth_aligner.tscn" id="3_i3pqv"] [ext_resource type="Texture2D" uid="uid://vwbnqmbol6hh" path="res://player/Player_Walk/Walk 3.png" id="4_2ieo8"] [ext_resource type="PackedScene" uid="uid://d3e3kuyeh6mr1" path="res://player/sword.tscn" id="4_yw30f"] [ext_resource type="Texture2D" uid="uid://dawbam413fob" path="res://player/Player_Walk/Walk 4.png" id="5_ebec5"] [ext_resource type="Texture2D" uid="uid://y32k1koww7oy" path="res://player/Player_Walk/Walk 5.png" id="6_yllr7"] [ext_resource type="Texture2D" uid="uid://bo7h3yc40kon3" path="res://player/Player_Walk/Walk 6.png" id="7_kb6p2"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_onrkg"] [sub_resource type="SpriteFrames" id="SpriteFrames_dw050"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("2_hg6s5") }, { "duration": 1.0, "texture": ExtResource("3_8t03j") }, { "duration": 1.0, "texture": ExtResource("4_2ieo8") }, { "duration": 1.0, "texture": ExtResource("5_ebec5") }, { "duration": 1.0, "texture": ExtResource("6_yllr7") }, { "duration": 1.0, "texture": ExtResource("7_kb6p2") }], "loop": true, "name": &"walk", "speed": 10.0 }] [node name="Player" type="CharacterBody2D"] z_index = 10 collision_layer = 5 safe_margin = 1.0 script = ExtResource("1_4flbx") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, 5.6) scale = Vector2(0.7, 0.72) shape = SubResource("CapsuleShape2D_onrkg") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] scale = Vector2(0.37, 0.37) sprite_frames = SubResource("SpriteFrames_dw050") animation = &"walk" frame_progress = 0.433977 [node name="EarthAligner" parent="." instance=ExtResource("3_i3pqv")] [node name="Sword" parent="." instance=ExtResource("4_yw30f")] position = Vector2(0, -1.9999999) [node name="ActiveItemCooldown" type="Timer" parent="."] one_shot = true