cocos2dで音をだしたい。 2010/09/09

cocos2dです。音をだしたいわけです。
うーん、簡単だ。
コード

#import "SimpleAudioEngine.h"

SimpleAudioEngine *audioEngine = [SimpleAudioEngine sharedEngine];
[audioEngine playEffect:@"motorbike_start.aif"];


現在のライセンスは、
ライセンスはcocos2dと同じMITライセンス
cocosdenshion:license - cocos2d for iPhone
CocosDenshion License

CocosDenshion is released under the MIT license the same as cocos2d.

The intention is that it can be used without restriction.



参考
A-Liaison BLOG: cocos2d細かいところメモ

: