widget component screen mode, Draw Size

dev_jun2
Thu, 21 Dec 2023 05:47:34 +0000
UI

When the space mode of the widget component is set to screen, I want it to dynamically adjust the size on all mobile devices. I am creating Sudoku. The size of each grid square is 100x100 and it’s a sprite. The widget is a text displaying numbers. If I set the draw size to 80, 80, it looks okay on a PC, but it appears small on a Samsung Note20. It seemed fine when I tested changing the “game viewport setting” value in the editor.

I also tried dividing the viewport scale value, but it did not work as I wanted. On some devices, the widget appears too large, and on others, it’s too small. I want to know how to set it correctly for a 100x100 size.

1 post - 1 participant