100 lines
3.8 KiB
Plaintext
Raw Normal View History

2024-02-13 19:38:17 +00:00
[gd_scene load_steps=15 format=3 uid="uid://cb2t7bvvf3gwh"]
2024-01-17 20:48:35 +00:00
2024-02-03 23:03:25 +00:00
[ext_resource type="PackedScene" uid="uid://b358op5h1y83m" path="res://assets/slime/Slime.blend" id="1_1h1hj"]
2024-01-18 22:35:17 +00:00
[ext_resource type="Script" path="res://enemy/Enemy.gd" id="1_r5888"]
2024-02-12 23:22:27 +00:00
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://player/health/HealthComponent.tscn" id="2_fsqxc"]
[ext_resource type="PackedScene" uid="uid://x102pryt2s5a" path="res://player/movement/MovementComponent.tscn" id="3_2phqx"]
[ext_resource type="PackedScene" uid="uid://6jpnl6c4fdvo" path="res://player/hud/HUDComponent.tscn" id="3_4jtio"]
2024-02-13 12:49:28 +00:00
[ext_resource type="PackedScene" uid="uid://bfvudkup0xsq4" path="res://enemy/death/DeathComponent.tscn" id="6_68kgw"]
2024-02-13 10:17:45 +00:00
[ext_resource type="PackedScene" uid="uid://dl4vcp04t8iyr" path="res://item/soul/Soul.tscn" id="7_i0rtb"]
2024-02-13 11:02:17 +00:00
[ext_resource type="Script" path="res://enemy/EnemyController.gd" id="8_b7r6l"]
2024-02-13 19:38:17 +00:00
[ext_resource type="PackedScene" uid="uid://c8lifxuvpchu3" path="res://player/visibility/VisibilityComponent.tscn" id="9_ssc7p"]
2024-01-18 22:35:17 +00:00
2024-02-13 19:38:17 +00:00
[sub_resource type="SphereShape3D" id="SphereShape3D_s5ct7"]
radius = 0.4
2024-01-18 22:35:17 +00:00
2024-02-13 12:49:28 +00:00
[sub_resource type="Animation" id="Animation_vjs0t"]
resource_name = "slime_death"
2024-02-13 22:12:32 +00:00
length = 1.5
2024-02-13 12:49:28 +00:00
tracks/0/type = "scale_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("..")
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-02-13 22:12:32 +00:00
tracks/0/keys = PackedFloat32Array(0, 1, 1, 1, 1, 1.5, 1, 1.1, 0.25, 1.1)
2024-02-13 12:49:28 +00:00
2024-01-18 22:35:17 +00:00
[sub_resource type="Animation" id="Animation_qls31"]
resource_name = "slime_fall"
tracks/0/type = "scale_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Slime")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0.5, 1.2, 0.5, 0.5, 1, 0.6, 1, 0.6, 1, 1, 0.5, 1.2, 0.5)
2024-01-17 20:48:35 +00:00
[sub_resource type="Animation" id="Animation_mdtm7"]
resource_name = "slime_idle"
length = 2.0
loop_mode = 1
tracks/0/type = "scale_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Slime")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 1, 1, 1, 0.5, 1, 0.9, 1.1, 0.9, 1, 1, 1, 1, 1, 1.5, 1, 1.1, 0.9, 1.1, 2, 1, 1, 1, 1)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1bw8m"]
_data = {
2024-02-13 12:49:28 +00:00
"slime_death": SubResource("Animation_vjs0t"),
2024-01-18 22:35:17 +00:00
"slime_fall": SubResource("Animation_qls31"),
2024-01-17 20:48:35 +00:00
"slime_idle": SubResource("Animation_mdtm7")
}
2024-02-07 22:04:19 +00:00
[node name="Slime" type="CharacterBody3D" groups=["enemy"]]
2024-02-12 15:58:17 +00:00
collision_layer = 256
collision_mask = 769
2024-01-18 22:35:17 +00:00
script = ExtResource("1_r5888")
2024-01-17 20:48:35 +00:00
[node name="Model" parent="." instance=ExtResource("1_1h1hj")]
2024-01-20 21:18:58 +00:00
[node name="Collision" type="CollisionShape3D" parent="."]
2024-02-13 19:38:17 +00:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
shape = SubResource("SphereShape3D_s5ct7")
2024-01-18 22:35:17 +00:00
2024-02-12 23:22:27 +00:00
[node name="HUD" parent="." node_paths=PackedStringArray("health") instance=ExtResource("3_4jtio")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.986405, 0)
2024-02-13 19:38:17 +00:00
visible = false
2024-02-12 23:22:27 +00:00
health = NodePath("../Health")
2024-01-20 21:18:58 +00:00
[node name="Animation" type="AnimationPlayer" parent="."]
2024-01-17 20:48:35 +00:00
root_node = NodePath("../Model")
libraries = {
"": SubResource("AnimationLibrary_1bw8m")
}
autoplay = "slime_idle"
2024-01-18 22:35:17 +00:00
2024-01-20 21:18:58 +00:00
[node name="Health" parent="." instance=ExtResource("2_fsqxc")]
2024-02-13 09:38:26 +00:00
max_value = 100.0
2024-02-07 22:04:19 +00:00
[node name="Movement" parent="." instance=ExtResource("3_2phqx")]
2024-02-13 10:56:04 +00:00
move_speed = 0.5
2024-02-13 10:17:45 +00:00
2024-02-13 12:49:28 +00:00
[node name="Death" parent="." node_paths=PackedStringArray("health", "hud", "animation") instance=ExtResource("6_68kgw")]
2024-02-13 10:17:45 +00:00
health = NodePath("../Health")
2024-02-13 12:49:28 +00:00
hud = NodePath("../HUD")
animation = NodePath("../Animation")
2024-02-13 10:17:45 +00:00
drop = ExtResource("7_i0rtb")
2024-02-13 10:56:04 +00:00
[node name="EnemyController" type="Node" parent="."]
script = ExtResource("8_b7r6l")
2024-02-13 19:38:17 +00:00
[node name="Visibility" parent="." node_paths=PackedStringArray("health", "hud") instance=ExtResource("9_ssc7p")]
health = NodePath("../Health")
hud = NodePath("../HUD")
hud_distance = 50.0
physics_distance = 50.0
render_distance = 100.0