[etoys-dev] Timers

kharness at illinois.edu kharness at illinois.edu
Sat Jun 26 14:38:49 EDT 2010

Yes! It is very useful, I like it.

---- Original message ----
>Date: Sat, 26 Jun 2010 18:16:24 +0200
>From: Bert Freudenberg <bert at freudenbergs.de>  
>Subject: [etoys-dev] Timers  
>To: etoys-dev at squeakland.org
>This is related to the discussion of non-accurate tick rates:
>There currently is no good way to measure real time in Etoys. The Clock object is only accurate to one second.
>So I'm proposing to have a global timer, in seconds, but with milli-second resolution. There would be a tile for accessing it in the world's "playfield" category (actually any playfield / holder).
>This would allow to do animations etc to proceed in real time, independent of the actual tick rate of a script.
>I just posted a proposed implementation to the inbox (Etoys-bf.31). Also, find attached an example project.
>Would that be generally useful?
>- Bert -
>TimerTest.001.pr (44k bytes)
>etoys-dev mailing list
>etoys-dev at squeakland.org

More information about the etoys-dev mailing list