Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何在 cocos2d 中包含 iPhone 5 的视网膜图像。我已经有来自 iPad 版游戏的大图像。我怎么做 ?不幸的是,互联网上没有太多信息,所以我想我会在这里问。我还没有可用的 iPhone 版本的游戏。
这是 cocos2d 内置的。使用 xxx.png 作为标准分辨率图像,然后提供 xxx-hd.png 图像,cocos2d 将在 Retina 设备(包括 iPhone 5)上使用该高分辨率版本。
iPad 的文件后缀是 -ipad 和 -ipadhd 用于 Retina iPad。