The sounds, they are working!

This commit is contained in:
MarcEricMartel
2022-10-12 09:10:44 -04:00
parent 449479791c
commit 168128f8a8
7 changed files with 65 additions and 31 deletions

View File

@@ -1,11 +1,10 @@
[gd_scene load_steps=21 format=2]
[gd_scene load_steps=20 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://BlenderStuff/Hand/protohand.obj" type="ArrayMesh" id=2]
[ext_resource path="res://Textures/kenney_prototype_textures/purple/texture_01.png" type="Texture" id=3]
[ext_resource path="res://HUD.tscn" type="PackedScene" id=4]
[ext_resource path="res://Audio/80-s-clap.wav" type="AudioStream" id=5]
[ext_resource path="res://Audio/MegaSlap.wav" type="AudioStream" id=6]
[ext_resource path="res://Audio/whoosh.wav" type="AudioStream" id=5]
[ext_resource path="res://Scripts/HitBox.gd" type="Script" id=7]
[ext_resource path="res://Audio/step2.wav" type="AudioStream" id=8]
[ext_resource path="res://Audio/step3.wav" type="AudioStream" id=9]
@@ -148,23 +147,6 @@ cast_to = Vector3( 0, -1.5, 0 )
anims/RESET = SubResource( 5 )
anims/basic_slap = SubResource( 6 )
[node name="AudioSlap" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 5 )
attenuation_model = 2
unit_db = 80.0
max_db = 6.0
bus = "SFX"
[node name="AudioMegaSlap" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 6 )
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="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 13 )
volume_db = -3.0
@@ -216,4 +198,9 @@ pitch_scale = 0.79
bus = "SFX"
doppler_tracking = 2
[node name="AudioWhoosh" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -9.613
pitch_scale = 8.0
[connection signal="timeout" from="SlapCooldown" to="." method="_on_SlapCooldown_timeout"]