Skip to main content
GameDev.net gamedev.net
🔒 Locked

sounds

Started by mfdemi Dec 18, 2002 at 2:20 PM 2 replies 500+ views
Original Post
mfdemi
mfdemi
I use the PlaySound function for sound FX in my games.But when two sounds happen to coincide the second one interrupts the first one.I dont want this to happen.I want to have both sounds at the same time.
Greven
Greven
First of all, that''s not a question. It''s a statement. But I''ll assume the question is "How can I play two sounds at once?"

PlaySound will work when you are just starting out, but after that you will need to look into a sound library. You can use DirectSound if you want, otherwise there are sound libraries out there for download. FMOD, BASS, or some full game/graphics libraries will have them. I have really enjoyed using BASS in the past, and a lot of people use FMOD. Just make sure and read the license agreement if you are wanting to sell your game.




Always remember, you''''re unique. Just like everyone else.

Greven
Always remember, you''re unique. Just like everyone else.Greven
mfdemi
mfdemi
quote:
Original post by Greven
First of all, that''s not a question. It''s a statement. But I''ll assume the question is "How can I play two sounds at once?"


That''s very clever

quote:

PlaySound will work when you are just starting out, but after that you will need to look into a sound library. You can use DirectSound if you want, otherwise there are sound libraries out there for download. FMOD, BASS, or some full game/graphics libraries will have them. I have really enjoyed using BASS in the past, and a lot of people use FMOD. Just make sure and read the license agreement if you are wanting to sell your game.





Always remember, you''re unique. Just like everyone else.

Greven


thanx

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.