AlexIIL / CustomLoadingScreen

A way to customise the loading screen in minecraft forge.
GNU General Public License v3.0
17 stars 12 forks source link

Get screen width on 1.7? #62

Closed ghost closed 4 years ago

ghost commented 4 years ago

Is it possible to stretch the image to the corners in 1.7? If not, could I get the 1.7 source to look myself at it?

AlexIIL commented 4 years ago

No, due to the 1.7.10 code being much simpler than the 1.12.2 code.

https://github.com/AlexIIL/BetterLoadingScreen_1.7

AlexIIL commented 4 years ago

Actually judging by https://github.com/AlexIIL/BetterLoadingScreen_1.7/commit/7ae4f503c8833e23ce4c71abaca6bb2137c5bbbc it looks like if you use 0 for the width + height then it uses the screens width, woops.

ghost commented 4 years ago

Yep, setting both to 0 worked perfectly, thanks for the help