码迷,mamicode.com
首页 >  
搜索关键字:cocos    ( 1072个结果
Cocos2d-x 3.0的安装方法
一、安装Python2.7二、双击运行cocos2d-x-3.0根目录下的setup.py三、在命令行中进入到下面的路径下,输入cocos.py new -l cppcocos2d-x-3.0\tools\cocos2d-console\bin四、进入上面路径下新生成的MyCppGame目录,选择相...
分类:其他好文   时间:2014-05-08 00:54:53    阅读次数:436
cocos2d-x3.0 XML解析
在2dx3.0中xml解析已经不用自己找库了,已经为我们集成好了。 text.xml 2012050808 crystal T74 T74 2012050809 goodmao T77 添加头文件:.h #include "cocos-ext.h" #include "tinyxml...
分类:其他好文   时间:2014-05-05 13:13:56    阅读次数:229
程序中使用cocostudio移植到android手机需要的若干配置过程
首先在解决方案下添加现有项: libCocosStudio.vcxproj E$uVS5Sbv!  WL:0n"BExtensions.vcxproj libGUI.vcxproj    然后在工程里面引用这些库: 勾选上面的三个库;   选中工程属性: 在C/C++的常规项的附加包含目录中添加(根目录): $(EngineRoot)cocos\editor-suppor...
分类:移动开发   时间:2014-05-03 17:27:03    阅读次数:479
cocos2d-x3.0 ListView
.h #include "cocos2d.h" #include "cocos-ext.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" USING_NS_CC; USING_NS_CC_EXT; using namespace ui; void selectedItemEvent(Ref *pSender, ...
分类:其他好文   时间:2014-05-03 00:18:30    阅读次数:442
Cocosd-x-3.0 创建(路径问题)
刚接触Cocos2dx不久,还停留在初学2.2的状态下,好似突然之间,3.0横空出世,技术的更新,是自身这种缓慢脚步无法追及的。默默哀悼了下,于是,重新折腾了一番,开始3.0之程。 首先是创建新工程 比起2.2 创建的方式,3.0不一样了,命令行变得更简洁了,也不用cd到project_creator目录下,直接cocos new 就可以了 下面是命令: cocos new hel...
分类:其他好文   时间:2014-05-03 00:09:50    阅读次数:429
cocos2d-x3.0 Slider
.h #include "cocos2d.h" #include "cocos-ext.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" USING_NS_CC; USING_NS_CC_EXT; using namespace ui; RichText* _richText; Text...
分类:其他好文   时间:2014-05-02 22:25:51    阅读次数:459
cocos2d-x3.0 RenderTexture(二)
.h #include "cocos-ext.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" USING_NS_CC; USING_NS_CC_EXT; using namespace ui; .cpp auto background = LayerColor::create(Color4B(200,200...
分类:其他好文   时间:2014-05-02 21:27:20    阅读次数:367
Cocos2d-x3.0 RenderTexture(一) 保存
.h #include "cocos2d.h" #include "cocos-ext.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" USING_NS_CC; USING_NS_CC_EXT; using namespace ui; RenderTexture* _target; Vector _...
分类:其他好文   时间:2014-05-02 20:33:15    阅读次数:370
Cocos2d-x3.0 RenderTexture(三)
.h #include "cocos2d.h" #include "cocos-ext.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" USING_NS_CC; USING_NS_CC_EXT; using namespace ui; private: cocos2d::SpriteBatchNode *...
分类:其他好文   时间:2014-05-02 04:59:30    阅读次数:332
cocos2d-x3.0 ScrollView
.h #include "cocos2d.h" #include "cocos-ext.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" USING_NS_CC; USING_NS_CC_EXT; using namespace ui; .cpp layout = Layout::crea...
分类:其他好文   时间:2014-04-30 22:33:39    阅读次数:382
1072条   上一页 1 ... 105 106 107 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!