2024-05-28 22:07:10 -04:00
|
|
|
[gd_scene load_steps=22 format=3 uid="uid://bowbww8k1myq5"]
|
2024-05-19 18:38:27 -04:00
|
|
|
|
2024-05-28 22:07:10 -04:00
|
|
|
[ext_resource type="Script" path="res://Scripts/animationBase.gd" id="1_5rce4"]
|
2024-05-19 18:38:27 -04:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dwsd0hggrxbdq" path="res://Sprites/Animations/Rock Pack/Rocks 64x64 by Captainskeleto.png" id="2_1m76l"]
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_afgaf"]
|
|
|
|
length = 0.001
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:position")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Vector2(373, 804)]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("Sprite2D:visible")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [false]
|
|
|
|
}
|
|
|
|
tracks/2/type = "value"
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 0)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_tjhpl"]
|
|
|
|
resource_name = "attackSegment0"
|
|
|
|
length = 0.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:position")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Vector2(475, 402)]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("Sprite2D:visible")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PackedFloat32Array(0.01),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [true]
|
|
|
|
}
|
|
|
|
tracks/2/type = "value"
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 0), Rect2(0, 0, 48, 8)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_m8esk"]
|
|
|
|
resource_name = "attackSegment1"
|
|
|
|
length = 0.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 8), Rect2(0, 0, 48, 16)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_b22j1"]
|
|
|
|
resource_name = "attackSegment2"
|
|
|
|
length = 0.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 16), Rect2(0, 0, 48, 24)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_004hx"]
|
|
|
|
resource_name = "attackSegment3"
|
|
|
|
length = 0.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 24), Rect2(0, 0, 48, 32)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_gemit"]
|
|
|
|
resource_name = "attackSegment4"
|
|
|
|
length = 0.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 32), Rect2(0, 0, 48, 40)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_2enn3"]
|
|
|
|
resource_name = "attackSegment5"
|
|
|
|
length = 0.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 40), Rect2(0, 0, 48, 48)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_u1mhx"]
|
|
|
|
resource_name = "attackSegment6"
|
|
|
|
length = 0.2
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 48), Rect2(0, 0, 48, 56)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_sgl87"]
|
|
|
|
resource_name = "attackSegment7"
|
2024-05-28 22:07:10 -04:00
|
|
|
length = 6.0
|
2024-05-19 18:38:27 -04:00
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:region_rect")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Rect2(0, 0, 48, 56), Rect2(0, 0, 48, 64)]
|
|
|
|
}
|
|
|
|
|
2024-05-28 22:07:10 -04:00
|
|
|
[sub_resource type="Animation" id="Animation_02mg8"]
|
|
|
|
resource_name = "attackInverse0"
|
|
|
|
length = 0.2
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_22av6"]
|
|
|
|
resource_name = "attackInverse1"
|
|
|
|
length = 0.2
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_j4ky3"]
|
|
|
|
resource_name = "attackInverse2"
|
|
|
|
length = 0.2
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_8iwhl"]
|
|
|
|
resource_name = "attackInverse3"
|
|
|
|
length = 0.2
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_jenkj"]
|
|
|
|
resource_name = "attackInverse4"
|
|
|
|
length = 0.2
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_hguio"]
|
|
|
|
resource_name = "attackInverse5"
|
|
|
|
length = 0.2
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_ykf1a"]
|
|
|
|
resource_name = "attackInverse6"
|
|
|
|
length = 0.2
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_ab5xe"]
|
|
|
|
resource_name = "attackInverse7"
|
|
|
|
length = 6.0
|
|
|
|
|
2024-05-19 18:38:27 -04:00
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7ddps"]
|
|
|
|
_data = {
|
|
|
|
"RESET": SubResource("Animation_afgaf"),
|
2024-05-28 22:07:10 -04:00
|
|
|
"attackInverse0": SubResource("Animation_02mg8"),
|
|
|
|
"attackInverse1": SubResource("Animation_22av6"),
|
|
|
|
"attackInverse2": SubResource("Animation_j4ky3"),
|
|
|
|
"attackInverse3": SubResource("Animation_8iwhl"),
|
|
|
|
"attackInverse4": SubResource("Animation_jenkj"),
|
|
|
|
"attackInverse5": SubResource("Animation_hguio"),
|
|
|
|
"attackInverse6": SubResource("Animation_ykf1a"),
|
|
|
|
"attackInverse7": SubResource("Animation_ab5xe"),
|
2024-05-19 18:38:27 -04:00
|
|
|
"attackSegment0": SubResource("Animation_tjhpl"),
|
|
|
|
"attackSegment1": SubResource("Animation_m8esk"),
|
|
|
|
"attackSegment2": SubResource("Animation_b22j1"),
|
|
|
|
"attackSegment3": SubResource("Animation_004hx"),
|
|
|
|
"attackSegment4": SubResource("Animation_gemit"),
|
|
|
|
"attackSegment5": SubResource("Animation_2enn3"),
|
|
|
|
"attackSegment6": SubResource("Animation_u1mhx"),
|
|
|
|
"attackSegment7": SubResource("Animation_sgl87")
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_filyo"]
|
|
|
|
atlas = ExtResource("2_1m76l")
|
|
|
|
region = Rect2(267, 128, 48, 64)
|
|
|
|
|
|
|
|
[node name="stoneWallAnim" type="Node2D"]
|
2024-05-28 22:07:10 -04:00
|
|
|
script = ExtResource("1_5rce4")
|
2024-05-19 18:38:27 -04:00
|
|
|
finalIndex = 8
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_7ddps")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(373, 804)
|
|
|
|
scale = Vector2(5, 5)
|
|
|
|
texture = SubResource("AtlasTexture_filyo")
|
|
|
|
region_enabled = true
|
|
|
|
region_rect = Rect2(0, 0, 48, 0)
|
|
|
|
|
|
|
|
[connection signal="animation_finished" from="AnimationPlayer" to="." method="animFinished"]
|