|
|
|
[gd_scene load_steps=20 format=3 uid="uid://di8on8rry21wa"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Fighter.gd" id="1_k2s5v"]
|
|
|
|
[ext_resource type="Shader" path="res://assets/Shader/aura.gdshader" id="2_tgww4"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cgshiy0fb84fy" path="res://assets/Sprites/red hood itch free Copy-Sheet.png" id="2_y8862"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://blhw157wwm02k" path="res://DamageLabel.tscn" id="3_nllc3"]
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_r07wr"]
|
|
|
|
shader = ExtResource("2_tgww4")
|
|
|
|
shader_parameter/aura_width = 1.0
|
|
|
|
shader_parameter/aura_color = Color(0.631373, 1, 0.827451, 1)
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_uyuin"]
|
|
|
|
resource_name = "Attack1"
|
|
|
|
length = 0.6
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [57, 58, 59, 60, 61]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_wa17f"]
|
|
|
|
resource_name = "Attack1.2"
|
|
|
|
length = 0.6
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [62, 63, 64, 65, 66, 67]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_663x5"]
|
|
|
|
resource_name = "Attack1.3"
|
|
|
|
length = 1.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_dwteb"]
|
|
|
|
resource_name = "Attack2.1"
|
|
|
|
length = 0.9
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [80, 81, 82, 83, 84, 85, 86, 87, 88]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_qpk3d"]
|
|
|
|
resource_name = "Attack2.2"
|
|
|
|
length = 1.4
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_c0pf4"]
|
|
|
|
resource_name = "Attack2.3"
|
|
|
|
length = 1.7
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_3lxjh"]
|
|
|
|
resource_name = "Hit"
|
|
|
|
length = 0.6
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [121, 122, 123, 124, 125, 126]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_q3ojn"]
|
|
|
|
resource_name = "New"
|
|
|
|
length = 1.7
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_hs612"]
|
|
|
|
length = 0.001
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [0]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_o3s7g"]
|
|
|
|
resource_name = "Test"
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [25, 26, 27, 28, 29, 30, 31, 32, 33]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_nqpts"]
|
|
|
|
resource_name = "Slide"
|
|
|
|
length = 0.4
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [52, 53, 54, 55]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_2ytur"]
|
|
|
|
resource_name = "Walk"
|
|
|
|
length = 2.4
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2.1, 2.2, 2.3),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_u40bv"]
|
|
|
|
resource_name = "PowerUp"
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [127, 128, 129, 130, 127, 128, 129, 130, 127, 128]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jbrqc"]
|
|
|
|
_data = {
|
|
|
|
"Attack1.1": SubResource("Animation_uyuin"),
|
|
|
|
"Attack1.2": SubResource("Animation_wa17f"),
|
|
|
|
"Attack1.3": SubResource("Animation_663x5"),
|
|
|
|
"Attack2.1": SubResource("Animation_dwteb"),
|
|
|
|
"Attack2.2": SubResource("Animation_qpk3d"),
|
|
|
|
"Attack2.3": SubResource("Animation_c0pf4"),
|
|
|
|
"Hit": SubResource("Animation_3lxjh"),
|
|
|
|
"Jump": SubResource("Animation_q3ojn"),
|
|
|
|
"PowerUp": SubResource("Animation_u40bv"),
|
|
|
|
"RESET": SubResource("Animation_hs612"),
|
|
|
|
"Shoot": SubResource("Animation_o3s7g"),
|
|
|
|
"Slide": SubResource("Animation_nqpts"),
|
|
|
|
"Walk": SubResource("Animation_2ytur")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Fighter" type="Node2D"]
|
|
|
|
scale = Vector2(2, 2)
|
|
|
|
script = ExtResource("1_k2s5v")
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
material = SubResource("ShaderMaterial_r07wr")
|
|
|
|
texture = ExtResource("2_y8862")
|
|
|
|
hframes = 12
|
|
|
|
vframes = 11
|
|
|
|
metadata/_aseprite_wizard_config_ = {
|
|
|
|
"layer": "",
|
|
|
|
"o_ex_p": "",
|
|
|
|
"o_folder": "",
|
|
|
|
"o_name": "",
|
|
|
|
"only_visible": false,
|
|
|
|
"op_exp": false,
|
|
|
|
"player": "LhsPlayer/AnimationPlayer",
|
|
|
|
"source": "res://assets/Sprites/red hood itch free.aseprite"
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
speed_scale = 1.5
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_jbrqc")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="DamageLabel" parent="." instance=ExtResource("3_nllc3")]
|
|
|
|
position = Vector2(-9, -5)
|
|
|
|
scale = Vector2(0.6, 0.6)
|
|
|
|
|
|
|
|
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_finished"]
|
|
|
|
[connection signal="animation_started" from="AnimationPlayer" to="." method="_on_animation_started"]
|