SFML community forums

Help => Graphics => Topic started by: supperpiccle on January 02, 2013, 07:05:32 pm

Title: Problems with setscalex
Post by: supperpiccle on January 02, 2013, 07:05:32 pm
I am having problems with setscalex function in sfml 1.6 when i use it it is saying the position looks like it is a little bit from the actual sprite itself idk what im doing wrong?
Title: Re: Problems with setscalex
Post by: Laurent on January 02, 2013, 07:23:30 pm
It's a known bug. There's nothing you can do, except to offset the position to compensate.
Title: Re: Problems with setscalex
Post by: supperpiccle on January 02, 2013, 08:03:11 pm
Might there be a fix anytime soon?
Title: Re: Problems with setscalex
Post by: masskiller on January 02, 2013, 08:09:35 pm
Nope, given it's 1.6 you're talking about, use 2.0 and you should have no problems.
Title: Re: Problems with setscalex
Post by: supperpiccle on January 02, 2013, 08:10:20 pm
i have got a lot of code written and ill have to port it....would it be real hard?
Title: Re: Problems with setscalex
Post by: G. on January 02, 2013, 09:05:04 pm
Not hard, but it can be tedious.
Title: Re: Problems with setscalex
Post by: masskiller on January 02, 2013, 11:59:34 pm
The most notable API change other than additions for low level graphics handling are changes in the naming convention, using always a non-capital letter for every function name, and some small changes in the sf::Clock/Time class and the need for textures and not images to use for your sprites.

The overall API is better so it's worth it, but will most likely be a pain nonetheless.
Title: Re: Problems with setscalex
Post by: Nexus on January 03, 2013, 12:03:07 am
Here (http://en.sfml-dev.org/forums/index.php?topic=5343) is a list I have written some time ago, but it is not up-to-date.

Should I update it with the most important (especially bug-introducing) API changes?
Title: Re: Problems with setscalex
Post by: supperpiccle on January 03, 2013, 12:53:12 am
i hate bugs.....but better to have bugs than no program at all i guess....Thanks for all the hard work gamilla