sound effects when shooting
What is the source code for when you tap on the screen to shoot. A shooting sound effect plays? Thanx
Look up AVAudioPlayer. It makes it pretty easy to play music and wavs.
Ive used AVAudio Player many times but when ever I run my game on the simulator i always get the error saying that AvAudioPlayer was not found could you help me please.
I use in a puzzle game audio system sounds for short sound effects.. very easy to use and sufficient
System Sound Services (AudioToolbox.framework) is a collection of C functions and it can be used to play short sounds of 30 seconds or less
for music I would use AVAudioplayer (but there are some issues with compressed files, don't try to play 2 files at the same time)
regards
maybe you should include the AV foundation framework and/or the AudioToolbox framework
System Sound Services (AudioToolbox.framework) is a collection of C functions and it can be used to play short sounds of 30 seconds or less
for music I would use AVAudioplayer (but there are some issues with compressed files, don't try to play 2 files at the same time)
regards
Quote:AvAudioPlayer was not found could you help me please.
maybe you should include the AV foundation framework and/or the AudioToolbox framework

