强势学习,新手要领悟要锻炼出这些思考能力还得一段时间啊。
— Begin quote from ____
karlzheng 发表于 2012-9-3 14:38 url
求教一下!
我用的是COCOS2D-X 2.0 + VS2008
不知道怎样导入项目?
— End quote
?目用的是 VC2010, 2008似乎是?法?入.
错误 1 error C2664: “cocos2d::CCSpriteBatchNode::create”: 不能将参数 1 从“cocos2d::CCTexture2D *”转换为“const char *” e:cocos2dmad_girl_tclasseshelloworldscene.cpp 46 1 Mad_Girl_T.win32
2 IntelliSense: “cocos2d::CCTexture2D *” 类型的实参与 “const char *” 类型的形参不兼容 e:cocos2dmad_girl_tclasseshelloworldscene.cpp 46 62 Mad_Girl_T.win32
接楼上
CCTexture2D* texture = CCTextureCache::sharedTextureCache()->textureForKey(“images.png”);
CCSpriteBatchNode *spriteBatch = CCSpriteBatchNode::create(texture);
说texture作为参数的类型不对