398 lines
11 KiB
Plaintext
398 lines
11 KiB
Plaintext
|
|
[gd_scene load_steps=57 format=3 uid="uid://0lyd0y14s0w4"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://f88hycnuf3m5" path="res://Scripts/skeleton.gd" id="1_abfcy"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://dcukplq3ykd13" path="res://Assets/Graphics/Enemies/Skeleton/Skeleton_01_White_Idle.png" id="1_vif15"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://cy3t1xgbpcx1t" path="res://Assets/Graphics/Enemies/Skeleton/Skeleton_01_White_Attack1.png" id="2_yek4v"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://den6xknhkm8d" path="res://Assets/Graphics/Enemies/Skeleton/Skeleton_01_White_Die.png" id="3_2bjux"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://cxmvtyalmav26" path="res://Assets/Graphics/Enemies/Skeleton/Skeleton_01_White_Hurt.png" id="4_rtppx"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://dilf6h30fxxw4" path="res://Assets/Graphics/Enemies/Skeleton/Skeleton_01_White_Walk.png" id="6_k2wj7"]
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_87cwn"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(0, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lxoki"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(96, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xneb1"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(192, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ci2ge"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(288, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ma653"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(384, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ecs23"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(480, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0ftre"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(576, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lii7c"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(672, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_10q1y"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(768, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tfme2"]
|
||
|
|
atlas = ExtResource("2_yek4v")
|
||
|
|
region = Rect2(864, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b70gm"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(0, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t5rxt"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(96, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_y8jxr"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(192, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7p4ha"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(288, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jlfek"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(384, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rsssq"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(480, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_y1shx"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(576, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_omjhr"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(672, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8lo8o"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(768, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ijbhh"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(864, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ddipo"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(960, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_353gq"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(1056, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ix6k6"]
|
||
|
|
atlas = ExtResource("3_2bjux")
|
||
|
|
region = Rect2(1152, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hdu5v"]
|
||
|
|
atlas = ExtResource("4_rtppx")
|
||
|
|
region = Rect2(0, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vips4"]
|
||
|
|
atlas = ExtResource("4_rtppx")
|
||
|
|
region = Rect2(96, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jdpkg"]
|
||
|
|
atlas = ExtResource("4_rtppx")
|
||
|
|
region = Rect2(192, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5xlrn"]
|
||
|
|
atlas = ExtResource("4_rtppx")
|
||
|
|
region = Rect2(288, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0i2gx"]
|
||
|
|
atlas = ExtResource("4_rtppx")
|
||
|
|
region = Rect2(384, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_abfcy"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(0, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4ie6e"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(96, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_iuen5"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(192, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rxd7e"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(288, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yek4v"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(384, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2bjux"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(480, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rtppx"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(576, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_k2wj7"]
|
||
|
|
atlas = ExtResource("1_vif15")
|
||
|
|
region = Rect2(672, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wx38x"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(0, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mvwdc"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(96, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_whxj0"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(192, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2hcwm"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(288, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_u2tho"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(384, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_14y5s"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(480, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xuc1f"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(576, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pdd2a"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(672, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1xayb"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(768, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0ba4d"]
|
||
|
|
atlas = ExtResource("6_k2wj7")
|
||
|
|
region = Rect2(864, 0, 96, 64)
|
||
|
|
|
||
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_87cwn"]
|
||
|
|
animations = [{
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_87cwn")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_lxoki")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_xneb1")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ci2ge")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ma653")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ecs23")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_0ftre")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_lii7c")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_10q1y")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_tfme2")
|
||
|
|
}],
|
||
|
|
"loop": false,
|
||
|
|
"name": &"attack",
|
||
|
|
"speed": 12.0
|
||
|
|
}, {
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_b70gm")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_t5rxt")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_y8jxr")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_7p4ha")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_jlfek")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_rsssq")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_y1shx")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_omjhr")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_8lo8o")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ijbhh")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ddipo")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_353gq")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_ix6k6")
|
||
|
|
}],
|
||
|
|
"loop": false,
|
||
|
|
"name": &"death",
|
||
|
|
"speed": 12.0
|
||
|
|
}, {
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_hdu5v")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_vips4")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_jdpkg")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_5xlrn")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_0i2gx")
|
||
|
|
}],
|
||
|
|
"loop": false,
|
||
|
|
"name": &"hurt",
|
||
|
|
"speed": 12.0
|
||
|
|
}, {
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_abfcy")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_4ie6e")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_iuen5")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_rxd7e")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_yek4v")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_2bjux")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_rtppx")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_k2wj7")
|
||
|
|
}],
|
||
|
|
"loop": true,
|
||
|
|
"name": &"idle",
|
||
|
|
"speed": 12.0
|
||
|
|
}, {
|
||
|
|
"frames": [{
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_wx38x")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_mvwdc")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_whxj0")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_2hcwm")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_u2tho")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_14y5s")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_xuc1f")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_pdd2a")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_1xayb")
|
||
|
|
}, {
|
||
|
|
"duration": 1.0,
|
||
|
|
"texture": SubResource("AtlasTexture_0ba4d")
|
||
|
|
}],
|
||
|
|
"loop": true,
|
||
|
|
"name": &"walk",
|
||
|
|
"speed": 12.0
|
||
|
|
}]
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_yek4v"]
|
||
|
|
height = 72.0
|
||
|
|
|
||
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yek4v"]
|
||
|
|
size = Vector2(371, 71)
|
||
|
|
|
||
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2bjux"]
|
||
|
|
size = Vector2(452, 33)
|
||
|
|
|
||
|
|
[node name="Skeleton" type="CharacterBody2D"]
|
||
|
|
z_index = 10
|
||
|
|
script = ExtResource("1_abfcy")
|
||
|
|
|
||
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||
|
|
texture_filter = 1
|
||
|
|
scale = Vector2(1.5, 1.5)
|
||
|
|
sprite_frames = SubResource("SpriteFrames_87cwn")
|
||
|
|
animation = &"idle"
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
|
texture_filter = 1
|
||
|
|
position = Vector2(-5, 12)
|
||
|
|
shape = SubResource("CapsuleShape2D_yek4v")
|
||
|
|
debug_color = Color(0.61885023, 0.36088452, 0.99050516, 0.41960785)
|
||
|
|
|
||
|
|
[node name="Area2D" type="Area2D" parent="."]
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||
|
|
position = Vector2(12.5, 13.5)
|
||
|
|
shape = SubResource("RectangleShape2D_yek4v")
|
||
|
|
debug_color = Color(0.51556015, 0.56157154, 0.37343058, 0.41960785)
|
||
|
|
|
||
|
|
[node name="AttackHitbox" type="Area2D" parent="."]
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackHitbox"]
|
||
|
|
position = Vector2(37, 0.5)
|
||
|
|
shape = SubResource("RectangleShape2D_2bjux")
|
||
|
|
debug_color = Color(0.9785972, 0.11901257, 0.22291586, 0.41960785)
|