Tag Info

New answers tagged

1

Adding to what Erez said, you can make any game without using a Viewport and just scaling your textures to a fraction of the screen size, but most of the time using a Viewport is a better option because it scales everything for you. Although you can use any measurement for the game width and height, I like to choose a target resolution for my game ...


1

I would read this and this for some helpful tips. The short answer is no, but Unity has some very convenient and efficient tools to handle scaling images. So ideally you should choose the highest resolution you wish to support, and let the engine scale it from there. I'm not 100% on this, but I think I read somewhere that when you build the project for ...


0

You can make a script at the start of your game to get the Screen.Width, and Screen.Height, and then set your camera's scale to the same scale the user is having. You can never assume anything, maybe most mobile phones have moved to 1280x720, or 1280x800, but what about tablets? They're android devices as well, and they should be able to run your games ...



Top 50 recent answers are included