mirror of
https://github.com/kodzukye/omens-ascent.git
synced 2026-08-10 13:23:10 +00:00
477 lines
13 KiB
Plaintext
477 lines
13 KiB
Plaintext
[gd_scene format=3 uid="uid://cr7ibxkl174o1"]
|
|
|
|
[ext_resource type="Script" uid="uid://cj5w74n7beula" path="res://scenes/actors/creeper.gd" id="1_683kk"]
|
|
[ext_resource type="Texture2D" uid="uid://mta76reo0an0" path="res://assets/images/sprites/Enemies/Monsters/monster.png" id="1_noq3l"]
|
|
[ext_resource type="Script" uid="uid://cxsbkcxpnu3t6" path="res://scenes/components/hurt_box.gd" id="2_hurtbox"]
|
|
[ext_resource type="Script" uid="uid://ev7uglfcbl02" path="res://scenes/components/health_component.gd" id="3_health"]
|
|
[ext_resource type="Script" uid="uid://dw1cot7pm0rp6" path="res://scenes/components/hit_box.gd" id="5_7og3g"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6gm0u"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(0, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o77sm"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(48, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fiwxl"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(96, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xxnpd"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(144, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hk1d6"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(192, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1334s"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(240, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_h12pd"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(288, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ef3yn"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(336, 144, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bcab8"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(0, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q5rkb"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(48, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_53wdg"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(96, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qc2f3"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(144, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_h6kpp"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(192, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vxsoj"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(240, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_53fqn"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(288, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ib8sr"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(336, 288, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wrhl5"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(0, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o07x0"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(48, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4xuc4"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(96, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f4n60"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(144, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6fyr1"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(192, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_isrvx"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(240, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7jb5g"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(288, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4snpt"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(336, 336, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0bs3p"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(0, 240, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6er14"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(48, 240, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2ousp"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(96, 240, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_683kk"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7psr3"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_usrw5"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7og3g"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_blets"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nt051"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mck3s"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ipyt4"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m1exi"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(0, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_u4pvs"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(48, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pdeun"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(96, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ajc8e"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(144, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4a32r"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(192, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0lcgg"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(240, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vn5sj"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(288, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rw06l"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(336, 48, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_oqjui"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(0, 96, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_oh0i5"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(48, 96, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_etdul"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(96, 96, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b67jb"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(144, 96, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_odu4t"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(192, 96, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i755r"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(240, 96, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p4bqm"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(288, 96, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pinoy"]
|
|
atlas = ExtResource("1_noq3l")
|
|
region = Rect2(336, 96, 48, 48)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_uvqlf"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6gm0u")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_o77sm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fiwxl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xxnpd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hk1d6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1334s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_h12pd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ef3yn")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"attack",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_bcab8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_q5rkb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_53wdg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qc2f3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_h6kpp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vxsoj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_53fqn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ib8sr")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"death_1",
|
|
"speed": 7.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wrhl5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_o07x0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4xuc4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f4n60")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6fyr1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_isrvx")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7jb5g")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4snpt")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"death_2",
|
|
"speed": 7.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0bs3p")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6er14")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2ousp")
|
|
}],
|
|
"loop": 0,
|
|
"name": &"hurt",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_683kk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7psr3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_usrw5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7og3g")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_blets")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nt051")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mck3s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ipyt4")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"idle",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_m1exi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_u4pvs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pdeun")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ajc8e")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4a32r")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0lcgg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vn5sj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rw06l")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"walk_1",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_oqjui")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_oh0i5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_etdul")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_b67jb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_odu4t")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_i755r")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_p4bqm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pinoy")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"walk_2",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_gy2im"]
|
|
radius = 6.0
|
|
height = 18.0
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_uvqlf"]
|
|
radius = 5.0
|
|
height = 16.0
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uvqlf"]
|
|
size = Vector2(178.875, 27)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_gy2im"]
|
|
size = Vector2(17, 6)
|
|
|
|
[node name="Creeper" type="CharacterBody2D" unique_id=1458442942]
|
|
scale = Vector2(1.25, 1.25)
|
|
collision_layer = 8
|
|
script = ExtResource("1_683kk")
|
|
|
|
[node name="HealthComponent" type="Node" parent="." unique_id=391872171]
|
|
script = ExtResource("3_health")
|
|
max_health = 15
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1045569955]
|
|
position = Vector2(0, -8)
|
|
sprite_frames = SubResource("SpriteFrames_uvqlf")
|
|
animation = &"idle"
|
|
autoplay = "idle"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=101852921]
|
|
position = Vector2(1, -9)
|
|
shape = SubResource("CapsuleShape2D_gy2im")
|
|
|
|
[node name="HurtBox" type="Area2D" parent="." unique_id=1950866404]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("2_hurtbox")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HurtBox" unique_id=1935738172]
|
|
position = Vector2(1, -8)
|
|
shape = SubResource("CapsuleShape2D_uvqlf")
|
|
debug_color = Color(1, 0, 0, 0.41960785)
|
|
|
|
[node name="DetectionArea" type="Area2D" parent="." unique_id=2027089166]
|
|
collision_layer = 0
|
|
collision_mask = 16
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea" unique_id=1536337340]
|
|
position = Vector2(1, -14)
|
|
shape = SubResource("RectangleShape2D_uvqlf")
|
|
debug_color = Color(0.77266294, 0.44344115, 3.85046e-07, 0.41960785)
|
|
|
|
[node name="HitBox" type="Area2D" parent="." unique_id=1279016534]
|
|
collision_layer = 2
|
|
collision_mask = 4
|
|
script = ExtResource("5_7og3g")
|
|
damage = 1
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBox" unique_id=622613801]
|
|
position = Vector2(-14.5, -14)
|
|
shape = SubResource("RectangleShape2D_gy2im")
|
|
|
|
[node name="AttackRangeArea" type="Area2D" parent="." unique_id=-473062739]
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackRangeArea" unique_id=1058720448]
|
|
position = Vector2(-14.5, -14)
|
|
shape = SubResource("RectangleShape2D_gy2im")
|
|
debug_color = Color(0.9622, 0.6, 0.1, 0.41960785)
|
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="." unique_id=562937948]
|
|
target_position = Vector2(0, 15)
|