xcode 有什么尺寸的背景图片?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34456945/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What size has a background image to have?
提问by Zé Moreira
I'm developing a game in Swift (but not sprite kit), and i'm having a lot of trouble to make a background image that look great in every device. I recently understand the concept of the @1x, @2x and @3x images and it's pixels, but i can't find any place that say what size (width and height) an background image must have to look good both in canvas mode, preview mode and in action.
我正在 Swift 中开发一个游戏(但不是精灵套件),我在制作一个在每个设备上看起来都很棒的背景图像时遇到了很多麻烦。我最近了解了 @1x、@2x 和 @3x 图像的概念,它是像素,但我找不到任何说明背景图像必须在画布模式下看起来都很好的地方,预览模式和行动。
Anyone can help me?
任何人都可以帮助我吗?
For help, i'm attaching two print screens of a test that i made.
为了寻求帮助,我附上了我所做的测试的两个打印屏幕。
Thanks for the help :)
谢谢您的帮助 :)