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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - felixzero

Pages: [1]
1
Graphics / Best way to resize a sprite in SFML2
« on: February 06, 2012, 12:03:42 am »
Hi,

In SFML 1.x, it was possible to resize a sprite with the method Resize(). It's a very convenient way of drawing textured lines, for example.
However, in the new API, there is no such function: GetLocalBounds() seems to give it, but there is no setter for the size!
I suppose there is another way of doing it, but how?

Pages: [1]
anything