Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
How do I pause an sf::Clock? (SFML 2.0)
Print
Pages:
1
[
2
]
Author
Topic: How do I pause an sf::Clock? (SFML 2.0) (Read 17185 times)
0 Members and 1 Guest are viewing this topic.
zare2002
Newbie
Posts: 1
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;
Logged
Print
Pages:
1
[
2
]
SFML community forums
»
Help
»
General
»
How do I pause an sf::Clock? (SFML 2.0)