scale up boney
This commit is contained in:
parent
9fb4d38e05
commit
8ab5f5de3e
3 changed files with 19 additions and 16 deletions
|
@ -1,20 +1,20 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://b4a8aif3iigdw"]
|
||||
|
||||
[ext_resource type="Script" path="res://objects/boney.gd" id="1_bofrm"]
|
||||
[ext_resource type="PackedScene" uid="uid://46kyrtlb6b0a" path="res://assets/models/enemies/boney.glb" id="2_ssgky"]
|
||||
[ext_resource type="AudioStream" uid="uid://cgotekctoej7m" path="res://assets/sounds/enemies/skull_death.ogg" id="3_a4a2f"]
|
||||
[ext_resource type="Script" path="res://objects/skull.gd" id="1_ledhy"]
|
||||
[ext_resource type="PackedScene" uid="uid://46kyrtlb6b0a" path="res://assets/models/enemies/boney.glb" id="2_lwsb0"]
|
||||
[ext_resource type="AudioStream" uid="uid://cgotekctoej7m" path="res://assets/sounds/enemies/skull_death.ogg" id="3_6ybas"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ictao"]
|
||||
height = 0.5
|
||||
radius = 0.4
|
||||
height = 1.0
|
||||
radius = 0.8
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_cdksx"]
|
||||
height = 0.5
|
||||
radius = 0.475
|
||||
height = 1.0
|
||||
radius = 0.95
|
||||
|
||||
[node name="Boney" type="CharacterBody3D" node_paths=PackedStringArray("model", "death_sound")]
|
||||
script = ExtResource("1_bofrm")
|
||||
speed = 2.0
|
||||
script = ExtResource("1_ledhy")
|
||||
speed = 6.25
|
||||
rotation_speed = 3.14159
|
||||
death_delay = 0.2
|
||||
sound_pitch_min = 0.8
|
||||
|
@ -22,11 +22,11 @@ sound_pitch_max = 1.5
|
|||
model = NodePath("Model")
|
||||
death_sound = NodePath("DeathSound")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("2_ssgky")]
|
||||
transform = Transform3D(0.368124, 0, 0.929775, 0, 1, 0, -0.929775, 0, 0.368124, 0, 0.75, 0)
|
||||
[node name="Model" parent="." instance=ExtResource("2_lwsb0")]
|
||||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 1.5, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
shape = SubResource("CylinderShape3D_ictao")
|
||||
|
||||
[node name="PlayerDetector" type="Area3D" parent="."]
|
||||
|
@ -35,11 +35,11 @@ collision_mask = 16
|
|||
monitorable = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerDetector"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
shape = SubResource("CylinderShape3D_cdksx")
|
||||
|
||||
[node name="DeathSound" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = ExtResource("3_a4a2f")
|
||||
stream = ExtResource("3_6ybas")
|
||||
bus = &"Sounds"
|
||||
|
||||
[connection signal="body_entered" from="PlayerDetector" to="." method="_on_player_detector_body_entered" flags=6]
|
Loading…
Add table
Add a link
Reference in a new issue