SFML community forums
Bindings - other languages => DotNet => Topic started by: First on October 09, 2013, 08:04:33 pm
-
How to use the camera to adjust distancing back and forth? Using a class View (Zoom)
-
What in the official tutorial (http://www.sfml-dev.org/tutorials/2.1/graphics-view.php) doesn't make sense?
-
I've seen. I just do not understand how the camera that would move forward.
-
All I get it. Sorry for the carelessness. By the way, as well as a flip or sprite?
-
By the way, as well as a flip or sprite?
Not sure exactly what you mean, but to make the view upside down just rotate it 180o. As for how to flip a sprite? Just give it a negative scale.
-
Sorry, I am abroad, I know bad English. I need to reflect the sprite on the contrary, like a mirror.
sprite.Rotation = -180
No
-
I'm sure your english is good enough to type "sfml flip sprite" in any search engine and read at least the first result (http://en.sfml-dev.org/forums/index.php?topic=7572.0).
Use a negative scale. Or set the texture rect to (left, top + height, width, -height) (horizontal mirroring) or (left+width, top, -width, height) (vertical mirroring)