SFML community forums

Help => Graphics => Topic started by: Yukilay on September 24, 2014, 05:14:04 pm

Title: Capture the whole level
Post by: Yukilay on September 24, 2014, 05:14:04 pm
Hello guys, my game is able to capture the current view (what the window is showing at the moment); the question is: There is any way to capture the WHOLE level? It would be interesting to show exactly what's happening everywhere...

Thanks!!!
Title: Re: Capture the whole level
Post by: eXpl0it3r on September 24, 2014, 05:20:08 pm
You can draw different parts to a render texture and then save that. Keep in mind that render texture's have a size limit depending on your GPU.
Title: Re: Capture the whole level
Post by: didii on September 27, 2014, 12:42:04 pm
Isn't this what you need?
http://sfml-dev.org/tutorials/2.1/graphics-view.php#defining-how-the-view-is-viewed (http://sfml-dev.org/tutorials/2.1/graphics-view.php#defining-how-the-view-is-viewed)