scale up boney

This commit is contained in:
Haze Weathers 2025-02-24 14:43:03 -05:00
parent 9fb4d38e05
commit 8ab5f5de3e
3 changed files with 19 additions and 16 deletions

View file

@ -1,20 +1,20 @@
[gd_scene load_steps=6 format=3 uid="uid://b4a8aif3iigdw"] [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="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_ssgky"] [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_a4a2f"] [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"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_ictao"]
height = 0.5 height = 1.0
radius = 0.4 radius = 0.8
[sub_resource type="CylinderShape3D" id="CylinderShape3D_cdksx"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_cdksx"]
height = 0.5 height = 1.0
radius = 0.475 radius = 0.95
[node name="Boney" type="CharacterBody3D" node_paths=PackedStringArray("model", "death_sound")] [node name="Boney" type="CharacterBody3D" node_paths=PackedStringArray("model", "death_sound")]
script = ExtResource("1_bofrm") script = ExtResource("1_ledhy")
speed = 2.0 speed = 6.25
rotation_speed = 3.14159 rotation_speed = 3.14159
death_delay = 0.2 death_delay = 0.2
sound_pitch_min = 0.8 sound_pitch_min = 0.8
@ -22,11 +22,11 @@ sound_pitch_max = 1.5
model = NodePath("Model") model = NodePath("Model")
death_sound = NodePath("DeathSound") death_sound = NodePath("DeathSound")
[node name="Model" parent="." instance=ExtResource("2_ssgky")] [node name="Model" parent="." instance=ExtResource("2_lwsb0")]
transform = Transform3D(0.368124, 0, 0.929775, 0, 1, 0, -0.929775, 0, 0.368124, 0, 0.75, 0) transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 1.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] [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") shape = SubResource("CylinderShape3D_ictao")
[node name="PlayerDetector" type="Area3D" parent="."] [node name="PlayerDetector" type="Area3D" parent="."]
@ -35,11 +35,11 @@ collision_mask = 16
monitorable = false monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerDetector"] [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") shape = SubResource("CylinderShape3D_cdksx")
[node name="DeathSound" type="AudioStreamPlayer3D" parent="."] [node name="DeathSound" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("3_a4a2f") stream = ExtResource("3_6ybas")
bus = &"Sounds" bus = &"Sounds"
[connection signal="body_entered" from="PlayerDetector" to="." method="_on_player_detector_body_entered" flags=6] [connection signal="body_entered" from="PlayerDetector" to="." method="_on_player_detector_body_entered" flags=6]

View file

@ -5,7 +5,7 @@
[ext_resource type="MeshLibrary" uid="uid://bqxgr3arh0i7f" path="res://assets/mesh_libraries/w1/w1_walls.meshlib" id="3_k3r2h"] [ext_resource type="MeshLibrary" uid="uid://bqxgr3arh0i7f" path="res://assets/mesh_libraries/w1/w1_walls.meshlib" id="3_k3r2h"]
[ext_resource type="PackedScene" uid="uid://cdpgby3r6xe4n" path="res://objects/goal_post.tscn" id="4_71ems"] [ext_resource type="PackedScene" uid="uid://cdpgby3r6xe4n" path="res://objects/goal_post.tscn" id="4_71ems"]
[ext_resource type="PackedScene" uid="uid://bfic5n608nc5j" path="res://objects/sand_pit.tscn" id="5_7n16u"] [ext_resource type="PackedScene" uid="uid://bfic5n608nc5j" path="res://objects/sand_pit.tscn" id="5_7n16u"]
[ext_resource type="PackedScene" uid="uid://b4a8aif3iigdw" path="res://objects/boney.tscn" id="6_gpbt0"] [ext_resource type="PackedScene" uid="uid://b4a8aif3iigdw" path="res://objects/skull.tscn" id="6_gpbt0"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_akirf"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_akirf"]
sky_top_color = Color(0.270389, 0.858166, 0.929253, 1) sky_top_color = Color(0.270389, 0.858166, 0.929253, 1)
@ -60,7 +60,7 @@ metadata/_editor_floor_ = Vector3(0, 0, 0)
environment = SubResource("Environment_0oogp") environment = SubResource("Environment_0oogp")
[node name="CannyCat" parent="." instance=ExtResource("1_8qiqb")] [node name="CannyCat" parent="." instance=ExtResource("1_8qiqb")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.926551, 3.63641) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.06252, 0.926551, 3.63641)
power_line_material = SubResource("StandardMaterial3D_77yoh") power_line_material = SubResource("StandardMaterial3D_77yoh")
[node name="GoalPost" parent="." instance=ExtResource("4_71ems")] [node name="GoalPost" parent="." instance=ExtResource("4_71ems")]
@ -72,3 +72,6 @@ polygon = PackedVector2Array(0, -1, 1, -1, 3, 0, 3, 2, 2, 3, -1, 2, -2, 0)
[node name="Boney" parent="." instance=ExtResource("6_gpbt0")] [node name="Boney" parent="." instance=ExtResource("6_gpbt0")]
transform = Transform3D(0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, 1.98854, 0, 1.02292) transform = Transform3D(0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, 1.98854, 0, 1.02292)
[node name="Boney2" parent="." instance=ExtResource("6_gpbt0")]
transform = Transform3D(0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -1.34746, 0, 4.32965)