有没有人能够让 xcode 6 中的模拟器使用 atlas 中的 3x 图像?每当我将它们加载到 SKTextureAtlas 中时,它都会使用 2x 图像。
如果我将 test@2x.png 和 test@3x.png 放入图集中,我的 iphone 6/plus 模拟器将始终使用 2x 图像。
let texture = shipAtlas.textureNamed("ship") // always uses 2x image
最佳答案
显然您需要设置启动图像(在项目设置中)以便 xcode 正确识别不同的屏幕尺寸
关于ios - SKTextureAtlas 和 3x 图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25940788/