摘要:
string file("res/Button.png"); auto btn = cocos2d::ui::Button::create(file, file, file); btn->setColor(Color3B(24, 48, 64)); btn->setPosition(display 阅读全文
摘要:
#ifndef __MUSICLAYER_H__ #define __MUSICLAYER_H__ #include "cocos2d.h" using namespace std; using namespace cocos2d; class MusicLayer:public LayerColo 阅读全文