Home Game Development Frame of animation not loading – C++

Frame of animation not loading – C++

0
Frame of animation not loading – C++

[ad_1]

When the code is as follows, the ‘zjxqydk.plist’ body animation can’t be loaded usually.

	SpriteFrameCache::getInstance()->addSpriteFramesWithFile("zjxhydk/zjxhydk.plist");
	SpriteFrameCache::getInstance()->addSpriteFramesWithFile("zjxhydm/zjxhydm.plist");
	SpriteFrameCache::getInstance()->addSpriteFramesWithFile("zjxqydk/zjxqydk.plist");

When the modified code is as follows, the ‘zjxhydk.plist‘ body animation can’t be loaded usually.

	SpriteFrameCache::getInstance()->addSpriteFramesWithFile("zjxhydm/zjxhydm.plist");
	SpriteFrameCache::getInstance()->addSpriteFramesWithFile("zjxqydk/zjxqydk.plist");
	SpriteFrameCache::getInstance()->addSpriteFramesWithFile("zjxhydk/zjxhydk.plist");

Why is the final body of animation not loading?

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here