[Newbies] Squeak/eToys manual?

John Kershaw lists at kershaw.org
Thu Jul 6 12:30:59 UTC 2006

On 02/07/06, stéphane ducasse <ducasse at iam.unibe.ch> wrote:
> Hi john
> tell us more where you are and what you want to achieve and we will
> help you.

Okay, here are a couple of things I'd like to do tomorrow:

Our 'pets' currently have 1 variable, thirst, which increases once per
second, and turns the animal 90 degrees when it reaches maximum. I can
key the heading to the thirst divided by a factor, and/or use other
geometric stuff to reflect variables, but I'd be interested in
demonstrating different ways to show the affect of increasing thirst
(and other variables - hunger, illness, happiness?): changing colour
(going green), changing 'frame' to show another version of the
creature (which I think uses 'holder' somehow, but haven't been able
to figure out quite how).

We're doing an 'Arts Week' based on a woodland theme every afternoon
this week, and my slot is tomorrow. I'd like to use Squeak to 'grow'
forests and flowers from 'seeds', using different 'faces' onto the
same object. How would I tackle that? How could I introduce a random
element into the growth rate (shape?) so that all the trees look
slightly different? Species too?


More information about the Beginners mailing list