Use Cocostudio to do scenes and animations, Make sure that the file directory and files are present and not visible on the screen.
About
Cocos2d:cann ' t find ccspriteframe with Elf3.png. Please check your. plist file
Cocos2d:cann ' t find ccspriteframe with Elf4.png. Please check your. plist file
Cocos2d:cann ' t find ccspriteframe with Elf2.png. Please check your. plist file
Cocos2d:cann ' t find ccspriteframe with Elf1.png. Please check your. plist file
Problem, see online have a lot of friends also met, this problem wasted a few days, finally still ask my tutor to solve, hard to solve, at that time really happy,
Gee, I believe the monkey will understand my mood at that time, not to say, solve the problem is the most important:
1. My start page looks like this:
2, click to start the game, and then into the game scene, after the game to jump back to this page, and then changed this way:
Suddenly people didn't come, what the hell is going on? Then report this error:
Online to find a variety of information, did not find a solution to the problem, and then asked the sea teacher, thank you for helping me Shen Dahai teacher Oh, he is a great God oh, estimated that many people have seen his video and blog,
Haha, give him advertising ah, hey:
Then he wrote two lines of code to solve, it really surprised me, eh, as follows:
armaturedatamanager::getinstance(), Destroyinstance();
scenereader::getinstance(), Destroyinstance();
Write in my jump scene when the current destruction, and then jump over the time to reload;
This is what I loaded
Scenenode = Scenereader ::getinstance(), Createnodewithscenefile("Scene/ui_home.json");
Home code, expression should be no problem, anyway happy is this to solve, too happy, haha
About loading cocos2dx animation problem, jump page back to not show, error found resources