59 lines
2.3 KiB
Plaintext
59 lines
2.3 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://cveiaa0y66gln"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bjo2q6vca5qlv" path="res://Worlds/GreenPlanet/Enemies/air_enemy.tscn" id="1_aormu"]
|
|
[ext_resource type="PackedScene" uid="uid://o6whohcbalui" path="res://crystal_enemy.glb" id="2_myjng"]
|
|
[ext_resource type="Script" uid="uid://cummt2be3r1gq" path="res://Scripts/hitbox.gd" id="3_myjng"]
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_c5uwa"]
|
|
viewport_path = NodePath("SubViewport")
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_c5uwa"]
|
|
radius = 0.332871
|
|
height = 1.415
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_d7aub"]
|
|
radius = 0.133503
|
|
height = 0.56
|
|
|
|
[node name="Dog" instance=ExtResource("1_aormu")]
|
|
|
|
[node name="Sprite3D" parent="." index="1"]
|
|
texture = SubResource("ViewportTexture_c5uwa")
|
|
|
|
[node name="crystal_enemy" parent="." index="7" instance=ExtResource("2_myjng")]
|
|
|
|
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="crystal_enemy/Cube_001" index="0"]
|
|
remote_path = NodePath("../../../MiniHitbox2")
|
|
|
|
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="crystal_enemy/Cube_002" index="0"]
|
|
remote_path = NodePath("../../../MiniHitbox")
|
|
|
|
[node name="AnimationPlayer" parent="crystal_enemy" index="3"]
|
|
autoplay = "Spin"
|
|
speed_scale = 2.0
|
|
|
|
[node name="MainHitbox" type="CollisionShape3D" parent="." index="8"]
|
|
shape = SubResource("CapsuleShape3D_c5uwa")
|
|
script = ExtResource("3_myjng")
|
|
metadata/_custom_type_script = "uid://cummt2be3r1gq"
|
|
|
|
[node name="MiniHitbox" type="CollisionShape3D" parent="." index="9"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.601335, 0.59523, 0)
|
|
shape = SubResource("CapsuleShape3D_d7aub")
|
|
script = ExtResource("3_myjng")
|
|
critical_zone = true
|
|
metadata/_custom_type_script = "uid://cummt2be3r1gq"
|
|
|
|
[node name="MiniHitbox2" type="CollisionShape3D" parent="." index="10"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.599804, -0.600394, 0)
|
|
shape = SubResource("CapsuleShape3D_d7aub")
|
|
script = ExtResource("3_myjng")
|
|
critical_zone = true
|
|
metadata/_custom_type_script = "uid://cummt2be3r1gq"
|
|
|
|
[connection signal="took_damage" from="MainHitbox" to="Health" method="take_damage"]
|
|
[connection signal="took_damage" from="MiniHitbox" to="Health" method="take_damage"]
|
|
[connection signal="took_damage" from="MiniHitbox2" to="Health" method="take_damage"]
|
|
|
|
[editable path="crystal_enemy"]
|