Hi guys
I am now ready to implement management of sound in my little game framework. But I realize I am not sure how the blitz system work, and I havenot worked with sounds on computers since a looong time ago.
Here is what I plan doing for managing sounds, please tell me if it is the correct way to do it:
What I think I'm going to do is create an array of sound channels (something like20) with each channel being specialized in one type of sound.
For example, 2 channels for music playback, 2 for interface sounds, 2 for player sounds, 5 for enemy generated sounds,etc..
Is this the correct way to do it?
I realize that I don't really understand how sound channels work.
Can you just fire a sound (creating a channel) and then just forget that channel, and use new ones for every played sounds? Or is it better to reuse sound channels for following sound?
Is there a limit in the number of channels you can create simultaneously (or not)?
I would appreciate any help in that matter.
I am now ready to implement management of sound in my little game framework. But I realize I am not sure how the blitz system work, and I havenot worked with sounds on computers since a looong time ago.
Here is what I plan doing for managing sounds, please tell me if it is the correct way to do it:
What I think I'm going to do is create an array of sound channels (something like20) with each channel being specialized in one type of sound.
For example, 2 channels for music playback, 2 for interface sounds, 2 for player sounds, 5 for enemy generated sounds,etc..
Is this the correct way to do it?
I realize that I don't really understand how sound channels work.
Can you just fire a sound (creating a channel) and then just forget that channel, and use new ones for every played sounds? Or is it better to reuse sound channels for following sound?
Is there a limit in the number of channels you can create simultaneously (or not)?
I would appreciate any help in that matter.