GameCenter 成就图像的大小是多少?
因此,我想将 GameCenter 成就合并到我的游戏中,但我必须为每个成就提供图像以在 GameCenter 应用程序中显示。苹果并不清楚所需的尺寸。我在网上读到他们要求 512 像素的图像,但随后他们将图像缩小到 32 像素,这使得图像变得模糊和/或像素化。
一定有更好的方法。我现在已经看到一些应用程序具有清晰的成就图像。他们是如何做到这一点的?谢谢。
So I want to incorporate GameCenter achievements in my game, but I have to supply images for each achievement for display in the GameCenter app. Apple isn't really clear about the required size. I've read online that they demand 512px images, but then they scale them down to something like 32px which makes it all blurry and/or pixelated.
There must be a better method. I've seen several apps now with crisp, clear achievement images. How do they do this? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
好吧,看来我们没有太多选择。 Apple 不接受小于 512 像素的图像。所以我们只需要创建 512px,希望 Apple 能够很好地调整它们的大小。
Well it seems we don't have much choice. Apple doesn't accept images smaller than 512px. So we just have to create 512px en hope Apple will resize them well.
此时,尺寸必须为 1024x1024 或 512x512 像素、RGB 颜色空间且至少为 72 dpi。
http://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Achievements/Achievements.html#//apple_ref/doc/uid/TP40008304-CH7-SW15
我认为此时您不想输入 1024x1024 以外的任何内容。
At this point of time the sizes must be 1024x1024 or 512x512 pixels, RGB color space, and at least 72 dpi.
http://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Achievements/Achievements.html#//apple_ref/doc/uid/TP40008304-CH7-SW15
I don't think you want to put anything else than 1024x1024 at this time.
是的,您可以以 512 X 512 的尺寸提交它们,就像应用程序图标一样。
Yes, you submit them at 512 X 512, just like the app icons.
显然,当我在我的设备中测试 Game CEnter Achievement 图标时,图标大小似乎比 512 像素大一点。我上传了 512 像素,但最终在游戏中心成就视图中出现了一点空白。我想,550px 或更大是安全的尺寸。
Apparently as I tested the Game CEnter Achievement icons in my DEVICE, it seems the icon size is a bit BIGGER THAN 512px. I uploaded a 512px, but end up with a little bit white space all around inside the gamecenter achievement view. I suppose, 550px or bigger is the safe size to do.