56 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-01-18 22:35:17 +00:00
[gd_scene load_steps=8 format=3 uid="uid://cb2t7bvvf3gwh"]
2024-01-17 20:48:35 +00:00
2024-02-02 19:12:14 +00:00
[ext_resource type="PackedScene" uid="uid://b358op5h1y83m" path="res://assets/models/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-01-24 19:57:31 +00:00
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/health/HealthComponent.tscn" id="2_fsqxc"]
2024-01-18 22:35:17 +00:00
[sub_resource type="BoxShape3D" id="BoxShape3D_x1ppt"]
size = Vector3(0.7, 0.6, 0.7)
[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-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-01-18 22:35:17 +00:00
[node name="Slime" type="CharacterBody3D" node_paths=PackedStringArray("model") groups=["enemy"]]
script = ExtResource("1_r5888")
model = NodePath("Model")
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-01-18 22:35:17 +00:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0452515, 0.3, 0)
shape = SubResource("BoxShape3D_x1ppt")
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")]