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

Author Topic: Imposible to rotate a sprite group?  (Read 2023 times)

0 Members and 1 Guest are viewing this topic.

NinjaFighter

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://www.sebagames.wordpress.com
Imposible to rotate a sprite group?
« on: April 01, 2011, 09:47:58 am »
I can't figure how to rotate a sprite group without having to rotate every one... there's a way to change the matrix before drawing?
I try to changing the view values, but, doesn't work, becuase there's no way to change rotation. (I only can move, or zoom, but not rotate)
What can I do?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Imposible to rotate a sprite group?
« Reply #1 on: April 01, 2011, 10:22:06 am »
You can rotate views in SFML 2.
Laurent Gomila - SFML developer

NinjaFighter

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://www.sebagames.wordpress.com
Imposible to rotate a sprite group?
« Reply #2 on: April 01, 2011, 06:05:30 pm »
Great! I download the sfml 2 source, and was a success! Thanks a lot!  :)

 

anything