SFML community forums

Help => Window => Topic started by: StormWingDelta on August 30, 2012, 04:35:42 am

Title: About using sf::View for changing the viewport position.
Post by: StormWingDelta on August 30, 2012, 04:35:42 am
I'm just wondering what one of the two functions to use since it seems move and set center seem to both move the viewport but they have two different effects.


Anyone have any ideas for this since I'm working on a game that takes advantage of a map with no borders?
Title: Re: About using sf::View for changing the viewport position.
Post by: eXpl0it3r on August 30, 2012, 08:24:24 am
I suggest you take a look at my tutorials on the sf::View class (https://github.com/SFML/SFML/wiki/TutorialUsingView), it should explain ever facette of the view. ;)