cocos
ywl102402
这个作者很懒,什么都没留下…
展开
-
cocos2dx uiButton 的几种常用方式
Button *btnResumeMusic = Button::createWithText("resume"); btnResumeMusic->onTriggered([]() { SimpleAudioEngine::getInstance()->resumeBackgroundMusic(); }); // Create the原创 2014-05-26 16:46:15 · 1552 阅读 · 0 评论 -
LayerMultiplex 大坑
multi = LayerMultiplex::createWithArray(layers);原创 2014-05-28 11:02:06 · 588 阅读 · 0 评论 -
ui::UIScrollivew 的大坑
int width =510; // bgLayer->getContentSize().width; auto scrollLayer = ui::ScrollView::create(); scrollLayer->setSize(Size(width,400)); int height; int lineHeight=100; height=scrollLayer->getC原创 2014-06-22 20:43:59 · 440 阅读 · 0 评论 -
bug14052601
AppDelegate.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall cocos2d::ui::Margin::Margin(void)" (??0Margin@ui@cocos2d@@QAE@XZ),该符号在函数 "void __cdecl cocos2d::ui::`dynamic initializer for 'MarginZero'原创 2014-05-26 20:58:05 · 724 阅读 · 0 评论