mirror of
https://github.com/kodzukye/omens-ascent.git
synced 2026-08-10 13:23:10 +00:00
390 lines
11 KiB
Plaintext
390 lines
11 KiB
Plaintext
[gd_scene format=3 uid="uid://mh87kxbf8qfg"]
|
|
|
|
[ext_resource type="Script" uid="uid://cvj0lx0ye6s8u" path="res://scenes/actors/morph_demon.gd" id="1_2mv40"]
|
|
[ext_resource type="Script" uid="uid://ev7uglfcbl02" path="res://scenes/components/health_component.gd" id="1_j57tj"]
|
|
[ext_resource type="Texture2D" uid="uid://cnspvi231pekd" path="res://assets/images/sprites/Enemies/Demons/Demon_Morph.png" id="2_2mv40"]
|
|
[ext_resource type="Script" uid="uid://cxsbkcxpnu3t6" path="res://scenes/components/hurt_box.gd" id="2_vvnac"]
|
|
[ext_resource type="Script" uid="uid://dw1cot7pm0rp6" path="res://scenes/components/hit_box.gd" id="3_2mv40"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_je8q5"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(0, 192, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fe67r"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(128, 192, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_k6a66"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(256, 192, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ms8dm"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(384, 192, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_te4c3"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(512, 192, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2mv40"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(0, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1jkw4"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(128, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_u2v8e"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(256, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_waxpt"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(384, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wtash"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(512, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_05e56"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(640, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a255e"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(768, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qbbd0"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(896, 384, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xfbi4"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(0, 128, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s0njy"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(128, 128, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f8v3l"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(0, 0, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_di6cc"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(128, 0, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_33lk7"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(256, 0, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7abvi"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(384, 0, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_brf3s"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(512, 0, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_087mw"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(640, 0, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xjcar"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(0, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jx50b"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(128, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pvui8"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(256, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ewei5"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(384, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i10qy"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(512, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ku75a"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(640, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_aehku"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(768, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qwjtc"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(896, 256, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_c1cpx"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(0, 64, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5swl3"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(128, 64, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_syam8"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(256, 64, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uuuvn"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(384, 64, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_07spa"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(512, 64, 128, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mjveu"]
|
|
atlas = ExtResource("2_2mv40")
|
|
region = Rect2(640, 64, 128, 64)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_bccdp"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_je8q5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fe67r")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_k6a66")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ms8dm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_te4c3")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"dash_attack",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2mv40")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1jkw4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_u2v8e")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_waxpt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wtash")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_05e56")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a255e")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qbbd0")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"death",
|
|
"speed": 7.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xfbi4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_s0njy")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"hurt",
|
|
"speed": 7.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f8v3l")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_di6cc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_33lk7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7abvi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_brf3s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_087mw")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"idle",
|
|
"speed": 7.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xjcar")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jx50b")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pvui8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ewei5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_i10qy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ku75a")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_aehku")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qwjtc")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"poison_attack",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_c1cpx")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5swl3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_syam8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uuuvn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_07spa")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mjveu")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"walk",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_2mv40"]
|
|
radius = 6.0
|
|
height = 18.0
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_f8v3l"]
|
|
radius = 5.0
|
|
height = 16.0
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_di6cc"]
|
|
size = Vector2(274.4375, 27)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f8v3l"]
|
|
size = Vector2(12, 20)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_33lk7"]
|
|
size = Vector2(47, 20)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2mv40"]
|
|
size = Vector2(42, 21)
|
|
|
|
[node name="MorphDemon" type="CharacterBody2D" unique_id=1564137690]
|
|
scale = Vector2(1.25, 1.25)
|
|
collision_layer = 8
|
|
script = ExtResource("1_2mv40")
|
|
|
|
[node name="HealthComponent" type="Node" parent="." unique_id=334972245]
|
|
script = ExtResource("1_j57tj")
|
|
max_health = 20
|
|
metadata/_custom_type_script = "uid://ev7uglfcbl02"
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1649019130]
|
|
position = Vector2(0, -16)
|
|
sprite_frames = SubResource("SpriteFrames_bccdp")
|
|
animation = &"poison_attack"
|
|
autoplay = "idle"
|
|
frame = 2
|
|
offset = Vector2(32, 0)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1412521514]
|
|
position = Vector2(0, -9)
|
|
shape = SubResource("CapsuleShape2D_2mv40")
|
|
|
|
[node name="HurtBox" type="Area2D" parent="." unique_id=77974344]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("2_vvnac")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HurtBox" unique_id=496690144]
|
|
position = Vector2(0, -10)
|
|
shape = SubResource("CapsuleShape2D_f8v3l")
|
|
debug_color = Color(1, 0, 0, 0.41960785)
|
|
|
|
[node name="DetectionArea" type="Area2D" parent="." unique_id=613463268]
|
|
collision_layer = 0
|
|
collision_mask = 16
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea" unique_id=1471701880]
|
|
position = Vector2(0, -13)
|
|
shape = SubResource("RectangleShape2D_di6cc")
|
|
debug_color = Color(0.77266294, 0.44344115, 3.85046e-07, 0.41960785)
|
|
|
|
[node name="DashHitBox" type="Area2D" parent="." unique_id=1953441663]
|
|
collision_layer = 2
|
|
collision_mask = 4
|
|
script = ExtResource("3_2mv40")
|
|
damage = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DashHitBox" unique_id=2093629540]
|
|
position = Vector2(0, -10)
|
|
shape = SubResource("RectangleShape2D_f8v3l")
|
|
|
|
[node name="DashAttackRangeArea" type="Area2D" parent="." unique_id=1251225542]
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DashAttackRangeArea" unique_id=1335782575]
|
|
position = Vector2(0, -10)
|
|
shape = SubResource("RectangleShape2D_33lk7")
|
|
debug_color = Color(0.9622, 0.6, 0.1, 0.41960785)
|
|
|
|
[node name="PoisonHitBox" type="Area2D" parent="." unique_id=280274109]
|
|
collision_layer = 2
|
|
collision_mask = 4
|
|
script = ExtResource("3_2mv40")
|
|
damage = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="PoisonHitBox" unique_id=1981698659]
|
|
position = Vector2(37, -14.4)
|
|
scale = Vector2(0.99999994, 0.99999994)
|
|
shape = SubResource("RectangleShape2D_2mv40")
|
|
|
|
[node name="PoisonAttackRangeArea" type="Area2D" parent="." unique_id=2009092151]
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="PoisonAttackRangeArea" unique_id=406627570]
|
|
position = Vector2(37, -14)
|
|
scale = Vector2(0.99999994, 0.99999994)
|
|
shape = SubResource("RectangleShape2D_2mv40")
|
|
debug_color = Color(0.9607843, 0.6, 0.101960786, 0.41960785)
|
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="." unique_id=1363425348]
|
|
target_position = Vector2(0, 15)
|