I am playing sound file using SoundEngineManager & here is my code:
[[SoundEngineManager sharedManager] playSound:@"GameLoop.wav"];
How I can loop this sound? Which flag I have set?
A fast, easy to use, free, and community supported 2D game engine
I am playing sound file using SoundEngineManager & here is my code:
[[SoundEngineManager sharedManager] playSound:@"GameLoop.wav"];
How I can loop this sound? Which flag I have set?
What's that class SoundEngineManager? Is it included in Cocos2D? I tried to look for it to see if I could help but came empty handed.
If you want to play a background sound in a loop you should look into the fantastic Denshion sound engine shipped with the latest Cocos2d builds. I don't have the code/examples with me know but it is very simple if you study the examples given. Look for SimpleAudioEngine - playBackgroundMusic
@pravin, I think you should also read this post on where to start with Cocos:
http://www.cocos2d-iphone.org/forum/topic/3
welcome!
I am using cocos-2d 0.8 beta version.
How to play two-three sounds in background using SoundEngineManager?
You must log in to post.