717 lines
20 KiB
Plaintext
717 lines
20 KiB
Plaintext
[gd_scene format=3 uid="uid://c3v8niwu0avmm"]
|
|
|
|
[ext_resource type="Script" uid="uid://bh2madpelppjn" path="res://player/scripts/player.gd" id="1_rkbax"]
|
|
[ext_resource type="Texture2D" uid="uid://cge4rwsf016ej" path="res://player/sprites/PlayerSprite02.png" id="2_qjkh3"]
|
|
[ext_resource type="Texture2D" uid="uid://b0hgmxuickvw8" path="res://player/sprites/AttackSprite01.png" id="3_boad6"]
|
|
[ext_resource type="Script" uid="uid://cbmwqg1xr14sg" path="res://player/scripts/player_state_machine.gd" id="3_yw30f"]
|
|
[ext_resource type="Texture2D" uid="uid://bxqdnnk4dqnu5" path="res://player/sprites/Shadow.png" id="4_hg6s5"]
|
|
[ext_resource type="Script" uid="uid://cabtgwm5i08oe" path="res://player/scripts/state_idle.gd" id="4_qjkh3"]
|
|
[ext_resource type="Script" uid="uid://c6p40pfivsfxo" path="res://player/scripts/state_walk.gd" id="5_qjkh3"]
|
|
[ext_resource type="Script" uid="uid://rkjhx7gfma1e" path="res://player/scripts/state_attack.gd" id="6_g6k8r"]
|
|
[ext_resource type="AudioStream" uid="uid://qsxe4l0o268q" path="res://player/audio/SwordSwoosh.wav" id="8_rgyib"]
|
|
[ext_resource type="Script" uid="uid://ba6scm5um18sd" path="res://player/scripts/player_interactions_host.gd" id="10_2ieo8"]
|
|
[ext_resource type="PackedScene" uid="uid://mwyvk4gke34" path="res://general/hurtbox/hurtbox.tscn" id="10_8t03j"]
|
|
[ext_resource type="Script" uid="uid://gyjl7owe3dxx" path="res://player/scripts/camera.gd" id="11_ebec5"]
|
|
[ext_resource type="Script" uid="uid://pr4o7w6faw08" path="res://player/scripts/state_stun.gd" id="11_wodsf"]
|
|
[ext_resource type="PackedScene" uid="uid://cda6fr5vhb4ty" path="res://general/hitbox/hitbox.tscn" id="13_yllr7"]
|
|
[ext_resource type="Script" uid="uid://cyff8l2rrvtl" path="res://player/scripts/push_area.gd" id="14_32hag"]
|
|
[ext_resource type="AudioStream" uid="uid://dgqiq3755uttq" path="res://player/audio/hit_player.wav" id="14_kb6p2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_ebec5"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".: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(".:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 10)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:show_behind_parent")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath(".:visible")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_yllr7"]
|
|
resource_name = "attack_down"
|
|
length = 0.3
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0, 3]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 10)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:show_behind_parent")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath(".:visible")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_kb6p2"]
|
|
resource_name = "attack_side"
|
|
length = 0.3
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [8, 11]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(10, 0)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:show_behind_parent")
|
|
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(".:visible")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_wodsf"]
|
|
resource_name = "attack_up"
|
|
length = 0.3
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [4, 7]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, -10)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:show_behind_parent")
|
|
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(".:visible")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_32hag"]
|
|
resource_name = "no_attack"
|
|
length = 0.3
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_32hag"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_ebec5"),
|
|
&"attack_down": SubResource("Animation_yllr7"),
|
|
&"attack_side": SubResource("Animation_kb6p2"),
|
|
&"attack_up": SubResource("Animation_wodsf"),
|
|
&"no_attack": SubResource("Animation_32hag")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_2ieo8"]
|
|
radius = 20.0
|
|
|
|
[sub_resource type="Animation" id="Animation_rkbax"]
|
|
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]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite2D/attack_hurtbox:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 36)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_hg6s5"]
|
|
resource_name = "attack_down"
|
|
length = 0.3
|
|
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.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [21, 23]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite2D/attack_hurtbox:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 17)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_8t03j"]
|
|
resource_name = "attack_side"
|
|
length = 0.3
|
|
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.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [27, 29]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite2D/attack_hurtbox:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(17, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_2ieo8"]
|
|
resource_name = "attack_up"
|
|
length = 0.3
|
|
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.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [24, 26]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite2D/attack_hurtbox:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, -17)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_g1dw6"]
|
|
resource_name = "idle_down"
|
|
length = 0.4
|
|
loop_mode = 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.4),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0, 2]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_yw30f"]
|
|
resource_name = "idle_side"
|
|
length = 0.4
|
|
loop_mode = 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.4),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [6, 8]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_qjkh3"]
|
|
resource_name = "idle_up"
|
|
length = 0.4
|
|
loop_mode = 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.4),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [3, 5]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_tqiix"]
|
|
resource_name = "stun_down"
|
|
length = 0.3
|
|
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": 0,
|
|
"values": [30]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_e7oew"]
|
|
resource_name = "stun_side"
|
|
length = 0.3
|
|
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": 0,
|
|
"values": [32]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_c35mf"]
|
|
resource_name = "stun_up"
|
|
length = 0.3
|
|
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": 0,
|
|
"values": [31]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_g6k8r"]
|
|
resource_name = "walk_down"
|
|
length = 0.3
|
|
loop_mode = 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.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [9, 12]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_boad6"]
|
|
resource_name = "walk_side"
|
|
length = 0.3
|
|
loop_mode = 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.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [17, 20]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_rgyib"]
|
|
resource_name = "walk_up"
|
|
length = 0.3
|
|
loop_mode = 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.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [13, 16]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hg6s5"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_rkbax"),
|
|
&"attack_down": SubResource("Animation_hg6s5"),
|
|
&"attack_side": SubResource("Animation_8t03j"),
|
|
&"attack_up": SubResource("Animation_2ieo8"),
|
|
&"idle_down": SubResource("Animation_g1dw6"),
|
|
&"idle_side": SubResource("Animation_yw30f"),
|
|
&"idle_up": SubResource("Animation_qjkh3"),
|
|
&"stun_down": SubResource("Animation_tqiix"),
|
|
&"stun_side": SubResource("Animation_e7oew"),
|
|
&"stun_up": SubResource("Animation_c35mf"),
|
|
&"walk_down": SubResource("Animation_g6k8r"),
|
|
&"walk_side": SubResource("Animation_boad6"),
|
|
&"walk_up": SubResource("Animation_rgyib")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wodsf"]
|
|
size = Vector2(20, 8.999985)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_32hag"]
|
|
size = Vector2(20, 16.499956)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_edjgo"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_kb6p2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_65viv"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_bjvpn"]
|
|
resource_name = "damaged"
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4015934, 0.49814668, 0.6092257, 0.7100513, 0.8040412),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0.09803922), Color(1, 1, 1, 1), Color(1, 1, 1, 0.05882353), Color(1, 1, 1, 1), Color(1, 1, 1, 0.39215687), Color(1, 1, 1, 1), Color(1, 1, 1, 0.09803922), Color(1, 1, 1, 1)]
|
|
}
|
|
tracks/1/type = "audio"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("audio/audio")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"clips": [{
|
|
"end_offset": 0.0,
|
|
"start_offset": 0.0,
|
|
"stream": ExtResource("14_kb6p2")
|
|
}],
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/use_blend = true
|
|
|
|
[sub_resource type="Animation" id="Animation_x7c3f"]
|
|
resource_name = "default"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bjvpn"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_65viv"),
|
|
&"damaged": SubResource("Animation_bjvpn"),
|
|
&"default": SubResource("Animation_x7c3f")
|
|
}
|
|
|
|
[node name="player" type="CharacterBody2D" unique_id=267810811]
|
|
collision_mask = 16
|
|
motion_mode = 1
|
|
wall_min_slide_angle = 0.17453292
|
|
script = ExtResource("1_rkbax")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=536210534]
|
|
position = Vector2(0, -20)
|
|
texture = ExtResource("2_qjkh3")
|
|
hframes = 16
|
|
vframes = 3
|
|
|
|
[node name="shadow" type="Sprite2D" parent="Sprite2D" unique_id=175175930]
|
|
modulate = Color(0, 0, 0, 0.5176471)
|
|
show_behind_parent = true
|
|
position = Vector2(0, 20)
|
|
texture = ExtResource("4_hg6s5")
|
|
|
|
[node name="attack_effect" type="Sprite2D" parent="Sprite2D" unique_id=707156114]
|
|
position = Vector2(0, 10)
|
|
texture = ExtResource("3_boad6")
|
|
hframes = 12
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite2D/attack_effect" unique_id=1619018780]
|
|
libraries/ = SubResource("AnimationLibrary_32hag")
|
|
autoplay = &"no_attack"
|
|
|
|
[node name="attack_hurtbox" parent="Sprite2D" unique_id=38213362 instance=ExtResource("10_8t03j")]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0, 36)
|
|
rotation = 0.002383499
|
|
scale = Vector2(0.99999994, 0.99999994)
|
|
collision_mask = 256
|
|
monitoring = false
|
|
|
|
[node name="collision" type="CollisionShape2D" parent="Sprite2D/attack_hurtbox" unique_id=1176445286]
|
|
shape = SubResource("CircleShape2D_2ieo8")
|
|
debug_color = Color(0.99431497, 0, 0.2313017, 0.41960785)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=65643183]
|
|
libraries/ = SubResource("AnimationLibrary_hg6s5")
|
|
|
|
[node name="state_machine" type="Node2D" parent="." unique_id=1189850546]
|
|
script = ExtResource("3_yw30f")
|
|
|
|
[node name="idle" type="Node2D" parent="state_machine" unique_id=1427450181]
|
|
script = ExtResource("4_qjkh3")
|
|
|
|
[node name="walk" type="Node2D" parent="state_machine" unique_id=1531939313]
|
|
script = ExtResource("5_qjkh3")
|
|
|
|
[node name="attack" type="Node2D" parent="state_machine" unique_id=1875111878]
|
|
script = ExtResource("6_g6k8r")
|
|
attack_sound = ExtResource("8_rgyib")
|
|
|
|
[node name="stun" type="Node2D" parent="state_machine" unique_id=242638647]
|
|
script = ExtResource("11_wodsf")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=77105996]
|
|
position = Vector2(6, -5)
|
|
script = ExtResource("11_ebec5")
|
|
|
|
[node name="audio" type="Node2D" parent="." unique_id=1455470313]
|
|
|
|
[node name="audio" type="AudioStreamPlayer2D" parent="audio" unique_id=245569319]
|
|
max_polyphony = 4
|
|
|
|
[node name="interactions" type="Node2D" parent="." unique_id=446148331]
|
|
rotation = 0.002383499
|
|
script = ExtResource("10_2ieo8")
|
|
|
|
[node name="Area2D" type="Area2D" parent="interactions" unique_id=265616332]
|
|
collision_layer = 4
|
|
collision_mask = 0
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="interactions/Area2D" unique_id=902291624]
|
|
position = Vector2(0, 6)
|
|
shape = SubResource("RectangleShape2D_wodsf")
|
|
debug_color = Color(3.3691526e-07, 0.6381925, 0.38625547, 0.41960785)
|
|
|
|
[node name="PushArea" type="Area2D" parent="interactions" unique_id=2049347269]
|
|
collision_layer = 0
|
|
collision_mask = 16
|
|
monitorable = false
|
|
script = ExtResource("14_32hag")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="interactions/PushArea" unique_id=992735310]
|
|
position = Vector2(-0.002383499, 2.7499897)
|
|
scale = Vector2(1.0000002, 1.0000002)
|
|
shape = SubResource("RectangleShape2D_32hag")
|
|
debug_color = Color(0.86947346, 0.09178855, 0.8239628, 0.41960785)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1933391791]
|
|
shape = SubResource("CircleShape2D_edjgo")
|
|
|
|
[node name="Hitbox" parent="." unique_id=1876591880 instance=ExtResource("13_yllr7")]
|
|
collision_layer = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" unique_id=130293538]
|
|
position = Vector2(0, -8)
|
|
shape = SubResource("CircleShape2D_kb6p2")
|
|
debug_color = Color(0.75446975, 0.45642966, 0.03938905, 0.41960785)
|
|
|
|
[node name="effect_animation" type="AnimationPlayer" parent="." unique_id=658262531]
|
|
libraries/ = SubResource("AnimationLibrary_bjvpn")
|