2025-05-03 20:39:06 +08:00

611 lines
18 KiB
Plaintext

[gd_scene load_steps=39 format=4]
[ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"]
[ext_resource type="Texture2D" path="res://Sprites/Characters/axis.png" id="2"]
[sub_resource type="Animation" id="Animation_r0t7t"]
resource_name = "ActDo"
length = 0.6000000238418579
step = 0.05000000074505806
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.25),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [Rect2(280, 180, 40, 60), Rect2(320, 180, 40, 60), Rect2(360, 180, 60, 60), Rect2(420, 180, 80, 60)]
}
[sub_resource type="Animation" id="Animation_f5tn7"]
resource_name = "ActReady"
length = 0.4000000059604645
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [Rect2(200, 180, 40, 60), Rect2(240, 180, 40, 60)]
}
[sub_resource type="Animation" id="Animation_7g0ff"]
resource_name = "AttackReady"
length = 0.5
step = 0.05000000074505806
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [Rect2(200, 300, 40, 60), Rect2(240, 300, 40, 60), Rect2(280, 300, 60, 60), Rect2(340, 300, 40, 60)]
}
[sub_resource type="Animation" id="Animation_leg3g"]
resource_name = "BattleEnd"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(120, 240, 40, 60), Rect2(160, 240, 40, 60), Rect2(200, 240, 40, 60), Rect2(240, 240, 40, 60), Rect2(280, 240, 40, 60), Rect2(320, 240, 40, 60), Rect2(360, 240, 40, 60), Rect2(400, 240, 40, 60), Rect2(440, 240, 40, 60)]
}
[sub_resource type="Animation" id="Animation_ttey7"]
resource_name = "BattleIdle"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6, 0.8),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(0, 180, 40, 60), Rect2(40, 180, 40, 60), Rect2(80, 180, 40, 60), Rect2(120, 180, 40, 60), Rect2(160, 180, 40, 60)]
}
[sub_resource type="Animation" id="Animation_fp6it"]
resource_name = "BattleStart"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2, 0.3, 0.4),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [Rect2(0, 240, 40, 60), Rect2(40, 240, 40, 60), Rect2(80, 240, 40, 60), Rect2(120, 240, 40, 60)]
}
[sub_resource type="Animation" id="Animation_hbx6p"]
resource_name = "Defend"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(480, 120, 40, 60)]
}
[sub_resource type="Animation" id="Animation_atmb8"]
resource_name = "EastIdle"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(0, 60, 40, 60)]
}
[sub_resource type="Animation" id="Animation_8iqqs"]
resource_name = "EastWalk"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(0, 60, 40, 60)]
}
[sub_resource type="Animation" id="Animation_tm3td"]
resource_name = "FallenDown"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.001),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [Rect2(320, 0, 40, 60), Rect2(320, 360, 40, 60)]
}
[sub_resource type="Animation" id="Animation_qamg8"]
resource_name = "Hurt"
length = 0.699999988079071
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(560, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_3nh1s"]
resource_name = "Hurt2"
length = 0.699999988079071
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(380, 300, 40, 60)]
}
[sub_resource type="Animation" id="Animation_6dx2f"]
resource_name = "Idle"
length = 0.7000100016593933
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
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),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(0, 120, 40, 60), Rect2(40, 120, 40, 60), Rect2(80, 120, 40, 60), Rect2(120, 120, 40, 60), Rect2(160, 120, 40, 60), Rect2(200, 120, 40, 60), Rect2(240, 120, 40, 60)]
}
[sub_resource type="Animation" id="Animation_bxsnb"]
resource_name = "ItemDo"
length = 0.800000011920929
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.075, 0.15, 0.25, 0.4, 0.45, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(500, 180, 40, 60), Rect2(540, 180, 40, 60), Rect2(480, 240, 40, 60), Rect2(520, 240, 40, 60), Rect2(560, 240, 40, 60), Rect2(560, 300, 40, 60), Rect2(520, 300, 40, 60)]
}
[sub_resource type="Animation" id="Animation_ys8fi"]
resource_name = "ItemReady"
length = 0.800000011920929
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.4),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [Rect2(520, 120, 40, 60), Rect2(560, 120, 40, 60)]
}
[sub_resource type="Animation" id="Animation_pfmul"]
resource_name = "KO"
length = 0.4000000059604645
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(440, 60, 60, 60)]
}
[sub_resource type="Animation" id="Animation_pfs1v"]
resource_name = "NorthIdle"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(280, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_qvcpj"]
resource_name = "NorthWalk"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(280, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_kurme"]
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(0, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_48l3p"]
resource_name = "Shoot1"
length = 0.4000000059604645
loop_mode = 1
step = 0.05000000074505806
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.35),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [Rect2(0, 360, 40, 60), Rect2(40, 360, 40, 60), Rect2(80, 360, 40, 60), Rect2(120, 360, 40, 60)]
}
[sub_resource type="Animation" id="Animation_pt8om"]
resource_name = "Shoot2"
length = 0.4000000059604645
step = 0.05000000074505806
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [Rect2(120, 420, 40, 60), Rect2(80, 420, 40, 60), Rect2(20, 420, 60, 60)]
}
[sub_resource type="Animation" id="Animation_pdvkd"]
resource_name = "Shutdown"
length = 0.7000100016593933
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [Rect2(160, 360, 40, 60), Rect2(240, 360, 40, 60), Rect2(200, 360, 40, 60), Rect2(280, 360, 40, 60)]
}
[sub_resource type="Animation" id="Animation_cqbwt"]
resource_name = "SkillDo"
length = 0.4000000059604645
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
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": [Rect2(280, 120, 40, 60), Rect2(320, 120, 40, 60), Rect2(360, 120, 60, 60), Rect2(420, 120, 60, 60)]
}
[sub_resource type="Animation" id="Animation_qidjc"]
resource_name = "SkillReady"
length = 0.4000000059604645
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
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": [Rect2(280, 60, 40, 60), Rect2(320, 60, 40, 60), Rect2(360, 60, 40, 60), Rect2(400, 60, 40, 60)]
}
[sub_resource type="Animation" id="Animation_buqhc"]
resource_name = "Slide"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.001),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [Rect2(310, 360, 60, 60), Rect2(320, 360, 40, 60)]
}
[sub_resource type="Animation" id="Animation_y0jif"]
resource_name = "SouthIdle"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(0, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_7xwoy"]
resource_name = "SouthWalk"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(0, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_kktms"]
resource_name = "SpinAtk"
length = 0.4000000059604645
loop_mode = 1
step = 0.05000000074505806
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(0, 300, 40, 60), Rect2(160, 300, 40, 60), Rect2(40, 300, 40, 60), Rect2(240, 420, 40, 60), Rect2(80, 300, 40, 60), Rect2(120, 300, 40, 60), Rect2(160, 420, 40, 60), Rect2(200, 420, 40, 60)]
}
[sub_resource type="Animation" id="Animation_bdj3k"]
resource_name = "Spinning"
length = 0.0010000000474974513
[sub_resource type="Animation" id="Animation_u4d6i"]
resource_name = "TramSit"
length = 0.4000000059604645
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(40, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_7rhs5"]
resource_name = "TramSit2"
length = 0.4000000059604645
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(80, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_ueqgk"]
resource_name = "WestIdle"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(40, 60, 40, 60)]
}
[sub_resource type="Animation" id="Animation_807v0"]
resource_name = "WestWalk"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(40, 60, 40, 60)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2jgja"]
_data = {
&"ActDo": SubResource("Animation_r0t7t"),
&"ActReady": SubResource("Animation_f5tn7"),
&"AttackReady": SubResource("Animation_7g0ff"),
&"BattleEnd": SubResource("Animation_leg3g"),
&"BattleIdle": SubResource("Animation_ttey7"),
&"BattleStart": SubResource("Animation_fp6it"),
&"Defend": SubResource("Animation_hbx6p"),
&"EastIdleDW": SubResource("Animation_atmb8"),
&"EastWalkDW": SubResource("Animation_8iqqs"),
&"FallenDown": SubResource("Animation_tm3td"),
&"Hurt": SubResource("Animation_qamg8"),
&"Hurt2": SubResource("Animation_3nh1s"),
&"Idle": SubResource("Animation_6dx2f"),
&"ItemDo": SubResource("Animation_bxsnb"),
&"ItemReady": SubResource("Animation_ys8fi"),
&"KO": SubResource("Animation_pfmul"),
&"NorthIdleDW": SubResource("Animation_pfs1v"),
&"NorthWalkDW": SubResource("Animation_qvcpj"),
&"RESET": SubResource("Animation_kurme"),
&"Shoot1": SubResource("Animation_48l3p"),
&"Shoot2": SubResource("Animation_pt8om"),
&"Shutdown": SubResource("Animation_pdvkd"),
&"SkillDo": SubResource("Animation_cqbwt"),
&"SkillReady": SubResource("Animation_qidjc"),
&"Slide": SubResource("Animation_buqhc"),
&"SouthIdleDW": SubResource("Animation_y0jif"),
&"SouthWalkDW": SubResource("Animation_7xwoy"),
&"SpinAtk": SubResource("Animation_kktms"),
&"Spinning": SubResource("Animation_bdj3k"),
&"TramSit": SubResource("Animation_u4d6i"),
&"TramSit2": SubResource("Animation_7rhs5"),
&"WestIdleDW": SubResource("Animation_ueqgk"),
&"WestWalkDW": SubResource("Animation_807v0")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ut4oy"]
size = Vector2(12, 6)
[sub_resource type="CircleShape2D" id="CircleShape2D_tnufd"]
radius = 7.0
[node name="Axis" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
script = ExtResource("1")
id = 12
asymmetrical = true
animMod = 1
extras = []
anim = NodePath("AnimationPlayer")
sprite = NodePath("Sprite")
collider = NodePath("CollisionShape2D")
trigger = NodePath("Trigger")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_2jgja")
}
autoplay = "SouthIdleDW"
next/BattleStart = &"BattleIdle"
next/Spinning = &"SpinAtk"
next/WestWalkDW = &"WestIdleDW"
[node name="Sprite" type="Sprite2D" parent="."]
texture = ExtResource("2")
offset = Vector2(0, -30)
region_enabled = true
region_rect = Rect2(0, 0, 40, 60)
region_filter_clip_enabled = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_ut4oy")
[node name="Trigger" type="Area2D" parent="."]
visible = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
position = Vector2(0, -3)
shape = SubResource("CircleShape2D_tnufd")