Re: Best way to make a timer in python?

2019-06-12 Thread AudioGames . net Forum — Developers room : r3dux via Audiogames-reflector
Re: Best way to make a timer in python? Hi kingzombie,From reading your question, I'm not sure if you want a timer to just wait a set amount of time while nothing else happens or if you want to perform some event a set amount of time after something else happens.If you don't need to do

Re: Best way to make a timer in python?

2019-06-12 Thread AudioGames . net Forum — Developers room : r3dux via Audiogames-reflector
Re: Best way to make a timer in python? Hi kingzombie,From reading your question, I'm not sure if you want a timer to just wait a set amount of time while nothing else happens or if you want to perform some event a set amount of time after something else happens.If you don't need to do

Re: Best way to make a timer in python?

2019-06-09 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Best way to make a timer in python? That depends. The time module runs straight from the system clock, so it shouldn't lag necessarily, but lag is often caused when calculations, or the number of calculations is more than the processor can handle in a given cycle. Part of the practice

Re: Best way to make a timer in python?

2019-06-08 Thread AudioGames . net Forum — Developers room : kingzombie via Audiogames-reflector
Re: Best way to make a timer in python? Should've said earlier this is for a game. So if I put this as a timer class it wouldn't lag? I want to make a timer class that I can use with as less lag as possible. URL: https://forum.audiogames.net/post/439517/#p439517 --

Re: Best way to make a timer in python?

2019-06-08 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Best way to make a timer in python? You can use the time module. What you do is set a baseline time variable, then compare it to the current time to see how much time has passed. For example:import time baseline = time.time() while True: if time.time() - baseline == 1:

Re: Best way to make a timer in python?

2019-06-08 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Best way to make a timer in python? You can use the time module. What you do is set a baseline time variable, then compare it to the current time to see how much time has passed. For example:import time baseline = time.time() while True: if time.time() - baseline == 1:

Re: Best way to make a timer in python?

2019-06-08 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Best way to make a timer in python? You can use the time module. What you do is set a baseline time variable, then compare it to the current time to see how much time has passed. For example:import time baseline = time.time() while True: if time.time() - baseline == 1:

Best way to make a timer in python?

2019-06-07 Thread AudioGames . net Forum — Developers room : kingzombie via Audiogames-reflector
Best way to make a timer in python? I'm wondering the best way to make a timer in python that can be paused and resumed. The agk3 comes with a timer but its not able to be paused.Thanks in advance for any help. URL: https://forum.audiogames.net/post/439451/#p439451 --