How to change the height of Y so that the coordinate on zero is displayed below ??? what would x and y be equal to zeros from below? the x coordinate will be zero anyway, but for y it doesn’t give me rest, for some reason, it is counting from above! I need the countdown to be from below .... Please help in solving this problem! I post screenshots for clarity ... 

- On the computer, the countdown is taken from the upper left corner. Of course you can turn the Y-axis, but what's stopping you so? - pavel
- Without problems, you can invert the axis like this: y '= screenHeight - y; - Nofate ♦
- the fact is that I have already started writing code .. and adding an object to this program, it turns out to be somewhere above. Imagine that these objects do a bunch in this program? I will not calculate the Y coordinate for each object every time .. this will be a nightmare - dev3java
- @Nofate and how to turn the y-axis in this program ??? - dev3java
- one@AndreyKonstantinovich, therefore, you need to come to terms with the fact that 0.0 of the screen is at the top left and to work with it ... because only then you will continue to encounter it, and no one will let the company write such crutches ... except in unit there canvas, it seems, the countdown at the bottom left begins - Alexey Shimansky
|