[squeak-dev] Squeak clock face

Javier Diaz-Reinoso javier_diaz_r at mac.com
Tue Dec 19 20:29:15 UTC 2017


The reason my example works is because I am rotating a Polygon, the problem is with ImageMorphs/SketchMorphs, and the selector with problems is TransformationMorph>>adjustAfter: of 'ar 1/3/2010' created in Squeak 3.11, If you revert to the previous version of: 'di 9/30/1998' works OK.

Also works if you create an (eToys) script with Player>>turn: because that copy the actorStateOrNil to the transformMorph which the new version expect.

Because the new version was from 'ar' you know that was created for some important reason, so is any documentation for the change?

> On 18 Dec 2017, at 15:45, Louis LaBrunda <Lou at Keystone-Software.com> wrote:
> 
> Hi Javier,
> 
> Thanks for the help.  The movie did post and look good.  I am presently trying Tim and Bob's
> suggestions with some success.
> 
> Lou
> 
>> Well, I think is for eToys Players and in that works well, to test use this in workspace:
>> 
>> attrs := {{100 . Color red . 0.5 at 0.5} . {200 . Color blue . 0.25 at 0.25}}..
>> hands := attrs collect: [:att| |lm|
>> 	lm := LineMorph from: 150 at 300 to: (Point x: 150+(att at:1) y: 300) color: (att at: 2) width: 2.
>> 	lm rotationCenter: (att at: 3). 
>> 	lm makeForwardArrow].
>> hands do: [:m | m openInWorld].
>> 
>> and then create 2 (eToy) scripts to rotate, I am enclosing a movie (344kb), I hope is not rejected:
> -- 
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
> 
> 



More information about the Squeak-dev mailing list