上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 39 下一页
摘要: 效果: .h文件: #ifndef __HELLOWORLD_SCENE_H__#define __HELLOWORLD_SCENE_H__#include "UIEditBox.h"#include "cocos2d.h"class HelloWorld : public... 阅读全文
posted @ 2015-10-25 22:42 Anzhongliu 阅读(134) 评论(0) 推荐(0) 编辑
摘要: .h文件: #ifndef __HELLOWORLD_SCENE_H__#define __HELLOWORLD_SCENE_H__#include "cocos2d.h"#include "ui/UIScrollView.h"class HelloWorld : public cocos2d:... 阅读全文
posted @ 2015-10-25 03:16 Anzhongliu 阅读(193) 评论(0) 推荐(0) 编辑
摘要: .h文件: #ifndef __HELLOWORLD_SCENE_H__#define __HELLOWORLD_SCENE_H__#include "cocos2d.h"//#include "uiscene.h"#include "UIPageView.h"#include "UIText.... 阅读全文
posted @ 2015-10-24 02:55 Anzhongliu 阅读(122) 评论(0) 推荐(0) 编辑
摘要: .h文件: #ifndef __HELLOWORLD_SCENE_H__#define __HELLOWORLD_SCENE_H__#include "cocos2d.h"class HelloWorld : public cocos2d::Layer{public: // there's... 阅读全文
posted @ 2015-10-23 23:08 Anzhongliu 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-10-23 21:15 Anzhongliu 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 查文档 cmd中: 阅读全文
posted @ 2015-10-21 00:50 Anzhongliu 阅读(248) 评论(0) 推荐(0) 编辑
摘要: .h文件的内容如下: #ifndef __HELLOWORLD_SCENE_H__#define __HELLOWORLD_SCENE_H__#include "cocos2d.h"class HelloWorld : public cocos2d::Layer{public: // th... 阅读全文
posted @ 2015-10-20 22:38 Anzhongliu 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 首先打开这个文件,查看里面的内容: 然后在cmd里执行: 最后创建成功: 感谢师兄的帮助! 阅读全文
posted @ 2015-10-20 22:28 Anzhongliu 阅读(353) 评论(0) 推荐(0) 编辑
摘要: bg->setPosition(Vec2(visibleSize.width / 2, visibleSize.height / 2)); this->addChild(bg);若在这儿出现错误,一定是资源路径,命名,大小等不符合要求! 阅读全文
posted @ 2015-10-20 00:41 Anzhongliu 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 在本机上能运行成功,转移到其他电脑上时总是缺少插件。 阅读全文
posted @ 2015-10-18 13:24 Anzhongliu 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 39 下一页