From: David C. <D. C. <si...@te...> - 2000-06-09 01:05:48
|
Pete Shinners writes: > > i believe you'll find the python "time" module will handle > your timing needs just fine. the only thing that the SDL timing > routines give you is the ability to get callback events after > a certain amount of time. Really? I looked at 'time' first, of course, but rejected it after reading this (from the library docs): "on most Unix systems, the clock ``ticks'' only 50 or 100 times a second, and on the Mac, times are only accurate to whole seconds" Obviously, if time.time() returns values accurate only to whole seconds on the Mac, it's unsuitable for arcade gaming use. Thus my search for another, more accurate timer module. Strangely, I remember reading a thread on this topic a while ago in c.l.p, but I can't locate it now. David Clark si...@te... Preliminary pySDL Documentation: http://www3.telus.net/futility/futility/docs/pysdl/index.html |