老报说没有*JSON文件,读取失败
CCNode* gameScene = CCSSceneReader::sharedSceneReader()->createNodeWithSceneFile(“DemoCowboy.json”);
addChild(gameScene);
这个是头文件
#include “HelloWorldScene.h”
#include “cocos-ext.h”
#include “CocosGUI.h”
//#include “cocostudio/CocoStudio.h”
USING_NS_CC;
USING_NS_CC_EXT;
我把资源放在了Rsources同一个目录下