Alright, I finally got around to adding some sound to the game, and the zipfiles you guys posted are full of good sounds, but that doesn't really help me. I don't need the sounds themselves, which can be changed any time, so much as a sound
design. Where should sounds go? What UI interactions should play sounds?
After we have defined the set of actions that provoke sounds, we can change the sounds used.
Remember when I wrote this?
Please don't just give me a big file with a lot of samples. I'm just a programmer. I need you to give me sounds and say "this one is for button clicks", "this one is for windows opening and closing", or whatever.
After that, I got two giant files full of sounds, with little indication what to do with them. So instead, how about this: give me a list of all UI actions that you want to have make a sound. Ignore for the moment which sounds should be played for each action.
I'll start. Here are the places I currently play sounds in the UI code I've modified:
1) Button Click - includes clicks on regular buttons, check boxes, radio buttons
2) Button Rollover - includes moving the mouse over regular buttons
only
3) Item Select - selecting/deselecting an item in a drop-down list or listbox
4) Item Drop - dropping a drag-and-drop item into a listbox
5) Alert - when a warning or error message box pops up
That's it. The rest of the game is as silent as the dead. What else should make noise?
Again, please don't indicate particular sound files yet. Once I have all the sound-producing code changes in place, I'll make a build that you guys can use, in which you can easily change the sound files used. That way, you can play around with various sounds until you find the set of sounds files you like for all the actions we come up with. I forsee multiple sets of these sounds being distributed, sort of like Windows/KDE themes.
Zach
EDIT: I forgot Button Rollover