SFML community forums
Help => Window => Topic started by: mrjbom on January 31, 2019, 03:11:43 pm
-
Hello.
By default, the position of the object is from the top left corner of the window, I need to set this point in the middle of the bottom of the window. So that it looks like this picture.
-
You can move the origin point by moving the sf::View.
You can't change the axis direction, but you can simply negate the value before you set the position.
-
You can move the origin point by moving the sf::View.
You can't change the axis direction, but you can simply negate the value before you set the position.
Thanks you.