From 4fec01d79dc4be20408f21c8935ca968aa18ba82 Mon Sep 17 00:00:00 2001 From: Raxki Date: Wed, 28 Aug 2024 12:23:46 -0400 Subject: [PATCH] Addi Hiro Melee Animation WIP. --- Hiro/Hiro Hurt Sprites.png | 3 + Hiro/Hiro Hurt Sprites.png.import | 34 + Hiro/Hiro Melee Sprites.png | 3 + Hiro/Hiro Melee Sprites.png.import | 34 + Hiro/Hiro Walk Sprite Cycle Line .png | 3 - Hiro/Hiro Walk Sprite Cycle Line 2.png | 3 - Hiro/Hiro Walk Sprite Cycle Line Up.png | 3 + .../Hiro Walk Sprite Cycle Line Up.png.import | 34 + Hiro/Hiro Walk Sprite Cycle Line.png | 3 + Hiro/Hiro Walk Sprite Cycle Line.png.import | 34 + Hiro/hiro_player.tscn | 1091 ++++++++++++++++- 11 files changed, 1228 insertions(+), 17 deletions(-) create mode 100644 Hiro/Hiro Hurt Sprites.png create mode 100644 Hiro/Hiro Hurt Sprites.png.import create mode 100644 Hiro/Hiro Melee Sprites.png create mode 100644 Hiro/Hiro Melee Sprites.png.import delete mode 100644 Hiro/Hiro Walk Sprite Cycle Line .png delete mode 100644 Hiro/Hiro Walk Sprite Cycle Line 2.png create mode 100644 Hiro/Hiro Walk Sprite Cycle Line Up.png create mode 100644 Hiro/Hiro Walk Sprite Cycle Line Up.png.import create mode 100644 Hiro/Hiro Walk Sprite Cycle Line.png create mode 100644 Hiro/Hiro Walk Sprite Cycle Line.png.import diff --git a/Hiro/Hiro Hurt Sprites.png b/Hiro/Hiro Hurt Sprites.png new file mode 100644 index 0000000..79113c1 --- /dev/null +++ b/Hiro/Hiro Hurt Sprites.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ea34f43b6f89322dd04b34ad2c05ac4ef438249e8e3cf1da81bb57d72b74a13 +size 10001 diff --git a/Hiro/Hiro Hurt Sprites.png.import b/Hiro/Hiro Hurt Sprites.png.import new file mode 100644 index 0000000..c420f20 --- /dev/null +++ b/Hiro/Hiro Hurt Sprites.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rcidedgcjqg6" +path="res://.godot/imported/Hiro Hurt Sprites.png-b8df4b3d041f1a3a216008ff68dc7af8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Hiro/Hiro Hurt Sprites.png" +dest_files=["res://.godot/imported/Hiro Hurt Sprites.png-b8df4b3d041f1a3a216008ff68dc7af8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Hiro/Hiro Melee Sprites.png b/Hiro/Hiro Melee Sprites.png new file mode 100644 index 0000000..91280c2 --- /dev/null +++ b/Hiro/Hiro Melee Sprites.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee58c7d4808604005b04b18144ffc3b9156e0c41a0d8d304bee7811f0db8f887 +size 23748 diff --git a/Hiro/Hiro Melee Sprites.png.import b/Hiro/Hiro Melee Sprites.png.import new file mode 100644 index 0000000..217c3a1 --- /dev/null +++ b/Hiro/Hiro Melee Sprites.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bio3egs7q7wog" +path="res://.godot/imported/Hiro Melee Sprites.png-c4039a98fd4a1474606d4ba9e413afc8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Hiro/Hiro Melee Sprites.png" +dest_files=["res://.godot/imported/Hiro Melee Sprites.png-c4039a98fd4a1474606d4ba9e413afc8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Hiro/Hiro Walk Sprite Cycle Line .png b/Hiro/Hiro Walk Sprite Cycle Line .png deleted file mode 100644 index 5e6fa90..0000000 --- a/Hiro/Hiro Walk Sprite Cycle Line .png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8731a0666b6519e4f2b5adc8dcdcab0cf38e8e2f43e8927c195cfa60c7492ad3 -size 8894 diff --git a/Hiro/Hiro Walk Sprite Cycle Line 2.png b/Hiro/Hiro Walk Sprite Cycle Line 2.png deleted file mode 100644 index dac4d3a..0000000 --- a/Hiro/Hiro Walk Sprite Cycle Line 2.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aaab3ce3ee8fc6c3d6f4e59d9ed0bebdd236defc671feb09b13d1d0468062175 -size 8881 diff --git a/Hiro/Hiro Walk Sprite Cycle Line Up.png b/Hiro/Hiro Walk Sprite Cycle Line Up.png new file mode 100644 index 0000000..245a027 --- /dev/null +++ b/Hiro/Hiro Walk Sprite Cycle Line Up.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:016c25f3c9fc720198bbbce12eb9f3a6f0f3d80ec25984579ab334ab2f14b80b +size 8890 diff --git a/Hiro/Hiro Walk Sprite Cycle Line Up.png.import b/Hiro/Hiro Walk Sprite Cycle Line Up.png.import new file mode 100644 index 0000000..17f74bb --- /dev/null +++ b/Hiro/Hiro Walk Sprite Cycle Line Up.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cm7tgomrcvq30" +path="res://.godot/imported/Hiro Walk Sprite Cycle Line Up.png-b17f260772af203e67e56c7335719877.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Hiro/Hiro Walk Sprite Cycle Line Up.png" +dest_files=["res://.godot/imported/Hiro Walk Sprite Cycle Line Up.png-b17f260772af203e67e56c7335719877.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Hiro/Hiro Walk Sprite Cycle Line.png b/Hiro/Hiro Walk Sprite Cycle Line.png new file mode 100644 index 0000000..0456b8f --- /dev/null +++ b/Hiro/Hiro Walk Sprite Cycle Line.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5be95daccb14f5844432ad4a36a3d5eb445ae55b3a6a3418c3c5bbdf91bd4f38 +size 9419 diff --git a/Hiro/Hiro Walk Sprite Cycle Line.png.import b/Hiro/Hiro Walk Sprite Cycle Line.png.import new file mode 100644 index 0000000..ffb6c57 --- /dev/null +++ b/Hiro/Hiro Walk Sprite Cycle Line.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cimxqt44elk14" +path="res://.godot/imported/Hiro Walk Sprite Cycle Line.png-5e0cfb66cc001148f0b3bfbd7428ab90.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Hiro/Hiro Walk Sprite Cycle Line.png" +dest_files=["res://.godot/imported/Hiro Walk Sprite Cycle Line.png-5e0cfb66cc001148f0b3bfbd7428ab90.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Hiro/hiro_player.tscn b/Hiro/hiro_player.tscn index 528378b..7bb162f 100644 --- a/Hiro/hiro_player.tscn +++ b/Hiro/hiro_player.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=31 format=3 uid="uid://di21xheryhp0k"] +[gd_scene load_steps=60 format=3 uid="uid://di21xheryhp0k"] -[ext_resource type="Texture2D" uid="uid://lpx668mp35sg" path="res://Hiro/Hiro Walk Sprite Cycle Line .png" id="1_evylq"] +[ext_resource type="Texture2D" uid="uid://cm7tgomrcvq30" path="res://Hiro/Hiro Walk Sprite Cycle Line Up.png" id="1_ukwcc"] +[ext_resource type="Texture2D" uid="uid://bio3egs7q7wog" path="res://Hiro/Hiro Melee Sprites.png" id="2_d32ue"] [sub_resource type="Animation" id="Animation_04piu"] length = 0.001 @@ -16,6 +17,42 @@ tracks/0/keys = { "update": 1, "values": [0] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:texture") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:hframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:vframes") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} [sub_resource type="Animation" id="Animation_3oagy"] resource_name = "idle_east" @@ -32,6 +69,42 @@ tracks/0/keys = { "update": 1, "values": [5] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} [sub_resource type="Animation" id="Animation_pjwlc"] resource_name = "idle_north" @@ -48,6 +121,42 @@ tracks/0/keys = { "update": 1, "values": [10] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} [sub_resource type="Animation" id="Animation_x2yda"] resource_name = "idle_south" @@ -64,6 +173,42 @@ tracks/0/keys = { "update": 1, "values": [0] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} [sub_resource type="Animation" id="Animation_w1ari"] resource_name = "idle_west" @@ -80,6 +225,42 @@ tracks/0/keys = { "update": 1, "values": [15] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:vframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:hframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} [sub_resource type="Animation" id="Animation_de3xn"] resource_name = "walking_east" @@ -98,6 +279,42 @@ tracks/0/keys = { "update": 1, "values": [6, 7, 8, 9] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} [sub_resource type="Animation" id="Animation_bg701"] resource_name = "walking_north" @@ -116,6 +333,42 @@ tracks/0/keys = { "update": 1, "values": [11, 12, 13, 14] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} [sub_resource type="Animation" id="Animation_sroq6"] resource_name = "walking_south" @@ -134,6 +387,42 @@ tracks/0/keys = { "update": 1, "values": [1, 2, 3, 4] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} [sub_resource type="Animation" id="Animation_d3phq"] resource_name = "walking_west" @@ -152,6 +441,690 @@ tracks/0/keys = { "update": 1, "values": [16, 17, 18, 19] } +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [20] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [1] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:texture") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("1_ukwcc")] +} + +[sub_resource type="Animation" id="Animation_bw220"] +resource_name = "punch_south_rigth" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [1, 2, 3, 4] +} + +[sub_resource type="Animation" id="Animation_qmuik"] +resource_name = "punch_south_left" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [5, 6, 7, 8] +} + +[sub_resource type="Animation" id="Animation_hqga6"] +resource_name = "kick_south" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [9, 10, 11, 12] +} + +[sub_resource type="Animation" id="Animation_bwm5c"] +resource_name = "punch_north_rigth" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [27, 28, 29, 30] +} + +[sub_resource type="Animation" id="Animation_1e0v6"] +resource_name = "punch_north_left" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [31, 32, 33, 34] +} + +[sub_resource type="Animation" id="Animation_cuaji"] +resource_name = "kick_north" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [35, 36, 37, 38] +} + +[sub_resource type="Animation" id="Animation_ji461"] +resource_name = "kick_east" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [22, 23, 24, 25] +} + +[sub_resource type="Animation" id="Animation_s8xim"] +resource_name = "kick_west" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [48, 49, 50, 51] +} + +[sub_resource type="Animation" id="Animation_o0diw"] +resource_name = "punch_east_left" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [18, 19, 20, 21] +} + +[sub_resource type="Animation" id="Animation_wjl2t"] +resource_name = "punch_west_left" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [40, 41, 42, 43] +} + +[sub_resource type="Animation" id="Animation_ar6r3"] +resource_name = "punch_east_rigth" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [14, 15, 16, 17] +} + +[sub_resource type="Animation" id="Animation_e4rxs"] +resource_name = "punch_west_rigth" +length = 0.266673 +loop_mode = 1 +step = 0.0666667 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("2_d32ue")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite2D:hframes") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [13] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Sprite2D:vframes") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [4] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Sprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.0666667, 0.133333, 0.2), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 1, +"values": [44, 45, 46, 47] +} [sub_resource type="AnimationLibrary" id="AnimationLibrary_prr1g"] _data = { @@ -160,6 +1133,18 @@ _data = { "idle_north": SubResource("Animation_pjwlc"), "idle_south": SubResource("Animation_x2yda"), "idle_west": SubResource("Animation_w1ari"), +"kick_east": SubResource("Animation_ji461"), +"kick_north": SubResource("Animation_cuaji"), +"kick_south": SubResource("Animation_hqga6"), +"kick_west": SubResource("Animation_s8xim"), +"punch_east_left": SubResource("Animation_o0diw"), +"punch_east_rigth": SubResource("Animation_ar6r3"), +"punch_north_left": SubResource("Animation_1e0v6"), +"punch_north_rigth": SubResource("Animation_bwm5c"), +"punch_south_left": SubResource("Animation_qmuik"), +"punch_south_rigth": SubResource("Animation_bw220"), +"punch_west_left": SubResource("Animation_wjl2t"), +"punch_west_rigth": SubResource("Animation_e4rxs"), "walking_east": SubResource("Animation_de3xn"), "walking_north": SubResource("Animation_bg701"), "walking_south": SubResource("Animation_sroq6"), @@ -189,15 +1174,87 @@ blend_point_3/node = SubResource("AnimationNodeAnimation_2vw4b") blend_point_3/pos = Vector2(0, 1) blend_mode = 1 +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_f740i"] +animation = &"punch_south_rigth" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_bwovr"] +animation = &"punch_west_rigth" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_qqbt6"] +animation = &"punch_east_rigth" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_y3tw5"] +animation = &"punch_north_rigth" + [sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_flbdw"] +blend_point_0/node = SubResource("AnimationNodeAnimation_f740i") +blend_point_0/pos = Vector2(0, 1) +blend_point_1/node = SubResource("AnimationNodeAnimation_bwovr") +blend_point_1/pos = Vector2(-1, 0) +blend_point_2/node = SubResource("AnimationNodeAnimation_qqbt6") +blend_point_2/pos = Vector2(1, 0) +blend_point_3/node = SubResource("AnimationNodeAnimation_y3tw5") +blend_point_3/pos = Vector2(0, -1) +blend_mode = 1 + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ruw2d"] +animation = &"punch_west_left" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_iu52b"] +animation = &"punch_north_left" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_sotly"] +animation = &"punch_east_left" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ryihd"] +animation = &"punch_south_left" [sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_c2jh5"] +blend_point_0/node = SubResource("AnimationNodeAnimation_ruw2d") +blend_point_0/pos = Vector2(-1, 0) +blend_point_1/node = SubResource("AnimationNodeAnimation_iu52b") +blend_point_1/pos = Vector2(0, -1) +blend_point_2/node = SubResource("AnimationNodeAnimation_sotly") +blend_point_2/pos = Vector2(1, 0) +blend_point_3/node = SubResource("AnimationNodeAnimation_ryihd") +blend_point_3/pos = Vector2(0, 1) +blend_mode = 1 + +[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_gxrfy"] + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_p4b5o"] +animation = &"kick_east" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_vay80"] +animation = &"kick_north" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_1svn8"] +animation = &"kick_west" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_awga0"] +animation = &"kick_south" + +[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_iktiu"] +blend_point_0/node = SubResource("AnimationNodeAnimation_p4b5o") +blend_point_0/pos = Vector2(1, 0) +blend_point_1/node = SubResource("AnimationNodeAnimation_vay80") +blend_point_1/pos = Vector2(0, -1) +blend_point_2/node = SubResource("AnimationNodeAnimation_1svn8") +blend_point_2/pos = Vector2(-1, 0) +blend_point_3/node = SubResource("AnimationNodeAnimation_awga0") +blend_point_3/pos = Vector2(0, 1) +blend_mode = 1 [sub_resource type="AnimationNodeBlendSpace1D" id="AnimationNodeBlendSpace1D_dc3kp"] blend_point_0/node = SubResource("AnimationNodeBlendSpace2D_flbdw") -blend_point_0/pos = -0.1 +blend_point_0/pos = 0.0 blend_point_1/node = SubResource("AnimationNodeBlendSpace2D_c2jh5") -blend_point_1/pos = 0.1 +blend_point_1/pos = 0.5 +blend_point_2/node = SubResource("AnimationNodeBlendSpace2D_gxrfy") +blend_point_2/pos = 0.0 +blend_point_3/node = SubResource("AnimationNodeBlendSpace2D_iktiu") +blend_point_3/pos = 1.0 +blend_mode = 1 [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_e3il4"] animation = &"walking_north" @@ -233,16 +1290,24 @@ advance_condition = &"is_moving" advance_mode = 2 advance_expression = "get(\"parameters/conditions/is_moving\") == false" +[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_y8p74"] +advance_mode = 2 +advance_condition = &"melee" + +[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_l17k0"] +switch_mode = 1 +advance_mode = 2 + [sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_b0avg"] allow_transition_to_self = true states/Start/position = Vector2(197, 108) states/idle/node = SubResource("AnimationNodeBlendSpace2D_bd8j1") states/idle/position = Vector2(329, 108) states/melee/node = SubResource("AnimationNodeBlendSpace1D_dc3kp") -states/melee/position = Vector2(376, 177) +states/melee/position = Vector2(422, 207) states/walk/node = SubResource("AnimationNodeBlendSpace2D_vunsg") states/walk/position = Vector2(520, 108) -transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_akmuq"), "idle", "walk", SubResource("AnimationNodeStateMachineTransition_sn1tm"), "walk", "idle", SubResource("AnimationNodeStateMachineTransition_5i3fu")] +transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_akmuq"), "idle", "walk", SubResource("AnimationNodeStateMachineTransition_sn1tm"), "walk", "idle", SubResource("AnimationNodeStateMachineTransition_5i3fu"), "idle", "melee", SubResource("AnimationNodeStateMachineTransition_y8p74"), "melee", "idle", SubResource("AnimationNodeStateMachineTransition_l17k0")] graph_offset = Vector2(-129, 11) [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_vm050"] @@ -257,7 +1322,7 @@ collision_layer = 5 [node name="Sprite2D" type="Sprite2D" parent="."] texture_filter = 1 position = Vector2(0, -13) -texture = ExtResource("1_evylq") +texture = ExtResource("1_ukwcc") hframes = 20 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] @@ -273,10 +1338,13 @@ libraries = { tree_root = SubResource("AnimationNodeStateMachine_b0avg") anim_player = NodePath("../AnimationPlayer") parameters/conditions/is_moving = false +parameters/conditions/melee = true parameters/idle/blend_position = Vector2(-0.0243112, 0.73545) -parameters/melee/blend_position = 0.566869 -parameters/melee/0/blend_position = Vector2(-0.171799, 0.40625) -parameters/melee/1/blend_position = Vector2(0, 0) +parameters/melee/blend_position = 1.00156 +parameters/melee/0/blend_position = Vector2(0.66778, -0.765217) +parameters/melee/1/blend_position = Vector2(-0.218698, 0.0434783) +parameters/melee/2/blend_position = Vector2(0, 0) +parameters/melee/3/blend_position = Vector2(0, 0.991304) parameters/walk/blend_position = Vector2(-0.0518638, 0.802083) [node name="Area2D" type="Area2D" parent="."] @@ -285,9 +1353,10 @@ collision_layer = 2 collision_mask = 2 [node name="Hitbox" type="CollisionShape2D" parent="Area2D"] -position = Vector2(0, -13) +position = Vector2(0, -14) shape = SubResource("CapsuleShape2D_vm050") debug_color = Color(1, 0.133333, 0.321569, 0.419608) [node name="MovementCollider" type="CollisionShape2D" parent="."] +position = Vector2(-0.5, -1) shape = SubResource("RectangleShape2D_bdqvd")