SA-MP Forums Archive
Why do these textdraws look different on different resolutions? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Why do these textdraws look different on different resolutions? (/showthread.php?tid=585254)



Why do these textdraws look different on different resolutions? - HBG - 12.08.2015

fixed


Re: Why do these textdraws look different on different resolutions? - SickAttack - 12.08.2015

Do not use floating point numbers to make textdraws resolution-friendly. That's the least you can do. If the design just doesn't work out, consider re-making it.


Re: Why do these textdraws look different on different resolutions? - HBG - 12.08.2015

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Do not use floating point numbers to make textdraws resolution-friendly. That's the least you can do. If the design just doesn't work out, consider re-making it.
And what about for values that are less then 0?


Re: Why do these textdraws look different on different resolutions? - SickAttack - 12.08.2015

Quote:
Originally Posted by HBG
Посмотреть сообщение
And what about for values that are less then 0?
As long as they are not decimals.


Re: Why do these textdraws look different on different resolutions? - HBG - 12.08.2015

I really don't think that is the problem, did you look at the screenshots? One of the textdraws simply isn't showing up.


Re: Why do these textdraws look different on different resolutions? - SickAttack - 12.08.2015

Quote:
Originally Posted by HBG
Посмотреть сообщение
I really don't think that is the problem, did you look at the screenshots? One of the textdraws simply isn't showing up.
This is still a decimal.
Quote:

TextDrawLetterSize(hudTextdraw1, 0.000000, -0.4);

It it is the same, then there isn't much you can do about it.

It isn't like the end of the world either, most people use the second resolution on their settings.


Re: Why do these textdraws look different on different resolutions? - HBG - 12.08.2015

So in other words, it is impossible to make a thin textdraw box that will show up on all resolutions?


Re: Why do these textdraws look different on different resolutions? - Stanford - 12.08.2015

Keep changing resolutions in your settings while making your textdraws - this might be helpful!


Re: Why do these textdraws look different on different resolutions? - HBG - 12.08.2015

Quote:
Originally Posted by Stanford
Посмотреть сообщение
Keep changing resolutions in your settings while making your textdraws - this might be helpful!
Good idea, I set my resolution to 1080p while making the textdraw and its working fine on other resolutions now.