SFML community forums

Help => Graphics => Topic started by: pridefight on January 09, 2012, 11:08:32 am

Title: how the hell do i flip a sprite with the new API
Post by: pridefight on January 09, 2012, 11:08:32 am
i've done a game, but because of the 1.6 bug of the graphics card, i upgraded my api to 2.0, than i found i cant use the FlipX() method any more due to the changes of the API,  and then i saw someone said use scale() with a negative parameter, i tried, it worked, but has a weird effect that the sprite position no longer  means the left top corner points, any body help me with the problem?
Title: how the hell do i flip a sprite with the new API
Post by: Laurent on January 09, 2012, 11:45:55 am
Have you read this thread?
http://www.sfml-dev.org/forum/viewtopic.php?t=6676
Title: how the hell do i flip a sprite with the new API
Post by: pridefight on January 09, 2012, 12:18:58 pm
I have, i just need a better solution
Title: how the hell do i flip a sprite with the new API
Post by: Laurent on January 09, 2012, 01:12:17 pm
Why "better"? What's bad with the provided solutions?