Question

cocos2d adds suffixes to resources by the similar way as "@2x" works for usual iOS apps. I also want to place these pictures into a spritesheet.

The problem is a default cocos2d spritesheet is represented as one png and one plist file with sprite frames.

So how to force the cocos2d engine to apply these suffixes to plist files when it is necessary?

Was it helpful?

Solution

cocos2d suports suffixes for plist files. But if you have "example-hd.plist" then you should use usual frame names inside it (without "-hd" suffix)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top