- Unity Android Game Development by Example Beginner's Guide
- Thomas Finnegan
- 122字
- 2021-07-21 18:01:23
Dynamic positioning
You are probably thinking that it is all well and good that the game is all styled now, but everything is still sitting in the top-left corner of the screen. Well then, you are in luck. That is exactly the topic of this section. It is not enough to simply adjust the numbers in our Rects
until our GUI is centered. While working with the Android platform and other mobile devices, we have to be prepared for a large variety of possibilities. Not every device that our games will be played on will have the same screen size. So, you may position your GUI to be centered on your tablet, but it will be far off screen on a phone.
推薦閱讀
- Instant Apache Stanbol
- Full-Stack React Projects
- Access 2016數(shù)據(jù)庫管
- Learning OpenStack Networking(Neutron)(Second Edition)
- Learning PHP 7
- Python從入門到精通
- Hands-On Nuxt.js Web Development
- Java EE企業(yè)級(jí)應(yīng)用開發(fā)教程(Spring+Spring MVC+MyBatis)
- Django 3.0入門與實(shí)踐
- 代碼閱讀
- Python 快速入門(第3版)
- Get Your Hands Dirty on Clean Architecture
- C#程序開發(fā)參考手冊(cè)
- 新手學(xué)ASP.NET 3.5網(wǎng)絡(luò)開發(fā)
- Learning PrimeFaces Extensions Development