新人求助,用的是3.3的版本
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(“shoot_background.plist”);//这个没问题
background1 = Sprite::createWithSpriteFrame(SpriteFrameCache::getInstance()->spriteFrameByName(“background.png”));//background1在头文件里已经定义了,但是调试的时候出断点,我试过在工程里把background.png加到resource文件夹里,就没有问题了,但是现在的版本不是不需要这样操作么,而且我的上一个shoot_background.plist为什么会没有问题,想不明白