摘要: Scene* HelloWorld::createScene(){ // 'scene' is an autorelease object auto scene = Scene::createWithPhysics(); scene->getPhysicsWorld()->setD... 阅读全文
posted @ 2014-12-09 20:59 yufenghou 阅读(125) 评论(0) 推荐(0)
摘要: // on "init" you need to initialize your instancebool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !Layer::... 阅读全文
posted @ 2014-12-09 15:27 yufenghou 阅读(136) 评论(0) 推荐(0)