Jump to content

dxDrawText scaling on different resolutions


Reezmi

Recommended Posts

How can i keep text on the same size on diferent resolutions?

I tried this but it doesnt work

dxDrawText ( "" .. weaponclip .. "/" .. weaponammo,  screenX*0.107, screenY*0.169, screenX*0.977, screenY*0.987, tocolor ( 255, 255, 255, 255 ), 1.50, "arial", "right" ) 

On smaller res: http://i.imgur.com/xRczjJh.png?1

Higher res: http://i.imgur.com/LTgDv1G.jpg?1

do not use "*". read this; viewtopic.php?f=91&t=41865&p=423999#p423999

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...