3dsound
Blitz3D Forums/Blitz3D Beginners Area/3dsound
| ||
| is there a way to pause 3d sounds? |
| ||
| PauseChannel and ResumeChannel. |
| ||
| i couldnt get emitsound working in my game when i used emitsound i couldnt get it to respond to any channel commands. so ive stuck to 2d sound, ill come back to this one and see what others say. |
| ||
| MP3 (if you using it) sometimes doing that...use ogg instead |
| ||
| so the channel commands should work for 3d sounds and 2d sound? |
| ||
| EmitSound returns a sound channel handle which you can use with all the sound channel commands, including PauseChannel and ResumeChannel. Make sure you load the 3D sound by using Load3DSound. Also make sure you have created a listener (by using CreateListener) to actually 'hear' the sound. A listener is just a 3D entity, similar to a pivot so you can parent it, position it, etc, as required. |
| ||
| I think I'm getting it now. thanks :-) |