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