1
Graphics / First Background image, then Foreground image
« on: November 12, 2009, 03:19:32 pm »
Hi there thanks for your answers :>
Mhh when it's not possible with sfml 1.5 (where to get 2.0 btw?) I think i should try that.
Ok then i need to think about it. I though I make a whol map image and when moving out of frame just setting the map's position to -X and -Y ( even though i wanted to draw stuff like dead people, blood, dirt etc.. This stuff would dissapear when moving out of screen and back. when i redraw all visible tiles every frame).
Quote
Why don't you just render the stuff that's visible on the screen? There's no need to always draw the whole map.
Mhh when it's not possible with sfml 1.5 (where to get 2.0 btw?) I think i should try that.
Ok then i need to think about it. I though I make a whol map image and when moving out of frame just setting the map's position to -X and -Y ( even though i wanted to draw stuff like dead people, blood, dirt etc.. This stuff would dissapear when moving out of screen and back. when i redraw all visible tiles every frame).