Overlay does not work with GUI scale

Published by cap174 on Sun, 02/17/2019 - 09:24
Works as designed
Not applicable
Issue description

Hello - I have a problem with MCreator - I created a custom overlay, that is only displayed in hot biomes, but for some reason, it does not work with GUI scale set to normal. If you could try to fix this in the next update it would be greatly appreciated. Thanks!

Attachment Size
Screenshot (9716).png87.27 KB 87.27 KB
Screenshot (9717).png613.55 KB 613.55 KB

Issue comments

I will check what could be done. Would you mind attaching the workspace with this overlay so I can use it for testing? Thanks!

Sorry dude - the file is 50 MB so I'll have to upload it somewhere else.

You can just make another workspace just with overlay, but you can upload it somewhere else too.

I have checked and did some scaling tests. The issue is that in fullscreen, the aspect ratio changes. The image is scaled indeed.

To fix your issue, I would make a bit larger texture and place it in the center as you did. The larger texture will then cover cases where a smaller size is not enough.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.