j9907 Registered User |
Quote
|
2018-01-30 10:31:38 |
|
This seems to be a bug of some kind. When I put a 2D overlay on the screen (it serves as a UI) I noticed it's position will change if I run the game at a different resolution. As in, the offset changes or something.
|
erik Registered User |
Quote
|
2018-01-30 12:44:55 |
|
Positions are relative, which causes this. You can also set them to absolute if you prefer that.
|
j9907 Registered User |
Quote
|
2018-01-30 15:12:22 |
|
Nope. That doesn't seem to fix it (if you were implying that it would). I placed the overlay at the bottom left corner and then I dragged the window to the top of the screen (so it'd maximize) and it went higher than the bottom left (which is where it was before)... Quite annoying.
|
niko Moderator |
Quote
|
2018-02-01 04:39:20 |
|
Yes, you cannot have both. Either you have absolute pixel values, or relative percent values. Both have advantages and disadvantages.
|
j9907 Registered User |
Quote
|
2018-02-01 13:14:47 |
|
Ah, darn. I guess I may have to lock the resolution down so it isn't resizeable. This would be a fix for the issue. Thanks for clearing this up, you two. i appreciate it!
|