SFML community forums

Help => Graphics => Topic started by: OniLinkPlus on July 22, 2009, 06:34:13 am

Title: sf::Sprite instances don't auto-resize
Post by: OniLinkPlus on July 22, 2009, 06:34:13 am
I KNOW this has been posted before, but could someone explain WHY sf::Sprite Instances don't auto-resize themselves to the size of the Image that they are set to with SetImage? It's annoying to do it manually with every Sprite/Image whenever I reload an image. I'm using SFML 1.4 because Ubuntu 9.04's Repos haven't been updated with SFML 1.5.
Title: sf::Sprite instances don't auto-resize
Post by: Laurent on July 22, 2009, 07:51:12 am
Quote
I KNOW this has been posted before

So you know the answer. Everything you have to know is already on this forum.
Title: sf::Sprite instances don't auto-resize
Post by: OniLinkPlus on July 22, 2009, 08:32:43 am
Quote from: "Laurent"
Quote
I KNOW this has been posted before

So you know the answer. Everything you have to know is already on this forum.
I meant I know that this same problem has been posted before. That thread has no explanation as to WHY sf::Sprite doesn't have an auto-resizing feature yet. I checked the changelogs of SFML 1.5 and that doesn't appea rto have the feature added yet either.
Title: sf::Sprite instances don't auto-resize
Post by: Laurent on July 22, 2009, 08:45:52 am
The beginning of this discussion gives relevant informations:
http://www.sfml-dev.org/forum/viewtopic.php?t=821
Title: sf::Sprite instances don't auto-resize
Post by: OniLinkPlus on July 22, 2009, 07:17:54 pm
Quote from: "Laurent"
The beginning of this discussion gives relevant informations:
http://www.sfml-dev.org/forum/viewtopic.php?t=821
Alright, thanks! Sorry for disturbing you! Keep up the great work!