4
Resolution-Independent UI
When working on mobile devices, one of the things that you’ll need to spend a fair bit of time on is the user interface (UI). Unlike when developing projects for a PC, where you only need to care about a single resolution or aspect ratio, there are many different devices out there with different resolutions and aspect ratios when building for mobile. For instance, we have phones that can fit in one of our pockets, and also tablets, which are huge. Not only that but mobile games can also be played horizontally or vertically. Some new phones even allow you to fold them to either increase or decrease the screen size dynamically.
A graphical user interface (GUI) is the way that players interact with games. You’ve actually ...
Get Unity 2022 Mobile Game Development - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.