How to define supported screen resolutions for an android game in unity?

2k views Asked by At

I have a pixel art game that looks good at the reference resolution 480x800 pixels (use of pixel perfect camera) and any resolution bigger than that it will look ok with some blurring (i don't know if it's a problem or that how it works while scaled up) but for any resolution lower than that the pixels will look disorted , is there an option to prevent players with lower resolution mobile from downloading this game from google play ?

2

There are 2 answers

1
krobelusmeetsyndra On

I know there is how, but I don't think this is the correct approach. Come to think of it: you are deliberately excluding a portion of your audience from playing for simply not having a target resolution.

This is not how it's supposed to go. Limitations should be about hardware (and even so, there are some workarounds). I'd advise your to create different arts for each resolution you will provide support for, and then disclosing the fact that the art might be off in not supported resolutions somewhere in the game or the app page.

3
Remy On

Instead of locking out users from playing your game I think a better approach would be to look at some other options first.

You can set a reference resolution on the canvas in which your sprites reside, and set "UI scale mode" to "Constant pixel size" instead of "Scale with screen size" this way your sprites will always be in the resolution you want them to be, instead of getting stretched/compressed.

Create multiple quality levels: By having your images in multiple resolutions you can choose which quality option should be used for which quality setting.

If you still insist on excluding devices from downloading you game that is also an option. Google play store allows for you to exclude devices from downloading your application. You can do this under the "Release management > Device catalog." tab on your google console. For a more thorough explenation on this see the official documentation