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

Author Topic: missing methods in 2.0/2.1?  (Read 3833 times)

0 Members and 1 Guest are viewing this topic.

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
missing methods in 2.0/2.1?
« on: August 26, 2013, 04:14:05 pm »
Hello!

I'm using SFML 2.0.
I've found a small sfml example (1.6), but there are some missing methods/properties, whene I try to compile the source.

Can someone help me, where I can find those things in 2.0:
sprite.TransformToGlobal(new Vector2f(10,10));
sprite.TransformToLocal(new Vector2f(10,10));
sprite.SubRect

Many thanks.

cheers,
Mad

best regards
best regards,

Mad

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: missing methods in 2.0/2.1?
« Reply #1 on: August 26, 2013, 04:19:05 pm »
Please read the documentation. It's not as if the Sprite class had millions of member functions to browse :P
Laurent Gomila - SFML developer

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: missing methods in 2.0/2.1?
« Reply #2 on: August 26, 2013, 04:46:02 pm »
Please read the documentation. It's not as if the Sprite class had millions of member functions to browse :P

you are right  ::) but a changelog might be helpful. I havn't found one....

best regards,

Mad

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: missing methods in 2.0/2.1?
« Reply #3 on: August 26, 2013, 04:57:38 pm »
My bad. There were sooooo many changes in SFML 2.0 that I gave up writing a changelog. But it wouldn't have been so useful, because as I said, everything changed; it was not just additions and renamings.
Laurent Gomila - SFML developer

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: missing methods in 2.0/2.1?
« Reply #4 on: August 26, 2013, 06:52:02 pm »
My bad. There were sooooo many changes in SFML 2.0 that I gave up writing a changelog. But it wouldn't have been so useful, because as I said, everything changed; it was not just additions and renamings.

no problem at all.  ;D
In the meantime I've found the solution for my problem  8)

Keep up your excellent work on SFML !!!! :)
best regards,

Mad