1
Graphics / Re: Change texture image for a sprite during runtime
« on: May 05, 2013, 01:21:11 pm »You'll have to adjust the texture rect of the sprite. This can be done, either up on setting the texture (spr.setTexture(tex, true);) or by using the setTextureRect function of the the sprite.
Besides, you should in most cases preload the texture, so you don't waste valuable time, loading an image over and over again from the disk.
Now it works, thanks a lot!!