上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 43 下一页
摘要: ``` print 'dongshen' for word in ['capitalize','these','words']: print word.upper() for i in range(0,5): print i ``` 阅读全文
posted @ 2016-01-02 21:27 yufenghou 阅读(112) 评论(0) 推荐(0)
摘要: ``` // // TestMenu.hpp // mario // // Created by sun on 15/12/22. // // #ifndef TestMenu_hpp #define TestMenu_hpp #include #include "cocos2d.h" USING_NS_CC; using namespace std; class TestMenu :... 阅读全文
posted @ 2015-12-22 22:32 yufenghou 阅读(175) 评论(0) 推荐(0)
摘要: ``` #ifndef __HELLOWORLD_SCENE_H__ #define __HELLOWORLD_SCENE_H__ #include "cocos2d.h" class HelloWorld : public cocos2d::CCLayer { public: virtual bool init(); static cocos2d::CCScene* sce... 阅读全文
posted @ 2015-12-22 22:19 yufenghou 阅读(119) 评论(0) 推荐(0)
摘要: ``` #ifndef __HELLOWORLD_SCENE_H__ #define __HELLOWORLD_SCENE_H__ #include "cocos2d.h" USING_NS_CC; class HelloWorld : public cocos2d::CCLayer { public: virtual bool init(); static cocos2d::... 阅读全文
posted @ 2015-12-22 20:39 yufenghou 阅读(147) 评论(0) 推荐(0)
摘要: ``` // // Single.hpp // dev // // Created by sun on 15/12/20. // // #ifndef Single_hpp #define Single_hpp #include #include "cocos2d.h" #include "HelloWorldScene.h" USING_NS_CC; class Single : p... 阅读全文
posted @ 2015-12-22 20:38 yufenghou 阅读(150) 评论(0) 推荐(0)
摘要: alayer blayer testlayer 阅读全文
posted @ 2015-12-03 21:08 yufenghou 阅读(148) 评论(0) 推荐(0)
摘要: 由于预编译文件重复,导致下面的类没有被编译,所以,在写代码的时候也没有提示还报错,说LoadingScene没有定义。 阅读全文
posted @ 2015-11-29 17:17 yufenghou 阅读(196) 评论(0) 推荐(0)
摘要: 当点击的时候,如果不是按照开始点击计算的,那么持续点击会导致不会变大。 阅读全文
posted @ 2015-11-28 15:29 yufenghou 阅读(167) 评论(0) 推荐(0)
摘要: 我再a类当中生命了一个dict,将它带入到b类当中,但没有在b类初始化时retain,于是在update当中找不到了。啃爹不。记得retain() 阅读全文
posted @ 2015-11-28 11:34 yufenghou 阅读(140) 评论(0) 推荐(0)
摘要: 以上正确 以下错误。 阅读全文
posted @ 2015-11-26 22:39 yufenghou 阅读(222) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 43 下一页