230 lines
9.1 KiB
Plaintext
230 lines
9.1 KiB
Plaintext
[gd_scene load_steps=46 format=3 uid="uid://dnoajr7rj2um7"]
|
|
|
|
[ext_resource type="Script" uid="uid://sh6qqbl8fdrr" path="res://Game/Mobs/enemy.gd" id="1_pq2md"]
|
|
[ext_resource type="Texture2D" uid="uid://dl2w65j5jq0xc" path="res://Assets/Monsters/1/1_enemies_1_walk_000.png" id="1_ra45u"]
|
|
[ext_resource type="Texture2D" uid="uid://br8vm30ppn51l" path="res://Assets/Monsters/1/1_enemies_1_hurt_000.png" id="2_53m6g"]
|
|
[ext_resource type="Texture2D" uid="uid://sxsuv85rgxa1" path="res://Assets/Monsters/1/1_enemies_1_walk_001.png" id="2_pq2md"]
|
|
[ext_resource type="Texture2D" uid="uid://l42uiy76bhxr" path="res://Assets/Monsters/1/1_enemies_1_hurt_001.png" id="3_4kkql"]
|
|
[ext_resource type="Texture2D" uid="uid://bm073de32a3pu" path="res://Assets/Monsters/1/1_enemies_1_walk_002.png" id="3_gxpsl"]
|
|
[ext_resource type="Texture2D" uid="uid://dg4bxs4aycvrq" path="res://Assets/Monsters/1/1_enemies_1_hurt_002.png" id="4_n2o0p"]
|
|
[ext_resource type="Texture2D" uid="uid://bmloufrbidsqo" path="res://Assets/Monsters/1/1_enemies_1_walk_003.png" id="4_vb2u0"]
|
|
[ext_resource type="Texture2D" uid="uid://ck8av0egjy7r2" path="res://Assets/Monsters/1/1_enemies_1_walk_004.png" id="5_1x0wp"]
|
|
[ext_resource type="Texture2D" uid="uid://cvuoqtxhy5blq" path="res://Assets/Monsters/1/1_enemies_1_hurt_003.png" id="5_hg70q"]
|
|
[ext_resource type="Texture2D" uid="uid://ok8wq17yge66" path="res://Assets/Monsters/1/1_enemies_1_walk_005.png" id="6_tgrc0"]
|
|
[ext_resource type="Texture2D" uid="uid://disaxt8ojunur" path="res://Assets/Monsters/1/1_enemies_1_hurt_004.png" id="6_xkxmy"]
|
|
[ext_resource type="Texture2D" uid="uid://m2fiakotoqft" path="res://Assets/Monsters/1/1_enemies_1_hurt_005.png" id="7_2yr3d"]
|
|
[ext_resource type="Texture2D" uid="uid://cl56mwcyom2vs" path="res://Assets/Monsters/1/1_enemies_1_walk_006.png" id="7_nt07g"]
|
|
[ext_resource type="Texture2D" uid="uid://bm4b0mdkyns1b" path="res://Assets/Monsters/1/1_enemies_1_hurt_006.png" id="8_tq3ug"]
|
|
[ext_resource type="Texture2D" uid="uid://du57hw0eh6wg4" path="res://Assets/Monsters/1/1_enemies_1_walk_007.png" id="8_yjyl6"]
|
|
[ext_resource type="Texture2D" uid="uid://d4bbudxxyrbd7" path="res://Assets/Monsters/1/1_enemies_1_hurt_007.png" id="9_2sgw5"]
|
|
[ext_resource type="Texture2D" uid="uid://8417txfhh37c" path="res://Assets/Monsters/1/1_enemies_1_walk_008.png" id="9_mpc1o"]
|
|
[ext_resource type="Texture2D" uid="uid://c11oydj6tkig1" path="res://Assets/Monsters/1/1_enemies_1_hurt_008.png" id="10_5m8ca"]
|
|
[ext_resource type="Texture2D" uid="uid://debvus3344n5c" path="res://Assets/Monsters/1/1_enemies_1_walk_009.png" id="10_q6pl0"]
|
|
[ext_resource type="Texture2D" uid="uid://docerq3efivq5" path="res://Assets/Monsters/1/1_enemies_1_walk_010.png" id="11_r662y"]
|
|
[ext_resource type="Texture2D" uid="uid://ds41grau6rhxo" path="res://Assets/Monsters/1/1_enemies_1_hurt_009.png" id="11_y4ye7"]
|
|
[ext_resource type="Texture2D" uid="uid://bhnf6gdnld6ck" path="res://Assets/Monsters/1/1_enemies_1_walk_011.png" id="12_ika66"]
|
|
[ext_resource type="Texture2D" uid="uid://dek1fw5gnromu" path="res://Assets/Monsters/1/1_enemies_1_hurt_010.png" id="12_p3te8"]
|
|
[ext_resource type="Texture2D" uid="uid://b2bgvs1dnmp3v" path="res://Assets/Monsters/1/1_enemies_1_walk_012.png" id="13_5lf1w"]
|
|
[ext_resource type="Texture2D" uid="uid://durhxdpqcfc70" path="res://Assets/Monsters/1/1_enemies_1_hurt_011.png" id="13_r35qh"]
|
|
[ext_resource type="Texture2D" uid="uid://oojpigafle3r" path="res://Assets/Monsters/1/1_enemies_1_hurt_012.png" id="14_faos6"]
|
|
[ext_resource type="Texture2D" uid="uid://bltn18wj6sqbv" path="res://Assets/Monsters/1/1_enemies_1_walk_013.png" id="14_u3sot"]
|
|
[ext_resource type="Texture2D" uid="uid://re1e2vxnkvny" path="res://Assets/Monsters/1/1_enemies_1_walk_014.png" id="15_0wrvp"]
|
|
[ext_resource type="Texture2D" uid="uid://hbv27x6adbi4" path="res://Assets/Monsters/1/1_enemies_1_hurt_013.png" id="15_5qygf"]
|
|
[ext_resource type="Texture2D" uid="uid://dwu3xlwnlhff3" path="res://Assets/Monsters/1/1_enemies_1_hurt_014.png" id="16_7qehe"]
|
|
[ext_resource type="Texture2D" uid="uid://0xbdj00hfiva" path="res://Assets/Monsters/1/1_enemies_1_walk_015.png" id="16_ipe57"]
|
|
[ext_resource type="Texture2D" uid="uid://cb7ka3ckam73t" path="res://Assets/Monsters/1/1_enemies_1_walk_016.png" id="17_7dt0v"]
|
|
[ext_resource type="Texture2D" uid="uid://fe503mr5v7pg" path="res://Assets/Monsters/1/1_enemies_1_hurt_015.png" id="17_xvckp"]
|
|
[ext_resource type="Texture2D" uid="uid://daotm1cxaqd85" path="res://Assets/Monsters/1/1_enemies_1_walk_017.png" id="18_fxffo"]
|
|
[ext_resource type="Texture2D" uid="uid://bg60qgjm5dei5" path="res://Assets/Monsters/1/1_enemies_1_hurt_016.png" id="18_u3gdq"]
|
|
[ext_resource type="Texture2D" uid="uid://dv80pf5yjx7hr" path="res://Assets/Monsters/1/1_enemies_1_hurt_017.png" id="19_acf8m"]
|
|
[ext_resource type="Texture2D" uid="uid://cqvx47l53s1vc" path="res://Assets/Monsters/1/1_enemies_1_walk_018.png" id="19_lbdce"]
|
|
[ext_resource type="Texture2D" uid="uid://cixwd1sueem1o" path="res://Assets/Monsters/1/1_enemies_1_hurt_018.png" id="20_e3vkv"]
|
|
[ext_resource type="Texture2D" uid="uid://bi4gdl6ovax2j" path="res://Assets/Monsters/1/1_enemies_1_walk_019.png" id="20_garh6"]
|
|
[ext_resource type="Texture2D" uid="uid://121yr8q2welm" path="res://Assets/Monsters/1/1_enemies_1_hurt_019.png" id="21_to6c5"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ra45u"]
|
|
radius = 32.0
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_gxpsl"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_53m6g")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_4kkql")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_n2o0p")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_hg70q")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_xkxmy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_2yr3d")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_tq3ug")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_2sgw5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_5m8ca")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("11_y4ye7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("12_p3te8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("13_r35qh")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("14_faos6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("15_5qygf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("16_7qehe")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("17_xvckp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("18_u3gdq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("19_acf8m")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("20_e3vkv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("21_to6c5")
|
|
}],
|
|
"loop": true,
|
|
"name": &"hurt",
|
|
"speed": 20.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("1_ra45u")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_pq2md")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_gxpsl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_vb2u0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_1x0wp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_tgrc0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_nt07g")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_yjyl6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_mpc1o")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_q6pl0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("11_r662y")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("12_ika66")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("13_5lf1w")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("14_u3sot")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("15_0wrvp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("16_ipe57")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("17_7dt0v")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("18_fxffo")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("19_lbdce")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("20_garh6")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 20.0
|
|
}]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pq2md"]
|
|
bg_color = Color(1, 0, 0, 1)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gxpsl"]
|
|
bg_color = Color(0, 1, 0, 1)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
|
|
[node name="Forkman" type="Node2D"]
|
|
script = ExtResource("1_pq2md")
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
|
collision_layer = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
|
scale = Vector2(0.5, 0.5)
|
|
shape = SubResource("CircleShape2D_ra45u")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="CharacterBody2D"]
|
|
position = Vector2(10, 0)
|
|
scale = Vector2(0.2, 0.186)
|
|
sprite_frames = SubResource("SpriteFrames_gxpsl")
|
|
animation = &"hurt"
|
|
autoplay = "walk"
|
|
frame = 11
|
|
frame_progress = 0.9629
|
|
|
|
[node name="Area2D" type="Area2D" parent="CharacterBody2D"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D/Area2D"]
|
|
scale = Vector2(0.5, 0.5)
|
|
shape = SubResource("CircleShape2D_ra45u")
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="."]
|
|
offset_left = -15.0
|
|
offset_top = -30.0
|
|
offset_right = 15.0
|
|
offset_bottom = -24.0
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_pq2md")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_gxpsl")
|
|
value = 70.0
|
|
rounded = true
|
|
show_percentage = false
|