Bug with Loopsound
Blitz3D Forums/Blitz3D Bug Reports/Bug with Loopsound
When you create a Listener attached to a camera in a 3D world you can play 3D sounds by the commands :
Load3DSound
EmitSound
You can play normal sounds with the commands:
LoadSound
Playsound
Ok ?
Imagine you use Loopsound before Playsound
the sound will be played like a 3D one ! Strange isn't it ?
(Excuse me for my bad explainations, I'm French !)
It appears that Playmusic does the same thing !
The sound come from the point 0,0,0 of the 3D world !
yes, it is. :(
I'm using Load3DSound and EmitSound(sound,listener) instead of PlaySound.
I have a strange feeling that this is an ooooooooooooooooooooooooooooooooold bug that never got fixed...
But I need it to be resolve for my FPS game !
Now, I' m using playsound and a loop checking if the sound is finished, or not, instead of using loopsound.
...Or parent an emitter for the sound attached to the camera ;)
I also have this problem with a few effects im doing.
I fixed it though by parenting a pivot to the camera and emitsound from that instead of playsound :)
Ok I will try !
I reported the PlayMusic 3D bug 1 or 2 years ago.
Oups ! So I think it's good to put it on the news !
(if this sentence exist in english)
FredMe...
You might find
these very useful ;)
Thanks a lot !