摘要: // on "init" you need to initialize your instancebool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !Layer::... 阅读全文
posted @ 2014-12-07 08:28 yufenghou 阅读(167) 评论(0) 推荐(0)
摘要: // on "init" you need to initialize your instancebool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !Layer::... 阅读全文
posted @ 2014-12-07 08:26 yufenghou 阅读(296) 评论(0) 推荐(0)
摘要: bool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !Layer::init() ) { return false; } Si... 阅读全文
posted @ 2014-12-07 08:21 yufenghou 阅读(207) 评论(0) 推荐(0)
摘要: helloworld.cpp#include "HelloWorldScene.h"USING_NS_CC;Scene* HelloWorld::createScene(){ // 'scene' is an autorelease object auto scene = Scene::... 阅读全文
posted @ 2014-12-07 08:19 yufenghou 阅读(235) 评论(0) 推荐(0)