Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
clipping and blitting sprite sheets
Print
Pages: [
1
]
Author
Topic: clipping and blitting sprite sheets (Read 3095 times)
0 Members and 1 Guest are viewing this topic.
WSPSNIPER
Newbie
Posts: 28
clipping and blitting sprite sheets
«
on:
January 02, 2010, 01:10:36 am »
like in sdl or allegro when you can choose a portion of the sprite sheet and draw it to the screen, if there is a way to do this already correct me
Logged
Cierpliwy
Newbie
Posts: 23
clipping and blitting sprite sheets
«
Reply #1 on:
January 02, 2010, 01:26:23 am »
Is it so hard to read documentation? Use function sf::Sprite::SetSubRect (const IntRect & SubRect) to do what you want.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
clipping and blitting sprite sheets
anything