Hello,
Someone please help me with this problem
how can i make the font appear in same ratio for different screen sizes
i made the game in pc in 480/700 screen size and used font in it, i have placed the fonts and its size according to the screen size in pc and set no change to screen size in the properties for android
when i play it in android all fonts are going out of the screen
I tried doing the scaling of font by setting it according to the ratio with the screen size and even with window size but still they are not getting fit in the screen for different sizes
it worked but partially
font is inside in horizontal border but it didnt get smaller instead it’s overflowing downwards
for example there is a back button with Back labeled on it
in pc screen the text is at the middle of the button and the size of the text is let say 20
but in android the buttons size gets a little smaller due to screen size and cause of that the text no longer appears in middle as the text’s size is still same as 20 and looks awful
Try setting “NO” to keep aspect ratio.
I never use text inside buttons or sprites.
I make the sprites in Photoshop and make them already with the text I want.
yea the pics you shared it will work in that way cause there is no text in it as you said that you made the text in photoshope so its just a png pic thats why it is good in ratio
and what you suggest well i also do it that way but what about when you want some user input then how can i manage the text of that and its size
can you share some more pics with more text
and the codes for them.
and what is your setting in the properties panel about the window size, whether it fits to height or width or no change?