I am trying to get background music playing and looping as well as one-shot sounds every now and again, eg level up etc.
I have found many tutorials on this that are using SimpleAudioEngine, but when I import SimpleAudioEngine.h the compiler is stating "SimpleAudioEngine.h file not found"
I am using SpriteBuilder and cocos2d v3.
Does anyone know where I can get this class from?
Thanks
[[OALSimpleAudio sharedInstance] playBg:@"bakground.caf" loop:YES];
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.