#How to draw a texture on custom screen properly
5 messages · Page 1 of 1 (latest)
You can use codeblocks in discord as shown below:
```java
code
```
You can also specify the syntax highlighting to use by specifying the language after the last backtick (`) on the top.
you mean like this? idk does the idea can help u, because im not code in project to verify it correctly
actually x2-x1 meaning the image's width, so W/2-[width/2] to define where is the x1
I meant that if screen size is 1920x1080, the image scaled all the way to 1080 by height, and then width stretched in accordance with the proportions of height, but the problem is not in this, but in the fact that the setting of the size of the Gui in Minecraft breaks the location of my texture