Bert Freudenberg uploaded a new version of Etoys to project Etoys: http://source.squeak.org/etoys/Etoys-bf.44.mcz
==================== Summary ====================
Name: Etoys-bf.44 Author: bf Time: 7 September 2010, 1:00:36 pm UUID: 76142660-ce01-4e14-a50a-a690df89aa5c Ancestors: Etoys-Richo.43
- SQ-787: allow negative timer values
=============== Diff against Etoys-Richo.43 ===============
Item was changed: ----- Method: Player>>getTimer (in category 'slot getters/setters') ----- getTimer + | last msecs | - | last | last := costume renderedMorph valueOfProperty: #timerStart ifAbsent: [0]. + msecs := Time millisecondsSince: last. + "allow negative timer values, e.g. for count downs" + msecs > (SmallInteger maxVal // 2) + ifTrue: [msecs := msecs - SmallInteger maxVal]. + ^msecs / 1000.0! - ^(Time millisecondsSince: last) / 1000.0 - !
etoys-dev@lists.squeakfoundation.org