• Advertisement

Archived

This topic is now archived and is closed to further replies.

A request of all game programmers

This topic is 5495 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If your game uses sound, please make it so if init''ing sound fails, your program doesn''t crash, or display "ERROR!" and exit. Just MsgBox or printf("Couldn''t Initialize Sound! Error: blah blah" ) and keep running. I''ve found several demo''s from fellow GameDev''ers have this issue. The reasoning for this: a. Not everyone has a sound card. Ok, I know 99.9% of people do. But I was stuck without one for a week, and I noticed most of my "indie" games, many of which have little to no sound, would not run at all. They just crashed out cause the could not init the audio. b. MP3s! I''m a music addict, and it''s annoying to have to stop my music in order to play a game with little or no sound. (I''ve seen games that have NO sound, but require the audio device anyway !) I know some people will say I''m "changing the game" by not playing the sound, but I''ve found most games make little use of the sound. If your game does more than play some MIDI''s and BUWEEEP when you shoot, I''ll gladdly stop my music to play it. Thanks for reading. Travis Wells

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by TravisWells
Ok, I know 99.9% of people do. But I was stuck without one for a week, and I noticed most of my "indie" games, many of which have little to no sound, would not run at all. They just crashed out cause the could not init the audio.
Good suggestion. Thanks.




500

Share this post


Link to post
Share on other sites
I couldn''t agree more (well, I probably could, but I still agree a lot). And I know i suffered from the not-being-able-to-play-mp3-and-have-sound-in-games-at-the-same-time (although, it mostly wasn''t mp3s, but that isn''t the point) once upon a time. Then I changed the output plugin in winamp from waveOut to DirectSound, and nowdays it works quite fine. Just a thought.

Share this post


Link to post
Share on other sites
quote:
Original post by TravisWells
b. MP3s! I''m a music addict, and it''s annoying to have to stop my music in order to play a game with little or no sound. (I''ve seen games that have NO sound, but require the audio device anyway !)

I know some people will say I''m "changing the game" by not playing the sound, but I''ve found most games make little use of the sound.
If your game does more than play some MIDI''s and BUWEEEP when you shoot, I''ll gladdly stop my music to play it.


now i just have to wonder which games you found that wont work when you play mp3s. only know that from stone old soundcards/drivers and so far no piece of software kept me from playing mp3s in the background.

Share this post


Link to post
Share on other sites
>If your game uses sound, please make it so if init'ing sound >fails, your program doesn't crash,


Actually, i found my game did exactly this when fux0rd my sound drivers by swapping sound cards around in my machine. Otherwise i probably wouldnt have noticed, and fixed it. It now reports that sound will be disabled, and continues.


[edited by - gibber on February 8, 2003 5:13:00 PM]

Share this post


Link to post
Share on other sites
I''m currently programming an adventure game that is very dependent on sound. The game is practically centered around what the characters say. However, I plan on implimenting a text system that can be turned on/off and if the sound initialization fails will be used.

In any case there is very little excuse to have a game exit if the sound cannot be initialized.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Get a halfway decent operating system and you''ll no longer have the mp3/game sound sharing issue.

Share this post


Link to post
Share on other sites

  • Advertisement