Posted November 10, 20168 yr Hi!, I am making a GUI that is almost a guide for my mod but the image will be lets say 200 pixels wide but the gui always sets it to 100 can sqeezes it together here is my GUI code: http://pastebin.com/LBd1nnJ7 thanks!
November 10, 20168 yr Is there a supplied "This is the GUI image (actual file), and this is what it looks like in game" is the Image File saved as a 256X256 (or multiple of) Currently updating my Mod to 1.10.2 https://bitbucket.org/hugo_the_dwarf/riseoftristram2016/src?at=master
November 10, 20168 yr Author is the Image File saved as a 256X256 (or multiple of)Since drawTexturedModalRect is in use here it must actually be exactly 256x256. If that is not the case, drawModalRectWithCustomSizedTexture must be used. Thanks I added that and it worked I only need to mess with positions now!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.