Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by xikky · Jan 25, 2013 at 06:19 PM · textureresolutionqualityaspect ratio

How to publish a game for different resolutions/aspect ratio?

I would like to ask if someone can explain to a beginner in game development; the recommanded techniques to publish a game for different types of resolutions/aspect ratio. My main concern is publishing a game for various mobile devices, including both Android and iOS.

Up until now, I always was in doubt on which aspect ratio to select when starting developing a game. 16:10 and 16:9 seem the safe choice. (for landscape)

As I am learning my way through the different tool packages that I bought from Unity Asset Store, such as the 2D Toolkit and NGUI, they both mention a method to create different atlases of same textures but different quality.

They also provide good scaling tools for both textures and fonts and so I'm guessing that a 2D game would scale accordingly to the screen resolution.

So here I ask;

Why do you have to create different atlases of same textures when these can be scaled?

Which 'types' of texture qualities are needed to publish a game for most resolutions? ... in other words; how many atlases should I create and of which texture qualities?

When and how do you choose to use one atlas from another? Do you choose to use an atlas by hard coding it? or you have to choose manually the atlas before you play the game? Further more ... which are the suggested texture qualities for which mobile devices?

What about fonts?

What about SD and HD?

Does this mean, that in case of Android publishing, one needs more than one apk to provide the game for various screen types?

.....

I am sorry for the list questions asking here, but I wish to have a good understanding on this as a whole subject. If you can point me to any references that can answer some of my questions is enough as well.

Thank you.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image xikky · Jan 26, 2013 at 07:59 AM 0
Share

anyone who can help pls?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by FatWednesday · Jan 26, 2013 at 03:01 PM

Well Im sure I wont be covering all of the points to be made here regarding resolutions, but I'll share some of the experiences I've had.

iOS aspect ratio will typically be 4:3 as used on most iPhones and iPads. The iPhone 5 however does break this by using 16:9. As for android, I dont have any hands on experience developing for them, but from what i can tell looking at the range of android phones, you're likely to be looking at a whole bunch of different resolutions and possibly aspects as well.

As for texture scaling, in the past, most mobile devices could probably have gotten away with just one set of texture sizes, as although the positioning may have changed (good point to note, with resolution/aspect changes, sometimes its better to just reposition screen elements instead of resizing them which will bring in noticeable artefacts), However now with larger displays on tablets and particularly Retina screens, you may want to use larger assets for better quality (note also i mean create assets larger, don't just scale the smaller ones).

Texture qualities for devices though cant be answered in a blanket statement, if you have a large project with lots going on visually, the framerate hit might require you to lower the size, quality, filter settings etc accordingly, but for smaller, far less intensive projects or demonstrations, you can often crank the settings right up without noticing any real performance hit, So this is often going to depend on your project, an what framerates you're getting with it.

One other thing that might be worth mentioning on the resolution/performance topic, is that on iOS in unity 3.5 there was no way to fix the render size on retina displays (not without using render targets in pro I mean) which can mean a game running at 30 on a iPad2 would only run at 16 on an iPad3. Now I think that in Unity4 this has been addressed and you have a render size option in the player settings, but I'm not certain about that.

Hope that some of this information might have been useful to you.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image xikky · Jan 26, 2013 at 03:10 PM 0
Share

Thank you FatWednesday for your answer. With replies like yours, beginners like me can start understanding this tedious subject.

I am now moving this question to Unity forums as it occurs to me that is more of a discussion question, hoping to find more opinions and experiences.

avatar image xikky · Jan 26, 2013 at 03:17 PM 0
Share

forum link

avatar image FatWednesday · Jan 26, 2013 at 03:41 PM 0
Share

You're very welcome. Forum is probably a good idea, like you said it's a good discussion question, and I'm just one guy with limited experience, so i look forward to watching the forums post to see what others might have to say.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Change quality of all textures of the same type 0 Answers

Force Certain Textures To Full Quality masterTextureLimit 1 Answer

Defining mipmap size minimum? 0 Answers

GUI Texture Control Problem !!!!! 1 Answer

Problems with camera and screen resolutions 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges