![]() |
#2
|
|||
|
|||
Try using the viz.getFrameTime command. The frame time will not increase when viz.pause is called:
Code:
''' Press 1 to play Press 2 to pause ''' import viz import vizact import vizinfo viz.go() vizinfo.InfoPanel() viz.pause() def printTime(): print viz.getFrameTime() vizact.ontimer(0,printTime) vizact.onkeydown('1',viz.play) vizact.onkeydown('2',viz.pause) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Timer events within a Tkinter class | kevin | Vizard | 2 | 07-29-2011 12:10 PM |
Question about Vizard Expiration Timer Rate | mizutani_jun | Vizard | 2 | 02-23-2011 09:13 PM |
Timer event in viztask | GiudiceLab | Vizard | 1 | 10-07-2010 12:14 PM |
timer question again | Elittdogg | Vizard | 3 | 10-18-2007 10:29 AM |
Timer speed | Jerry | Vizard | 1 | 12-08-2006 11:01 AM |