[etoys-dev] Book Sprint Questions

Korakurider korakurider at gmail.com
Mon Feb 8 00:00:43 EST 2010


Hi. I will comment of some of your questions...

On Mon, Feb 8, 2010 at 1:38 PM, Steve Thomas <sthomas1 at gosargon.com> wrote:
> Folks couple of questions:
>
> For Variable type "ImageResolution" how can I use this? I could not find a
> matching attribute to set. FYI, valid values from pull down are
>
> original (can use a lot of disk space)
> 256 colors
> 256 grays
> 4 grays
> black and white
>
   ImageResolution is used by VideoMorph that appear as "Camera" in
Multimedia category in Object catalog.

> For imported images, how can I change the resolution?
  I believe the type is applicable to only VideoMorph at this time.


> When I try to change a variable type to "Patch" I get a "Message Not
> Understood" message
> What is a Patch and how would I use it in Etoys?
    Patch is special concept used in "Kedama" that is particle
simulation system developed by Yoshiki Ohshima.  You could use Kedma
by drag "Particles" from Object Catalog.
Tutorial for older version is
http://wiki.squeakland.org/display/sq/Documents+on+Kedama

Patch variable can be created only with "add a new patch variable in
viewer menu of Kedamaworld.

/Korakurider


> If you import an image; from menu choose "set as background";
>
> THEN... How do you clear the background image?
> Note this is a better way to set the background than painting a background
> (with one BIG exception, it seems to use the image and repeat it to fill the
> background, so there is no "single smaller than world" image that you can
> easily use (yes, you could embed in a transparent sketch the size and
> background color of the world)
> When you set the background, the World's color attribute seems to be set to
> the image.
> To test this:
>
> drag an image into Etoys
> click on the images menu and then "set as backgroung"
> From the world's viewer, go to category color (or "fill and border") then
> drag out the assignment operator to make a script to set the color
> import another picture and set it as background
> the background to the previous image...
> So is color simply a graphic used for fill?
>
> Stephen
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
>


More information about the etoys-dev mailing list