[gd_scene load_steps=21 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://ds8mbsjrianb3" path="res://player/Attack animation 2/Attack animation 2 0.png" id="3_tqiix"] [ext_resource type="Texture2D" uid="uid://vwbnqmbol6hh" path="res://player/Player_Walk/Walk 3.png" id="4_2ieo8"] [ext_resource type="Texture2D" uid="uid://dxr4idwjaq4kx" path="res://player/Attack animation 2/Attack animation 2 1.png" id="4_e7oew"] [ext_resource type="PackedScene" uid="uid://d3e3kuyeh6mr1" path="res://player/sword.tscn" id="4_yw30f"] [ext_resource type="Texture2D" uid="uid://doywx3flx6pvo" path="res://player/Attack animation 2/Attack animation 2 2.png" id="5_c35mf"] [ext_resource type="Texture2D" uid="uid://dawbam413fob" path="res://player/Player_Walk/Walk 4.png" id="5_ebec5"] [ext_resource type="Texture2D" uid="uid://bs8rolxcg4bib" path="res://player/Attack animation 2/Attack animation 2 3.png" id="6_65viv"] [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"] [ext_resource type="Texture2D" uid="uid://6su58pdrqqhd" path="res://player/Attack animation 2/Attack animation 2 4 .png" id="7_x7c3f"] [ext_resource type="PackedScene" uid="uid://beotdg4etmevc" path="res://player/double_jump/double_jump_animation.tscn" id="10_8t03j"] [ext_resource type="AudioStream" uid="uid://co07360hqn6fk" path="res://sounds/686321__cjspellsfish__punch-land-soft.wav" id="11_2ieo8"] [ext_resource type="AudioStream" uid="uid://ds0yw3au0quae" path="res://sounds/whoosh.mp3" id="12_ebec5"] [ext_resource type="AudioStream" uid="uid://c3pqq5yi1686n" path="res://sounds/sword_swing.wav" id="17_tqiix"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_onrkg"] [sub_resource type="SpriteFrames" id="SpriteFrames_dw050"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("3_tqiix") }, { "duration": 1.0, "texture": ExtResource("4_e7oew") }, { "duration": 1.0, "texture": ExtResource("5_c35mf") }, { "duration": 1.0, "texture": ExtResource("6_65viv") }, { "duration": 1.0, "texture": ExtResource("7_x7c3f") }], "loop": false, "name": &"attack", "speed": 20.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("2_hg6s5") }], "loop": false, "name": &"idle", "speed": 5.0 }, { "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": false, "name": &"walk", "speed": 10.0 }] [node name="Player" type="CharacterBody2D"] z_index = 10 collision_layer = 5 safe_margin = 1.0 script = ExtResource("1_4flbx") double_jump_animation = ExtResource("10_8t03j") [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 = &"attack" [node name="EarthAligner" parent="." instance=ExtResource("3_i3pqv")] [node name="Sword" parent="." instance=ExtResource("4_yw30f")] scale = Vector2(1, 1) [node name="ActiveItemCooldown" type="Timer" parent="."] one_shot = true [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("11_2ieo8") volume_db = 15.0 [node name="AirJumpAudio" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("12_ebec5") volume_db = 4.0 pitch_scale = 1.62 [node name="SwordSwingAudio" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("17_tqiix") volume_db = -12.0 [connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_attack_end"]