Hi,
Try this with an ellipse. If you change the scale factor, the yellow hallo will be gold, Squak will take a picture of the object at the original size , then show and resize this picture. Unless you put the scale factor to 1, you can not change length or width of the ellipse and the scale factor will change as you move the gold hallo.(as the scale factor is shown as an integer, it will step on integer values.)
If the scale factor is 1, the hallo is light yellow and you can change length or width of the ellipse again.
If you turn the ellipse with the bleu hallo, it is the same thing,you must turn back and get the light blue hallo (just a moment)to be able to to change length and width again.
in other word there are two states one with light yellow hallo, shape can be mofified qnd object is not resized by "look like", one with gold hallo for which resizing is working.
Regards
-----Message d'origine----- De: squeakland-bounces@squeakland.org A: 'Arvind Grover'; squeakland@squeakland.org Date: 09.12.05 16:32 Objet: Re: [Squeakland] resizing doesn't stick in holder animation
I'm still confused by this behavior and apparent solution. For starters, where exactly do you put/use the scale factor tile? I've attached the situation I was describing - which doesn't produce the desired behavior. I can imagine that a child/user would expect wysiwyg of items in the Holder and would expect to see the sketch animate/change size -- I certainly did.
Aside: once again, I'm learning something interesting about Squeak that I didn't know. In this case, the interplay between a sketch's Scale halo and the scalefactor tile in the Geometry category. I now understand that the scalefactor is a global scale whereas the Scale halo allows for x/y scaling and doesn't affect the scalefactor - even, for example, when you would hold Shift to maintain aspect ratio. I also realize that once you do change the scalefactor, you can no longer do x/y scaling (independently) using the halo.
--Randy
-----Original Message----- From: squeakland-bounces@squeakland.org [mailto:squeakland- bounces@squeakland.org] On Behalf Of Arvind Grover Sent: Friday, December 09, 2005 8:24 AM To: squeakland@squeakland.org Subject: Re: [Squeakland] resizing doesn't stick in holder animation
I have tried this: the items in the holder are larger, and the ball is very small. I have ball look like holders player at cursor, and then holder's cursor increase by 1.
When the animation begins, the ball grows to the larger shapes in the holder. Even if I resize them all to a tiny size, the animation makes
it
jump back to their original sizes.
Dreyfuss's suggestion of changing the scale factor (<1 to make it smaller) on the ball object worked perfectly.
Thanks, arvind
-----Original Message----- From: squeakland-bounces@squeakland.org [mailto:squeakland-bounces@squeakland.org] On Behalf Of Alan Kay Sent: Thursday, December 08, 2005 7:23 PM To: Arvind Grover; squeakland@squeakland.org Subject: Re: [Squeakland] resizing doesn't stick in holder animation
Instead of resizing the drawings in the holder, try resizing the
player
that is changing its costumes. I.e. if the script looks like:
holder's cursor increase by 1 ball look like holder's player at cursor
then resize "ball". Whatever scaling ball has is applied to its costumes.
Cheers,
Alan
At 11:19 AM 12/8/2005, Arvind Grover wrote:
My students have created drawings, and are using them in animations.
They
shrink them down using the change size handle. The animation still
shows
up as the original size. Is there any way to store the new size information so the animation remains small?
Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
<<animation-scale.jpg>> <<ATT138234.txt>>
squeakland@lists.squeakfoundation.org