Overlays don't resize properly

Published by WenXin2 on Mon, 07/06/2020 - 16:29
Upvotes: 1
Issue description

I created a FreezingOverlay element, which can be activated by drinking the Potion of Freezing, but the Overlay does not scale properly to the screen.

I have tried both a 256 x 256 and a 1920 x 1080, as suggested by NorthWestTreesGaming in his video. Even resizing my Minecraft screen to a smaller size did not scale it properly.

When changing the image size, I made sure to reenter and exit the element. but it still didn't adjust correctly.

When changing the image to 1920 x 1080, I checked the code and changed the 256 x 256 to 1920 x 1080, which seems to have fixed it. So it seems that the code isn't changing to the proper image size.

Attachment Size
2020-07-06_03.32.58.png1.21 MB 1.21 MB
natureplus-1.15.2-1.8.3.zip1.62 MB 1.62 MB

Issue comments

I did this:

  1. Resized your overlay to 1920x1080
  2. Restarted MCreator
  3. Opened overlay element and saved it again
  4. Tested overlay and it worked

The problem is image caching, I will fix this in next update.

Also, I've reported additional information for the wall block in my previous post.

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.