Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Problems with setscalex  (Read 2920 times)

0 Members and 1 Guest are viewing this topic.

supperpiccle

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Problems with setscalex
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Problems with setscalex
« Reply #1 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.
Laurent Gomila - SFML developer

supperpiccle

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Re: Problems with setscalex
« Reply #2 on: January 02, 2013, 08:03:11 pm »
Might there be a fix anytime soon?

masskiller

  • Sr. Member
  • ****
  • Posts: 284
  • Pointers to Functions rock!
    • MSN Messenger - kyogre_jb@hotmail.com
    • View Profile
    • Email
Re: Problems with setscalex
« Reply #3 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.
Programmer, Artist, Composer and Storyline/Script Writer of "Origin of Magic". If all goes well this could turn into a commercial project!

Finally back into the programming world!

supperpiccle

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Re: Problems with setscalex
« Reply #4 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?

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Problems with setscalex
« Reply #5 on: January 02, 2013, 09:05:04 pm »
Not hard, but it can be tedious.

masskiller

  • Sr. Member
  • ****
  • Posts: 284
  • Pointers to Functions rock!
    • MSN Messenger - kyogre_jb@hotmail.com
    • View Profile
    • Email
Re: Problems with setscalex
« Reply #6 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.
Programmer, Artist, Composer and Storyline/Script Writer of "Origin of Magic". If all goes well this could turn into a commercial project!

Finally back into the programming world!

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Problems with setscalex
« Reply #7 on: January 03, 2013, 12:03:07 am »
Here 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?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

supperpiccle

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Re: Problems with setscalex
« Reply #8 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

 

anything