摘要: cocos2d-x 3.0新的Physics integration,把chipmunk和Box2D封装到引擎内部auto scene = Scene::createWithPhysics();scene->getPhysicsWorld()->setDebugDrawMask(PhysicsWorld::DEBUGDRAW_ALL);auto layer = HelloWorld::create();layer->setPhyWorld(scene->getPhysicsWorld());Cocos2d-JS v3.0var scene = cc.Scene.crea 阅读全文
posted @ 2014-04-03 17:20 凌度 阅读(322) 评论(0) 推荐(0) 编辑