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

Author Topic: How do I pause an sf::Clock? (SFML 2.0)  (Read 15230 times)

0 Members and 1 Guest are viewing this topic.

zare2002

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: How do I pause an sf::Clock? (SFML 2.0)
« Reply #15 on: December 23, 2020, 08:37:40 pm »
Just to add, I did it this way:

while (Pause == true) {
            time_paused = time.getElapsedTime().asSeconds() - gametime;

 

anything