The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions About Graphical User Interfaces
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#1
Photo  Questions About Graphical User Interfaces

I'm bored, so I just wanna ask and see if anyone at all knows anything about this.

Why is Amnesia's GUI slightly scaled down? I'm messing around with a fully custom GUI for a mod (I don't plan on releasing the mod, I just test things to see how much I can modify), and I've noticed that the files aren't drawn in the same size as their .tga file is. I understand this is the case with the background of the main windows because it needs to fit the size of the window itself, but things like the cursor bug me a bit.

As an example, I drew a Windows Classic cursor in the .tga file for the cursor. In-game it appeared slightly smaller in scale. It is as if it's only 95% of the actual size, but it is enough to distort the image and blur the lines.

How the .tga file looks when I open it:
[Image: jDgvgcO.png]

In-game:
[Image: lK0vVGA.png]

This same thing happens with the HPL editors. It makes the whole thing feel unstable to me. I don't know, I just really like things to be accurate and smooth. I guess it's my OCD hitting my head.

In the GUI configs you can also define a so-called active_size="-1 -1". If anyone has been messing with it, are you able to actually explain what it does? I have tried different values but I don't understand the logic behind it. The cursor's size doesn't change, but some of the GUI components have unpredicable results.

I don't expect anyone to know why this is (apart from the ones who actually developed the rendering engine), but perhaps anyone have any thoughts? Tongue

(This post was last modified: 05-19-2014, 11:03 PM by Mudbill.)
04-24-2014, 01:49 PM
Find


Messages In This Thread
Questions About Graphical User Interfaces - by Mudbill - 04-24-2014, 01:49 PM



Users browsing this thread: 1 Guest(s)