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

Author Topic: Can you help me with sprite sheets?  (Read 2002 times)

0 Members and 1 Guest are viewing this topic.

Sirt

  • Newbie
  • *
  • Posts: 27
    • View Profile
Can you help me with sprite sheets?
« on: July 01, 2009, 04:30:54 pm »
What are the sfml routines for taking images from a sprite sheet,
I'm sure it's something to do with the rect routine,
but I'm not sure and it doesn't specifically say anywhere.

Never used sprite sheets before,always single images for the sprites.

Please help!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Can you help me with sprite sheets?
« Reply #1 on: July 01, 2009, 04:38:47 pm »
There are animation classes on the wiki, that use sprite sheets. You can take a look at them.
Laurent Gomila - SFML developer

Sirt

  • Newbie
  • *
  • Posts: 27
    • View Profile
Can you help me with sprite sheets?
« Reply #2 on: July 01, 2009, 04:46:22 pm »
Okay great,thanks Laurent.