I'm currently trying to call a function periodically using a timer...
unfortunately, the timer does not seem to work and mms will hang after I left the pyglet.
The timer should print some text on the screen but it's only done once.
Code: Select all
# set state update timer
self.t = threading.Timer(1, self.updateStateDisplay)
Anyone knows about how to have a time based event in a pyglet?Thanks!