This commit is contained in:
Victor Turgeon
2022-10-12 10:13:46 -04:00
13 changed files with 242 additions and 65 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=2]
[gd_scene load_steps=18 format=2]
[ext_resource path="res://Scripts/HitBox.gd" type="Script" id=1]
[ext_resource path="res://Scenes/Enemy.gd" type="Script" id=2]
@@ -6,6 +6,8 @@
[ext_resource path="res://Materials/Ball_Mat.tres" type="Material" id=4]
[ext_resource path="res://Materials/Black_Contour.tres" type="Material" id=5]
[ext_resource path="res://Audio/boom.wav" type="AudioStream" id=7]
[ext_resource path="res://Audio/80-s-clap.wav" type="AudioStream" id=8]
[ext_resource path="res://Audio/MegaSlap.wav" type="AudioStream" id=9]
[sub_resource type="SphereMesh" id=16]
@@ -56,6 +58,25 @@ script = ExtResource( 3 )
[node name="HeadCollision" type="CollisionShape" parent="Hurtbox"]
shape = SubResource( 7 )
[node name="AudioSlap" type="AudioStreamPlayer3D" parent="Hurtbox"]
transform = Transform( 0.491077, 0, 0, 0, 0.491077, 0, 0, 0, 0.491077, 0, 0, 0 )
stream = ExtResource( 8 )
attenuation_model = 2
unit_db = 80.0
max_db = 6.0
bus = "SFX"
[node name="AudioMegaSlap" type="AudioStreamPlayer3D" parent="Hurtbox"]
transform = Transform( 0.491077, 0, 0, 0, 0.491077, 0, 0, 0, 0.491077, 0, 0, 0 )
stream = ExtResource( 9 )
attenuation_model = 2
unit_db = 60.0
max_db = 4.0
pitch_scale = 2.0
bus = "SFX"
emission_angle_enabled = true
doppler_tracking = 2
[node name="EnemyCollision" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, -0.094023, 0 )
shape = SubResource( 8 )