Jump to content

Scaled Resolution


diegofkda

Recommended Posts

Posted

Hi!

Im sick and tired of difference in resolucions :x

I reviewed a community speedo, and it was scaled

So my suggestion is scale all GUI (mta things like Server browser, settings, and Resources).

Posted

But then you can't read things because the text is too small, and the GUI widgets will look bad if they're scaled up or down.

Posted
But then you can't read things because the text is too small, and the GUI widgets will look bad if they're scaled up or down.

No, cuz i scaled GUI and Images and they looks good.

And... Why GTA SA Original can scale Text and all without problems? hmm....

Posted

Because it uses DirectX Drawing and some mathemathical operations on whole DirectX Drawing (position, size, and text scale) like this one for a red, transparent rectangle:

local width,lenght = guiGetScreenSize () 
dxDrawRectangle((622/800)*width, (137/600)*lenght, (137/800)*width, (39/600)*lenght ,tocolor(200,0,0,200),false) 

I would explain why does it work, but I won't because I'm lazy right now -.- but I will explain it if you ask me, of course xD

Posted

TheKid: What?

How would you propose we deal with different aspect ratios? Just stretch them? Look at the user interface of Windows on your computer - how does that work if you change resolution?

Posted
And... Why GTA SA Original can scale Text and all without problems? hmm....

IIRC the menus are stretched, and text drawn ingame is done via SCM opcodes which do scale properly with resolution changes (not aspect ratio though, IIRC).

Posted
TheKid: What?

How would you propose we deal with different aspect ratios? Just stretch them? Look at the user interface of Windows on your computer - how does that work if you change resolution?

Have you tried to do what I made in that code I gave to this post? It works perfectly scaled -.-

PS: "The Kid" for you, not TheKid :P

Posted
TheKid: What?

How would you propose we deal with different aspect ratios? Just stretch them? Look at the user interface of Windows on your computer - how does that work if you change resolution?

Have you tried to do what I made in that code I gave to this post? It works perfectly scaled -.-

PS: "The Kid" for you, not TheKid :P

You cannot use the same calculation for 4:3 and 16:9 resolution. It may seem ok with your resolution, but it'll be definitely stretched up on 16:9 resolution.

Posted

My screen resolution is "1280 x 800" and ingame I use "800 x 600" with widescreen mode.

Well ok. This suggestion would help a lot while changing between 4:3 and 16:9 :P

  • Recently Browsing   0 members

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