Problem description:
Hello~
Recently I've been teaching myself a bit regarding the GUI side of things, and I noticed something. Depending on the size of the window, the icons of the map are stretched and skewed to fit in place. This really degrades the quality of the icons being used, mostly pixelating them to hell, among warping them.
Now, I went in the interface and found that this can be disabled via a nifty little checkbox, which is nice. I turned it off, and found that The size of the map is exactly how it's defined to be. In my case, its 17x13, a widescreen setup.
However, this leaves awkward black space if it doesn't fit just right.
What are some tips for sizing things correctly? I was thinking to set the default main window resolution in increments of 32, since that is the default icon size. I was also thinking about covering that blackspace with screen objects (huds).
I'm interested in seeing what some good solutions for setting the sizes are, however, so I dont just want to settle for these ideas just yet.
Any further ideas?
![]() Jul 21 2012, 4:26 pm
|
|
To set the size you have to use view. This means people with bigger resolutions will see more. I personally just stick with a set size if I am that worried about it.
|
Well you could get the screen resolution(if full screen) or the map-size and set the view based on that. Kind of easy to do. Like albro said you have to use the view variable
|
I have done that already, (set view)
view = "17x13"
Here is the result of making the icons not stretch though; http://i.imgur.com/XF8EP.png So instead of messing with the resolution, I set the view to "19x15", and it almost fit perfectly. I resized the splitter a little, and here was the result; http://i.imgur.com/pjx8G.png Looks much better imo. (Although most of the GUI is ugly, don't mind it) My main concern is this though.. Maximing this looks ugly. Is there anyway to put some kind of graphic where the map shows all that black space? If a background image existed in it's place, it may look a lot better. |