Audio3D
This commit is contained in:
parent
16372098e4
commit
2add3e5349
BIN
Audio/youspinmeround.wav
Executable file
BIN
Audio/youspinmeround.wav
Executable file
Binary file not shown.
23
Audio/youspinmeround.wav.import
Normal file
23
Audio/youspinmeround.wav.import
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamSample"
|
||||||
|
path="res://.import/youspinmeround.wav-47f12562f8fd57a7d9a71fe0c8b5723f.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Audio/youspinmeround.wav"
|
||||||
|
dest_files=[ "res://.import/youspinmeround.wav-47f12562f8fd57a7d9a71fe0c8b5723f.sample" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
@ -88,8 +88,10 @@ func _physics_process(delta):
|
|||||||
|
|
||||||
if isSlap:
|
if isSlap:
|
||||||
if slap >= slapkill:
|
if slap >= slapkill:
|
||||||
|
AudioMegaSlap.translate(global_transform.origin)
|
||||||
AudioMegaSlap.play()
|
AudioMegaSlap.play()
|
||||||
else:
|
else:
|
||||||
|
AudioSlap.translate(global_transform.origin)
|
||||||
AudioSlap.play()
|
AudioSlap.play()
|
||||||
|
|
||||||
if (chargeSlap):
|
if (chargeSlap):
|
||||||
|
@ -49,6 +49,10 @@ cast_to = Vector3( 0, -1.5, 0 )
|
|||||||
|
|
||||||
[node name="AudioSlap" type="AudioStreamPlayer3D" parent="."]
|
[node name="AudioSlap" type="AudioStreamPlayer3D" parent="."]
|
||||||
stream = ExtResource( 5 )
|
stream = ExtResource( 5 )
|
||||||
|
bus = "SFX"
|
||||||
|
|
||||||
[node name="AudioMegaSlap" type="AudioStreamPlayer3D" parent="."]
|
[node name="AudioMegaSlap" type="AudioStreamPlayer3D" parent="."]
|
||||||
stream = ExtResource( 6 )
|
stream = ExtResource( 6 )
|
||||||
|
bus = "SFX"
|
||||||
|
emission_angle_enabled = true
|
||||||
|
doppler_tracking = 2
|
||||||
|
15
default_bus_layout.tres
Normal file
15
default_bus_layout.tres
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[gd_resource type="AudioBusLayout" format=2]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
bus/1/name = "SFX"
|
||||||
|
bus/1/solo = false
|
||||||
|
bus/1/mute = false
|
||||||
|
bus/1/bypass_fx = false
|
||||||
|
bus/1/volume_db = 0.0
|
||||||
|
bus/1/send = "Master"
|
||||||
|
bus/2/name = "Music"
|
||||||
|
bus/2/solo = false
|
||||||
|
bus/2/mute = false
|
||||||
|
bus/2/bypass_fx = false
|
||||||
|
bus/2/volume_db = 0.0
|
||||||
|
bus/2/send = "Master"
|
Loading…
Reference in New Issue
Block a user