Thread: GUI scaling
View Single Post
  #5  
Old 12-25-2009, 08:01 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by WhiteDragon View Post
Yeah. The only other way to do it factor screenwidth and screenheight into all your calculations and just make everything a percentage.

I suppose it would be possible to make a function that generates the proper width and height (from say widthp and heightp) when you pass a GUI object, and also sets handlers for when the screenheight/screenwidth is changed.
That'd be a general pain-in-the-you-know-what though. I just wish Stefan could add proper GUI scaling like pretty much any other game have.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote