Hello,
I am currently working on a new game where I would like to make a map, which is not tiled. It is going to be a side scroller with platforms. For a example, something like this :
http://www.gamerjargon.net/wp-content/uploads/2012/10/newsupermariobrosu_600x334.pngAnyways, my design at this moment is:
- I have seperate layers, background, first layer, second etc.
- I draw all these layers to a sf::RenderTexture, since the map is static anyways.
- Every time the player moves, I use sf::View to make sure the right part of the RenderTexture is shown
Besides that, if a monster walks or something else non static happen, I draw this after the RenderTexture to my window.
Now I wonder about this design, since I read some things about that aRenderTexture can't be to big? Maybe some of my maps are going to be 3000x3000, would this be a problem? And if so, how could I solve it?
Gr