0skarian
(0skarian)
December 7, 2019, 11:21am
5
You can resolve issues like this by learning more about Scale & Offset. Here’s a small tutorial that might give you a better understanding of this:
[Return]
Hello developers,
I am TheCarbyneUniverse and I really enjoy UI designing. So, today I am going to share my quick and easy techniques of positioning an sizing UIs with the community! Please keep in mind that this tutorial is mostly for beginners to UI, so the concepts covered in this are relatively basic.
1. Use Scale Instead of Offset
For those of you who do not know, there are two types of information needed when sizing and positioning UIs: scale and offset. The latter sizes/posi…
Keep in mind that some scaling issues cannot be fixed only with Scale & Offset. In some cases you’ll need to implement device specific code. You can learn more about indentifying devices in this thread:
The problem
Players use a variety of input types, including keyboard & mouse, gamepads, and touch. Sometimes we need to change how our game looks so that it matches up with what input the player is providing. For example, we want to show keyboard controls for players using a keyboard, and we want to show gamepad controls for players using a gamepad.
The particular input type a player is providing does not always correspond with the expected device that they are playing on. For example, a PC pl…
1 Like