Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: About using sf::View for changing the viewport position.  (Read 1728 times)

0 Members and 1 Guest are viewing this topic.

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
About using sf::View for changing the viewport position.
« 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?
I have many ideas but need the help of others to find way to make use of them.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: About using sf::View for changing the viewport position.
« Reply #1 on: August 30, 2012, 08:24:24 am »
I suggest you take a look at my tutorials on the sf::View class, it should explain ever facette of the view. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/