Вопрос

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?

Это было полезно?

Решение

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)

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top