播放背景音乐/音效 播放背景音乐/音效 通过下面的方式,播放一个音频文件作为背景音乐或者音效,可以控制音乐是否循环播放。 #include "AudioEngine.h" using namespace cocos2d :: experimental ; // set the background music and co...
How to call Objective-C functions using JavaScript on iOS/Mac Objective-C Classes Objective-C Methods Usage Executing JavaScript in Objective-C Type Support How to call Ob...