Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Sound Programming in Game
I have developed a doom style 3d engine in Borland C++, and have the graphics part almost complete. I now want to add atmosphere to the game and the best way to do this is by adding sounds. I have followed many tutorials on the web and downloaded lots of examples including the ones from this site, but all the sound programms that I have written and seen don't do. They cause the game to freeze until the sound is played, the the motion continues. This is fine for tiny sounds but looks real odd when opening a door.
I was wondering if anyone had written a game and had successfully implemented sound in C++, and was willing to give me a hand.
0 · ·