16
Graphics / [SFML 2.0] How to render tiles to texture?
« on: May 19, 2012, 01:31:31 am »
So I am trying to create a simple terrain for my game right now and know through reading many different posts and articles that having a single sprite for each tile is the wrong way to go about it. I know I need to have a single sprite, which I set the image for, position, and then draw to a texture which is then drawn every game loop. But how do you actually do that third step? Drawing the tile to the texture? I am still getting used to SFML 2.0, so if you could point me to the correct documentation I would be very appreciative.