Click here to Skip to main content
15,893,337 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
am coding a game for mobile its a car racing and smashing game so i need a background sound and when i shoot the sound of the shoot gun plays without cutting the background audio, am using a wav format to embed .... need answers asap plz :)
Posted
Updated 8-May-15 9:24am
v2

You need to research more ... e.g.

Fun with Sound[^]

Playing sounds in VB.net[^]

VBForums article[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 8-May-15 15:27pm    
5ed, but I think just one link would do, in most cases — please see Solution 2.
—SA
CHill60 8-May-15 20:08pm    
Yes, you're right
Sergey Alexandrovich Kryukov 8-May-15 23:24pm    
:-)
First of all, consider using the class System.Media.SoundPlayer:
https://msdn.microsoft.com/en-us/library/system.media.soundplayer%28v=vs.110%29.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900