Is it possible to make a real-time timer in UPBGE?

Whenever I use a Text Game Property (timer) it seems to be dictated by the game’s FPS rather than real-time. Is there any solution for this? Thanks

Maybe using the time module. True pulse mode is required.

from time import time

initial_time = time()

def main(cont):
    cont.owner['time'] = time() - initial_time
2 Likes