888 lines
26 KiB
Text
888 lines
26 KiB
Text
[gd_scene format=3 uid="uid://ce2k04khaub8n"]
|
|
|
|
[ext_resource type="Script" uid="uid://b5iey2typf2tb" path="res://src/player/Player.cs" id="1_244u8"]
|
|
[ext_resource type="Texture2D" uid="uid://b3ysuraousdts" path="res://src/player/player.png" id="2_mf2ua"]
|
|
[ext_resource type="Script" uid="uid://ce3atuwxo8fvb" path="res://src/combat/Hurtbox.cs" id="4_5f2sf"]
|
|
[ext_resource type="Script" uid="uid://b4k42r866lkut" path="res://src/combat/Hitbox.cs" id="4_244u8"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_244u8"]
|
|
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_2j2mp"]
|
|
gradient = SubResource("Gradient_244u8")
|
|
fill = 1
|
|
fill_from = Vector2(0.50213677, 0.50641024)
|
|
fill_to = Vector2(1, 0.5363248)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jiejy"]
|
|
size = Vector2(8, 28)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qi477"]
|
|
size = Vector2(4, 24)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_244u8"]
|
|
size = Vector2(14, 32)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5f2sf"]
|
|
size = Vector2(13.59375, 20)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o822w"]
|
|
size = Vector2(8, 12)
|
|
|
|
[sub_resource type="Animation" id="Animation_yw30f"]
|
|
resource_name = "RESET"
|
|
length = 0.001
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:CanTurn")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Body/FrontKickHitbox/CollisionShape2D:disabled")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("Body/FrontKickHitbox/CollisionShape2D2:disabled")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/path = NodePath("Body/Hurtbox:process_mode")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ylhto"]
|
|
resource_name = "air_ascend"
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [8]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_cwolq"]
|
|
resource_name = "air_descend"
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [16]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_2smqc"]
|
|
resource_name = "air_neutral"
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [12]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_wlj80"]
|
|
resource_name = "dash_down"
|
|
length = 0.19999999999999998
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [44]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_6bm8s"]
|
|
resource_name = "dash_down_side"
|
|
length = 0.19999999999999998
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [40]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_5f2sf"]
|
|
resource_name = "dash_side"
|
|
length = 0.19999999999999998
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.033333335),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [24, 36]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_hrerp"]
|
|
resource_name = "dash_up"
|
|
length = 0.19999999999999998
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [28]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_oyld2"]
|
|
resource_name = "dash_up_side"
|
|
length = 0.19999999999999998
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.033333335),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [24, 32]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_rl62b"]
|
|
resource_name = "dive_down"
|
|
loop_mode = 1
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [44]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_244u8"]
|
|
resource_name = "dive_down_side"
|
|
loop_mode = 1
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [40]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_o822w"]
|
|
resource_name = "dive_idle"
|
|
loop_mode = 1
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [24]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_x42xx"]
|
|
resource_name = "dive_side"
|
|
loop_mode = 1
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [36]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_l271a"]
|
|
resource_name = "dive_up"
|
|
loop_mode = 1
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [28]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_8ydov"]
|
|
resource_name = "dive_up_side"
|
|
loop_mode = 1
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [32]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_g6k8r"]
|
|
resource_name = "front_kick"
|
|
length = 0.55
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.050000004, 0.116666675, 0.2, 0.28333333, 0.36666667, 0.45),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [16, 17, 18, 19, 20, 21, 16]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:CanTurn")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.45),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [false, true]
|
|
}
|
|
tracks/2/type = "method"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Body/FrontKickHitbox")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0.05, 0.36666667),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"StartAttack"
|
|
}, {
|
|
"args": [],
|
|
"method": &"StopAttack"
|
|
}]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("Body/FrontKickHitbox/CollisionShape2D:disabled")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0, 0.050000004, 0.28333336),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [true, false, true]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/path = NodePath("Body/FrontKickHitbox/CollisionShape2D2:disabled")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/keys = {
|
|
"times": PackedFloat32Array(0, 0.050000004, 0.20000002, 0.36666667),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [true, true, false, true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_qjkh3"]
|
|
resource_name = "idle"
|
|
length = 1.0000017
|
|
loop_mode = 1
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body: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_jiejy"]
|
|
resource_name = "parry"
|
|
length = 0.6666683681027964
|
|
step = 0.016666668
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body/Hurtbox:process_mode")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [4, 0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_boad6"]
|
|
resource_name = "run"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
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": [4, 5, 6, 7]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_rgyib"]
|
|
resource_name = "wall_hold"
|
|
length = 1.0000017
|
|
loop_mode = 1
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [20]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_rgyib"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_yw30f"),
|
|
&"air_ascend": SubResource("Animation_ylhto"),
|
|
&"air_descend": SubResource("Animation_cwolq"),
|
|
&"air_neutral": SubResource("Animation_2smqc"),
|
|
&"dash_down": SubResource("Animation_wlj80"),
|
|
&"dash_down_side": SubResource("Animation_6bm8s"),
|
|
&"dash_side": SubResource("Animation_5f2sf"),
|
|
&"dash_up": SubResource("Animation_hrerp"),
|
|
&"dash_up_side": SubResource("Animation_oyld2"),
|
|
&"dive_down": SubResource("Animation_rl62b"),
|
|
&"dive_down_side": SubResource("Animation_244u8"),
|
|
&"dive_idle": SubResource("Animation_o822w"),
|
|
&"dive_side": SubResource("Animation_x42xx"),
|
|
&"dive_up": SubResource("Animation_l271a"),
|
|
&"dive_up_side": SubResource("Animation_8ydov"),
|
|
&"front_kick": SubResource("Animation_g6k8r"),
|
|
&"idle": SubResource("Animation_qjkh3"),
|
|
&"parry": SubResource("Animation_jiejy"),
|
|
&"run": SubResource("Animation_boad6"),
|
|
&"wall_hold": SubResource("Animation_rgyib")
|
|
}
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_8ydov"]
|
|
animation = &"wall_hold"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_jiejy"]
|
|
animation = &"air_ascend"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_o822w"]
|
|
animation = &"air_neutral"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_x42xx"]
|
|
animation = &"air_descend"
|
|
|
|
[sub_resource type="AnimationNodeBlendSpace1D" id="AnimationNodeBlendSpace1D_l271a"]
|
|
min_space = -200.0
|
|
max_space = 200.0
|
|
snap = 100.0
|
|
value_label = "velocity.y"
|
|
blend_mode = 1
|
|
blend_point_0/node = SubResource("AnimationNodeAnimation_jiejy")
|
|
blend_point_0/pos = -200.0
|
|
blend_point_0/name = &"air_ascend"
|
|
blend_point_1/node = SubResource("AnimationNodeAnimation_o822w")
|
|
blend_point_1/pos = 0.0
|
|
blend_point_1/name = &"air_neutral"
|
|
blend_point_2/node = SubResource("AnimationNodeAnimation_x42xx")
|
|
blend_point_2/pos = 200.0
|
|
blend_point_2/name = &"air_descend"
|
|
|
|
[sub_resource type="AnimationNodeOneShot" id="AnimationNodeOneShot_8ydov"]
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_l271a"]
|
|
animation = &"dash_down"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_hrerp"]
|
|
animation = &"dash_down_side"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_oyld2"]
|
|
animation = &"dash_side"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_vwsmr"]
|
|
animation = &"dash_up_side"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_jcdrv"]
|
|
animation = &"dash_up"
|
|
|
|
[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_244u8"]
|
|
min_space = Vector2(0, -200)
|
|
max_space = Vector2(200, 200)
|
|
snap = Vector2(20, 20)
|
|
blend_mode = 1
|
|
blend_point_0/node = SubResource("AnimationNodeAnimation_l271a")
|
|
blend_point_0/pos = Vector2(0, 200)
|
|
blend_point_0/name = &"dash_down"
|
|
blend_point_1/node = SubResource("AnimationNodeAnimation_hrerp")
|
|
blend_point_1/pos = Vector2(80, 140)
|
|
blend_point_1/name = &"dash_down_side"
|
|
blend_point_2/node = SubResource("AnimationNodeAnimation_oyld2")
|
|
blend_point_2/pos = Vector2(160, 0)
|
|
blend_point_2/name = &"dash_side"
|
|
blend_point_3/node = SubResource("AnimationNodeAnimation_vwsmr")
|
|
blend_point_3/pos = Vector2(80, -140)
|
|
blend_point_3/name = &"dash_up_side"
|
|
blend_point_4/node = SubResource("AnimationNodeAnimation_jcdrv")
|
|
blend_point_4/pos = Vector2(0, -200)
|
|
blend_point_4/name = &"dash_up"
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_4uy46"]
|
|
switch_mode = 2
|
|
advance_mode = 2
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_244u8"]
|
|
advance_mode = 2
|
|
|
|
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_k60ra"]
|
|
states/dash/node = SubResource("AnimationNodeBlendSpace2D_244u8")
|
|
states/dash/position = Vector2(521.5, 100)
|
|
transitions = ["dash", "End", SubResource("AnimationNodeStateMachineTransition_4uy46"), "Start", "dash", SubResource("AnimationNodeStateMachineTransition_244u8")]
|
|
graph_offset = Vector2(-36.76097, 0)
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_5f2sf"]
|
|
animation = &"dive_idle"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_cwolq"]
|
|
animation = &"dive_up"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_2smqc"]
|
|
animation = &"dive_side"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_rl62b"]
|
|
animation = &"dive_up_side"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_wlj80"]
|
|
animation = &"dive_down_side"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_6bm8s"]
|
|
animation = &"dive_down"
|
|
|
|
[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_rl62b"]
|
|
min_space = Vector2(0, -200)
|
|
max_space = Vector2(200, 200)
|
|
snap = Vector2(10, 10)
|
|
x_label = "x speed"
|
|
y_label = "velocity.y"
|
|
blend_mode = 1
|
|
blend_point_0/node = SubResource("AnimationNodeAnimation_5f2sf")
|
|
blend_point_0/pos = Vector2(0, 0)
|
|
blend_point_0/name = &"dive_idle"
|
|
blend_point_1/node = SubResource("AnimationNodeAnimation_cwolq")
|
|
blend_point_1/pos = Vector2(0, -200)
|
|
blend_point_1/name = &"dive_up"
|
|
blend_point_2/node = SubResource("AnimationNodeAnimation_2smqc")
|
|
blend_point_2/pos = Vector2(200, 0)
|
|
blend_point_2/name = &"dive_side"
|
|
blend_point_3/node = SubResource("AnimationNodeAnimation_rl62b")
|
|
blend_point_3/pos = Vector2(160, -140)
|
|
blend_point_3/name = &"dive_up_side"
|
|
blend_point_4/node = SubResource("AnimationNodeAnimation_wlj80")
|
|
blend_point_4/pos = Vector2(160, 140)
|
|
blend_point_4/name = &"dive_down_side"
|
|
blend_point_5/node = SubResource("AnimationNodeAnimation_6bm8s")
|
|
blend_point_5/pos = Vector2(0, 200)
|
|
blend_point_5/name = &"dive_down"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_244u8"]
|
|
animation = &"idle"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ylhto"]
|
|
animation = &"run"
|
|
|
|
[sub_resource type="AnimationNodeBlendSpace1D" id="AnimationNodeBlendSpace1D_cwolq"]
|
|
min_space = 0.0
|
|
max_space = 40.0
|
|
snap = 10.0
|
|
value_label = "speed"
|
|
blend_mode = 1
|
|
blend_point_0/node = SubResource("AnimationNodeAnimation_244u8")
|
|
blend_point_0/pos = 0.0
|
|
blend_point_0/name = &"idle"
|
|
blend_point_1/node = SubResource("AnimationNodeAnimation_ylhto")
|
|
blend_point_1/pos = 40.0
|
|
blend_point_1/name = &"run"
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_ylhto"]
|
|
|
|
[sub_resource type="AnimationNodeTransition" id="AnimationNodeTransition_5f2sf"]
|
|
input_0/name = "ground"
|
|
input_0/auto_advance = false
|
|
input_0/break_loop_at_end = false
|
|
input_0/reset = true
|
|
input_1/name = "air"
|
|
input_1/auto_advance = false
|
|
input_1/break_loop_at_end = false
|
|
input_1/reset = true
|
|
input_2/name = "dive"
|
|
input_2/auto_advance = false
|
|
input_2/break_loop_at_end = false
|
|
input_2/reset = true
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_2j2mp"]
|
|
graph_offset = Vector2(-734.2429, 163.1087)
|
|
nodes/output/position = Vector2(160, 180)
|
|
nodes/state/node = SubResource("AnimationNodeTransition_5f2sf")
|
|
nodes/state/position = Vector2(-380, 180)
|
|
nodes/ground/node = SubResource("AnimationNodeBlendSpace1D_cwolq")
|
|
nodes/ground/position = Vector2(-600, 20)
|
|
nodes/air/node = SubResource("AnimationNodeBlendSpace1D_l271a")
|
|
nodes/air/position = Vector2(-600, 240)
|
|
nodes/dive/node = SubResource("AnimationNodeBlendSpace2D_rl62b")
|
|
nodes/dive/position = Vector2(-600, 440)
|
|
nodes/dash/node = SubResource("AnimationNodeOneShot_8ydov")
|
|
nodes/dash/position = Vector2(0, 180)
|
|
"nodes/Animation 3/node" = SubResource("AnimationNodeAnimation_8ydov")
|
|
"nodes/Animation 3/position" = Vector2(-340, 460)
|
|
nodes/holding_wall/node = SubResource("AnimationNodeBlend2_ylhto")
|
|
nodes/holding_wall/position = Vector2(-180, 180)
|
|
nodes/dash_sm/node = SubResource("AnimationNodeStateMachine_k60ra")
|
|
nodes/dash_sm/position = Vector2(-160, 460)
|
|
node_connections = [&"output", 0, &"dash", &"state", 0, &"ground", &"state", 1, &"air", &"state", 2, &"dive", &"dash", 0, &"holding_wall", &"dash", 1, &"dash_sm", &"holding_wall", 0, &"state", &"holding_wall", 1, &"Animation 3"]
|
|
|
|
[node name="Player" type="CharacterBody2D" unique_id=500011307]
|
|
physics_interpolation_mode = 1
|
|
auto_translate_mode = 1
|
|
collision_layer = 128
|
|
collision_mask = 65
|
|
floor_constant_speed = true
|
|
floor_max_angle = 0.87441
|
|
floor_snap_length = 3.0
|
|
script = ExtResource("1_244u8")
|
|
|
|
[node name="PointLight2D" type="PointLight2D" parent="." unique_id=60527513]
|
|
visible = false
|
|
position = Vector2(0, -13)
|
|
texture = SubResource("GradientTexture2D_2j2mp")
|
|
texture_scale = 3.37
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=84142517]
|
|
position = Vector2(0, -14)
|
|
shape = SubResource("RectangleShape2D_jiejy")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=1975474809]
|
|
position = Vector2(0, -16)
|
|
process_callback = 0
|
|
limit_enabled = false
|
|
editor_draw_screen = false
|
|
|
|
[node name="AudioListener2D" type="AudioListener2D" parent="." unique_id=1944725412]
|
|
current = true
|
|
|
|
[node name="Body" type="Sprite2D" parent="." unique_id=567060128]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0, 2)
|
|
texture = ExtResource("2_mf2ua")
|
|
offset = Vector2(0, -24)
|
|
hframes = 4
|
|
vframes = 12
|
|
metadata/_aseprite_wizard_interface_config_ = {
|
|
"animation_section": false,
|
|
"layer_section": false,
|
|
"output_section": false,
|
|
"pending_changes": {
|
|
"convert_fps_field": 60.0,
|
|
"convert_ms_field": 16.0,
|
|
"convert_to_fps": false,
|
|
"i_mode": 0,
|
|
"keep_anim_length": false,
|
|
"player": "",
|
|
"source": "res://src/player/player.aseprite"
|
|
},
|
|
"slice_section": false
|
|
}
|
|
metadata/_aseprite_wizard_config_ = {
|
|
"embed_tex": true,
|
|
"layers": [],
|
|
"o_ex_p": "",
|
|
"o_folder": "",
|
|
"o_name": "",
|
|
"only_visible": false,
|
|
"scale": "1.0",
|
|
"should_round_fps": true,
|
|
"slice": "",
|
|
"source": "res://player.aseprite",
|
|
"source_uid": 8921683997410207965
|
|
}
|
|
metadata/_aseprite_wizard_source_file_hash_ = "61168df4a163c039cfaab97f4fccb905"
|
|
|
|
[node name="Hurtbox" type="Area2D" parent="Body" unique_id=1918418417]
|
|
visible = false
|
|
position = Vector2(1, 0)
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
monitoring = false
|
|
script = ExtResource("4_5f2sf")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body/Hurtbox" unique_id=2048987579]
|
|
position = Vector2(0, -14)
|
|
shape = SubResource("RectangleShape2D_qi477")
|
|
debug_color = Color(0.36554977, 0.61805135, 9.62615e-07, 0.41960785)
|
|
|
|
[node name="HandAttachment" type="Node2D" parent="Body" unique_id=1002134601]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
position = Vector2(0, -12)
|
|
|
|
[node name="FrontKickHitbox" type="Area2D" parent="Body" unique_id=2024612404]
|
|
visible = false
|
|
position = Vector2(0, -18)
|
|
collision_layer = 8
|
|
collision_mask = 4
|
|
script = ExtResource("4_244u8")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body/FrontKickHitbox" unique_id=1088025767]
|
|
position = Vector2(5, 7)
|
|
shape = SubResource("RectangleShape2D_244u8")
|
|
disabled = true
|
|
debug_color = Color(0.99430805, 0, 0.2314094, 0.41960785)
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Body/FrontKickHitbox" unique_id=734742131]
|
|
position = Vector2(16, -2)
|
|
shape = SubResource("RectangleShape2D_5f2sf")
|
|
disabled = true
|
|
debug_color = Color(0.99430805, 0, 0.2314094, 0.41960785)
|
|
|
|
[node name="DashHitbox" type="Area2D" parent="Body" unique_id=45996338]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
position = Vector2(0, -18)
|
|
collision_layer = 8
|
|
collision_mask = 4
|
|
script = ExtResource("4_244u8")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body/DashHitbox" unique_id=2040304054]
|
|
position = Vector2(5, 0)
|
|
shape = SubResource("RectangleShape2D_244u8")
|
|
debug_color = Color(0.99430805, 0, 0.2314094, 0.41960785)
|
|
|
|
[node name="SubmersedSensor" type="Area2D" parent="." unique_id=1595680866]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
collision_layer = 0
|
|
collision_mask = 32
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="SubmersedSensor" unique_id=1538343174]
|
|
position = Vector2(0, -21)
|
|
shape = SubResource("RectangleShape2D_o822w")
|
|
debug_color = Color(0, 0.5282814, 0.99723786, 0.41960785)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1251324400]
|
|
libraries/ = SubResource("AnimationLibrary_rgyib")
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="AnimationPlayer" unique_id=1839424284]
|
|
unique_name_in_owner = true
|
|
deterministic = false
|
|
root_node = NodePath("%AnimationTree/../..")
|
|
tree_root = SubResource("AnimationNodeBlendTree_2j2mp")
|
|
advance_expression_base_node = NodePath("../..")
|
|
anim_player = NodePath("..")
|
|
parameters/state/current_state = "ground"
|
|
parameters/state/transition_request = ""
|
|
parameters/state/current_index = 0
|
|
parameters/ground/blend_position = 0.0
|
|
parameters/air/blend_position = 0.0
|
|
parameters/dive/blend_position = Vector2(0, 0)
|
|
parameters/dash/active = false
|
|
parameters/dash/internal_active = false
|
|
parameters/dash/request = 0
|
|
parameters/holding_wall/blend_amount = 0.0
|
|
parameters/dash_sm/dash/blend_position = Vector2(136.31387, -0.47962952)
|
|
|
|
[node name="JumpTimer" type="Timer" parent="." unique_id=1535675433]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.25
|
|
one_shot = true
|
|
|
|
[node name="WallJumpTimer" type="Timer" parent="." unique_id=299887998]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.25
|
|
one_shot = true
|
|
|
|
[node name="JumpAllowedTimer" type="Timer" parent="." unique_id=705792352]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.12
|
|
one_shot = true
|
|
|
|
[node name="WallJumpAllowedTimer" type="Timer" parent="." unique_id=2097477648]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.073
|
|
one_shot = true
|
|
|
|
[node name="WaterJumpAllowedTimer" type="Timer" parent="." unique_id=1597932610]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.1
|
|
one_shot = true
|
|
|
|
[node name="DashTimer" type="Timer" parent="." unique_id=18391348]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.2
|
|
one_shot = true
|
|
|
|
[node name="DashDirectionChangeTimer" type="Timer" parent="." unique_id=911466358]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.05
|
|
one_shot = true
|
|
|
|
[node name="DashCooldownTimer" type="Timer" parent="." unique_id=452015930]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.6
|
|
one_shot = true
|
|
|
|
[node name="GlobalDamageImmunityTimer" type="Timer" parent="." unique_id=1358670796]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
one_shot = true
|
|
|
|
[node name="PlatformIgnoreTimer" type="Timer" parent="." unique_id=1912509940]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.1
|
|
one_shot = true
|
|
|
|
[node name="ParryTimer" type="Timer" parent="." unique_id=279087565]
|
|
unique_name_in_owner = true
|
|
process_callback = 0
|
|
wait_time = 0.2
|
|
one_shot = true
|