古いコードがあります。新しい Cocos2d-x rc0 2.1.3 に移植しています。次の行でエラーが発生しています。
1. GameScene.cpp 内
CCScene *scene = CCScene::node();
GameScene *layer = GameScene::node();
2. GameScene.cpp 内
userPaddle_->runAction(CCMoveTo::actionWithDuration(0.3 * diffX / gameArea_.size.width, destPosition));
3. GameScene.cpp 内
CCPoint location = touch->locationInView(touch->view());
4. GameScene.cpp 内
if (CCRect::CCRectContainsPoint(touchArea_, location))
5. GameScene.cpp で
if (CCRect::CCRectIntersectsRect(ballRect, CC_SPRITE_RECT(paddle)))
6. Appdelegate.cpp で
pDirector->setOpenGLView(&CCEGLView::sharedOpenGLView());
7. GameScene.h で
// implement the "static node()" method manually
LAYER_NODE_FUNC(HelloWorld);