Hi all,
As a newcomer to Squeak/eToys I've been searching for info on helping my 9-11 year olds write 'Tamagotchi' style simulations, since I've been unable to find a straight-forward manual. There's lots of 'Getting started' materials, but nothing on getting to the next level.
I signed up this 'Newbies' list but, to be honest, does parsing XMLs using the SAX or DOM models really fit into that category?
Can someone point me to resources for real (3-4 weeks experience) newbies?
John.
On Sat, Jul 01, 2006 at 09:56:37AM +0100, John Kershaw wrote:
Hi all,
As a newcomer to Squeak/eToys I've been searching for info on helping my 9-11 year olds write 'Tamagotchi' style simulations, since I've been unable to find a straight-forward manual. There's lots of 'Getting started' materials, but nothing on getting to the next level.
I signed up this 'Newbies' list but, to be honest, does parsing XMLs using the SAX or DOM models really fit into that category?
Can someone point me to resources for real (3-4 weeks experience) newbies?
John,
You can sign up for the general-purpose Squeak developers' list here:
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev
This list covers a wide range of technical topics, so it sometimes may seem intimidating if you are just getting started. However, newbie questions of all kinds are welcome, and a question like yours would certainly get some answers.
Dave
David T. Lewis a écrit :
On Sat, Jul 01, 2006 at 09:56:37AM +0100, John Kershaw wrote:
Hi all,
As a newcomer to Squeak/eToys I've been searching for info on helping my 9-11 year olds write 'Tamagotchi' style simulations, since I've been unable to find a straight-forward manual. There's lots of 'Getting started' materials, but nothing on getting to the next level.
I signed up this 'Newbies' list but, to be honest, does parsing XMLs using the SAX or DOM models really fit into that category?
Can someone point me to resources for real (3-4 weeks experience) newbies?
John,
You can sign up for the general-purpose Squeak developers' list here:
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev
This list covers a wide range of technical topics, so it sometimes may seem intimidating if you are just getting started. However, newbie questions of all kinds are welcome, and a question like yours would certainly get some answers.
Dave
Dave,
Being a starter myself as well, and finding it difficult to move from the initial easy steps to a slightly more advanced use of squeak, I tend to agree with John. Shouldn't it be the other way around, where some discussions taking place on the newbie mailing-list should be moved to the squeak-dev one ?
Regards, Stephane
On Sat, Jul 01, 2006 at 03:09:21PM +0200, Stephane Schitter wrote:
Being a starter myself as well, and finding it difficult to move from the initial easy steps to a slightly more advanced use of squeak, I tend to agree with John. Shouldn't it be the other way around, where some discussions taking place on the newbie mailing-list should be moved to the squeak-dev one ?
Yes I agree, that is the way it should be.
Dave
So... if we're agreed that this really is the newbies list, *can* someone point me to some info that's the next step on from the four-page 'Getting started' PDF?
John.
On 01/07/06, David T. Lewis lewis@mail.msen.com wrote:
On Sat, Jul 01, 2006 at 03:09:21PM +0200, Stephane Schitter wrote:
Being a starter myself as well, and finding it difficult to move from the initial easy steps to a slightly more advanced use of squeak, I tend to agree with John. Shouldn't it be the other way around, where some discussions taking place on the newbie mailing-list should be moved to the squeak-dev one ?
Yes I agree, that is the way it should be.
Dave
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Hi john
tell us more where you are and what you want to achieve and we will help you. Have you got a look at the videos I did?
http://www.listic.univ-savoie.fr/~ducasse/Ressources/
Stef
On 1 juil. 06, at 20:45, John Kershaw wrote:
So... if we're agreed that this really is the newbies list, *can* someone point me to some info that's the next step on from the four-page 'Getting started' PDF?
John.
On 01/07/06, David T. Lewis lewis@mail.msen.com wrote:
On Sat, Jul 01, 2006 at 03:09:21PM +0200, Stephane Schitter wrote:
Being a starter myself as well, and finding it difficult to move
from
the initial easy steps to a slightly more advanced use of
squeak, I tend
to agree with John. Shouldn't it be the other way around, where
some
discussions taking place on the newbie mailing-list should be
moved to
the squeak-dev one ?
Yes I agree, that is the way it should be.
Dave
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
On 02/07/06, stéphane ducasse ducasse@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?
John.
Hi John,
On 02/07/06, stéphane ducasse ducasse@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).
Have a look at animations eg. http://www.squeakland.org/pdf/etoys_n_authoring.pdf
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like the according color of the shape at the index of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Meta hint: Post this kind of etoys questions _also_ to the squeakland mailing list.
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?
Guess the answer is: use the animations idiom again.
How could I introduce a random element into the growth rate (shape?) so that all the trees look slightly different? Species too?
Don't understand exactly, but you can get a random tile by pressing on the label of the object in any script.
Hope that helps,
Cheers,
Markus
John. _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
On Jul 6, 2006, at 2:57 PM, Markus Gaelli wrote:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like the according color of the shape at the index of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Should have been:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like **** the according shape *** at the index (=cursor) of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Cheers,
Markus
Okay, I'm getting somewhere now! I found the 'Holder' object in the Supplies tab, and have got animation working, so our rabbits can now look happy, sad or indifferent. The kids are currently learning the basics of algebra in maths, so I'm going to have them make a pet shop using their animal and lots of variable manipulation (but not mention algebra).
So far I've got two objects, shop & pet:
Shop has variables for: | money numPets petCost numFoodBags foodBagCost foodPerBag |
Pet has just: | hunger |
I have scripts for buying food, feeding a pet, buying a pet, each one checking there's enough money/food/pets before firing, if not sound an alert. I'm working on having pets grow up after a minute or so and become sellable, at a profit...
My immediate need is - how do I make the pet into a button that fires the 'feedPet' script? I've got lots of 'button to fire this script' buttons to run various actions, but I'd like to have new instances of each pet appear when purchased, and have random variations of hunger etc to keep the kids on their toes trying to balance income, food, selling. The extension would be to have different pets (with different costs/needs), different foods (affecting each animals hunger differently) and maybe even extra variables (thirst, hunger, happiness, etc). I got as far as getting the pet to fire an onMouseUp event, but didn't know what to put in the dialog (and don't want the kids touching code if possible - is there a tile way?)
Regards cc'ing posts to the Squeakland list, I thought this WAS the Squeakland list - am I in the wrong place? Eek!
John.
On 06/07/06, Markus Gaelli gaelli@emergent.de wrote:
On Jul 6, 2006, at 2:57 PM, Markus Gaelli wrote:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like the according color of the shape at the index of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Should have been:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like **** the according shape *** at the index (=cursor) of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Cheers,
Markus _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
On 2006 July 6 17:37, John Kershaw wrote:
Okay, I'm getting somewhere now! I found the 'Holder' object in the
<snip>
Regards cc'ing posts to the Squeakland list, I thought this WAS the Squeakland list - am I in the wrong place? Eek!
John,
the squeakland list (which is closer to what you are doing) is:
squeakland@squeakland.org
Milan
John.
On 06/07/06, Markus Gaelli gaelli@emergent.de wrote:
On Jul 6, 2006, at 2:57 PM, Markus Gaelli wrote:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like the according color of the shape at the index of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Should have been:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like **** the according shape *** at the index (=cursor) of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Cheers,
Markus _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Thanks for that. Can anyone tell me how to make an object act like a button?
John.
On 08/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
On 2006 July 6 17:37, John Kershaw wrote:
Okay, I'm getting somewhere now! I found the 'Holder' object in the
<snip> > Regards cc'ing posts to the Squeakland list, I thought this WAS the > Squeakland list - am I in the wrong place? Eek!
John,
the squeakland list (which is closer to what you are doing) is:
squeakland@squeakland.org
Milan
John.
On 06/07/06, Markus Gaelli gaelli@emergent.de wrote:
On Jul 6, 2006, at 2:57 PM, Markus Gaelli wrote:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like the according color of the shape at the index of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Should have been:
Make a holder with all colors respectively shapes etc, and change the color respectively let it look like **** the according shape *** at the index (=cursor) of that other holder. (Hide that holder if necessary). Change the index of the cursor of that other holder according to the hunger/illness etc.
Cheers,
Markus _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Thanks for that. Can anyone tell me how to make an object act like a button?
On 08/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
the squeakland list (which is closer to what you are doing) is:
squeakland@squeakland.org
I'm with you as far as 'script's trigger' - where do I find that? I can click the menu next to the script and drag out a 'button to fire this script' but nothing about mouseDown.
John.
On 08/07/06, Bert Freudenberg bert@impara.de wrote:
Am 08.07.2006 um 11:52 schrieb John Kershaw:
Thanks for that. Can anyone tell me how to make an object act like a button?
Make a script for your object and set the script's trigger to mouseDown.
- Bert -
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
The script'ts trigger is set to "normal" initially (the menu button right of the clock), meaning the script executes when it is explicitly called from another script. But you can chage the trigger by clicking that button and set it to ticking, mouseDown etc.
- Bert -
Am 08.07.2006 um 13:31 schrieb John Kershaw:
I'm with you as far as 'script's trigger' - where do I find that? I can click the menu next to the script and drag out a 'button to fire this script' but nothing about mouseDown.
John.
On 08/07/06, Bert Freudenberg bert@impara.de wrote: Am 08.07.2006 um 11:52 schrieb John Kershaw:
Thanks for that. Can anyone tell me how to make an object act like a button?
Make a script for your object and set the script's trigger to mouseDown.
- Bert -
John,
Based on Bert's description I created a small "tutorial"
How to Make an Object (for example MyCurve) Act as Button?
0) Drag out a curve from Supplies, name it MyCurve 1) Show Viewer on MyCurve 2) In Viewer, go to scripts, drag out "emptyScript" 3) Pust some code in the script, e.g. drag out "basic->Make Sound Croak" 4) Click at the oval to the right of the "clock" on the script, select "mouseUp" 5) Now when you click on MyCurve, it croaks
The above is one way. Another way is to click on MyCurve and show it's hallo, and select from menu:
extras-->add mouseUp action and put a code there like:
self beep: 'coyote'
Milan
On 2006 July 8 11:37, Bert Freudenberg wrote:
The script'ts trigger is set to "normal" initially (the menu button right of the clock), meaning the script executes when it is explicitly called from another script. But you can chage the trigger by clicking that button and set it to ticking, mouseDown etc.
- Bert -
Am 08.07.2006 um 13:31 schrieb John Kershaw:
I'm with you as far as 'script's trigger' - where do I find that? I can click the menu next to the script and drag out a 'button to fire this script' but nothing about mouseDown.
John.
On 08/07/06, Bert Freudenberg bert@impara.de wrote: Am 08.07.2006
um 11:52 schrieb John Kershaw:
Thanks for that. Can anyone tell me how to make an object act like a button?
Make a script for your object and set the script's trigger to mouseDown.
- Bert -
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Oh. My. I CANNOT believe I missed that.
Sometimes things are just staring you in the face.
Thanks - and thanks for the step-by-step tutorial, otherwise I STILL might not've got it. Are there any other tutorials around at the approx level of the 'steer a car' tutorial on the Squeakland site? I'd love to work through a bunch of similar 'learn this feature' recipes.
John.
On 08/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
John,
Based on Bert's description I created a small "tutorial"
How to Make an Object (for example MyCurve) Act as Button?
- Drag out a curve from Supplies, name it MyCurve
- Show Viewer on MyCurve
- In Viewer, go to scripts, drag out "emptyScript"
- Pust some code in the script, e.g. drag out "basic->Make Sound Croak"
- Click at the oval to the right of the "clock" on the script, select
"mouseUp" 5) Now when you click on MyCurve, it croaks
The above is one way. Another way is to click on MyCurve and show it's hallo, and select from menu:
extras-->add mouseUp action and put a code there like:
self beep: 'coyote'
Milan
On 2006 July 8 11:37, Bert Freudenberg wrote:
The script'ts trigger is set to "normal" initially (the menu button right of the clock), meaning the script executes when it is explicitly called from another script. But you can chage the trigger by clicking that button and set it to ticking, mouseDown etc.
- Bert -
Am 08.07.2006 um 13:31 schrieb John Kershaw:
I'm with you as far as 'script's trigger' - where do I find that? I can click the menu next to the script and drag out a 'button to fire this script' but nothing about mouseDown.
John.
On 08/07/06, Bert Freudenberg bert@impara.de wrote: Am 08.07.2006
um 11:52 schrieb John Kershaw:
Thanks for that. Can anyone tell me how to make an object act like a button?
Make a script for your object and set the script's trigger to mouseDown.
- Bert -
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
On 2006 July 8 18:26, John Kershaw wrote:
Oh. My. I CANNOT believe I missed that.
Sometimes things are just staring you in the face.
Thanks - and thanks for the step-by-step tutorial, otherwise I STILL might not've got it. Are there any other tutorials around at the approx level of the 'steer a car' tutorial on the Squeakland site? I'd love to work through a bunch of similar 'learn this feature' recipes.
John,
on squeakland.org, click on one of the ovals that says "Kids Play", then on top, click "Tutorials".
There are several tutorial, the Kedama is especially beautiful (I have to find time to go through it myself). A PDF version of it is linked here:
http://squeakland.org/pdf/kedama.pdf
Milan
John.
On 08/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
John,
Based on Bert's description I created a small "tutorial"
How to Make an Object (for example MyCurve) Act as Button?
- Drag out a curve from Supplies, name it MyCurve
- Show Viewer on MyCurve
- In Viewer, go to scripts, drag out "emptyScript"
- Pust some code in the script, e.g. drag out "basic->Make Sound Croak"
- Click at the oval to the right of the "clock" on the script, select
"mouseUp" 5) Now when you click on MyCurve, it croaks
The above is one way. Another way is to click on MyCurve and show it's hallo, and select from menu:
extras-->add mouseUp action and put a code there like:
self beep: 'coyote'
Milan
On 2006 July 8 11:37, Bert Freudenberg wrote:
The script'ts trigger is set to "normal" initially (the menu button right of the clock), meaning the script executes when it is explicitly called from another script. But you can chage the trigger by clicking that button and set it to ticking, mouseDown etc.
- Bert -
Am 08.07.2006 um 13:31 schrieb John Kershaw:
I'm with you as far as 'script's trigger' - where do I find that? I can click the menu next to the script and drag out a 'button to fire this script' but nothing about mouseDown.
John.
On 08/07/06, Bert Freudenberg bert@impara.de wrote: Am 08.07.2006
um 11:52 schrieb John Kershaw:
Thanks for that. Can anyone tell me how to make an object act like a button?
Make a script for your object and set the script's trigger to mouseDown.
- Bert -
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Yes, I've been through those tutorials, and they're good, (though not sure why the extremely advanced Kedama tutorial is placed first) but they're only enough to whet one's appetite. Surely the paint/handles/car tutorials should be the first of 20 or 30 tutorials, graded by difficulty/chapter, with Kedema being the 'Final Boss' tutorial?
And where are the 'eToy a week' projects Alan talks about? I'd like to have a butcher's at those!
John.
On 09/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
On 2006 July 8 18:26, John Kershaw wrote:
Oh. My. I CANNOT believe I missed that.
Sometimes things are just staring you in the face.
Thanks - and thanks for the step-by-step tutorial, otherwise I STILL
might
not've got it. Are there any other tutorials around at the approx level
of
the 'steer a car' tutorial on the Squeakland site? I'd love to work through a bunch of similar 'learn this feature' recipes.
John,
on squeakland.org, click on one of the ovals that says "Kids Play", then on top, click "Tutorials".
There are several tutorial, the Kedama is especially beautiful (I have to find time to go through it myself). A PDF version of it is linked here:
http://squeakland.org/pdf/kedama.pdf
Milan
John.
On 08/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
John,
Based on Bert's description I created a small "tutorial"
How to Make an Object (for example MyCurve) Act as Button?
- Drag out a curve from Supplies, name it MyCurve
- Show Viewer on MyCurve
- In Viewer, go to scripts, drag out "emptyScript"
- Pust some code in the script, e.g. drag out "basic->Make Sound
Croak"
- Click at the oval to the right of the "clock" on the script, select
"mouseUp" 5) Now when you click on MyCurve, it croaks
The above is one way. Another way is to click on MyCurve and show it's hallo, and select from menu:
extras-->add mouseUp action and put a code there like:
self beep: 'coyote'
Milan
On 2006 July 8 11:37, Bert Freudenberg wrote:
The script'ts trigger is set to "normal" initially (the menu button right of the clock), meaning the script executes when it is explicitly called from another script. But you can chage the trigger by clicking that button and set it to ticking, mouseDown etc.
- Bert -
Am 08.07.2006 um 13:31 schrieb John Kershaw:
I'm with you as far as 'script's trigger' - where do I find that?
I
can click the menu next to the script and drag out a 'button to fire this script' but nothing about mouseDown.
John.
On 08/07/06, Bert Freudenberg bert@impara.de wrote: Am
08.07.2006
um 11:52 schrieb John Kershaw:
Thanks for that. Can anyone tell me how to make an object act
like
a button?
Make a script for your object and set the script's trigger to mouseDown.
- Bert -
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
John,
please ask at squeakland@squeakland.org mailing list, I do not know. I think they are rearranging the website so these may be useful suggestions (OK I Cc:ed it there)
Milan
On 2006 July 10 04:28, John Kershaw wrote:
Yes, I've been through those tutorials, and they're good, (though not sure why the extremely advanced Kedama tutorial is placed first) but they're only enough to whet one's appetite. Surely the paint/handles/car tutorials should be the first of 20 or 30 tutorials, graded by difficulty/chapter, with Kedema being the 'Final Boss' tutorial?
And where are the 'eToy a week' projects Alan talks about? I'd like to have a butcher's at those!
John.
On 09/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
On 2006 July 8 18:26, John Kershaw wrote:
Oh. My. I CANNOT believe I missed that.
Sometimes things are just staring you in the face.
Thanks - and thanks for the step-by-step tutorial, otherwise I STILL
might
not've got it. Are there any other tutorials around at the approx level
of
the 'steer a car' tutorial on the Squeakland site? I'd love to work through a bunch of similar 'learn this feature' recipes.
John,
on squeakland.org, click on one of the ovals that says "Kids Play", then on top, click "Tutorials".
There are several tutorial, the Kedama is especially beautiful (I have to find time to go through it myself). A PDF version of it is linked here:
http://squeakland.org/pdf/kedama.pdf
Milan
John.
On 08/07/06, Milan Zimmermann milan.zimmermann@sympatico.ca wrote:
John,
Based on Bert's description I created a small "tutorial"
How to Make an Object (for example MyCurve) Act as Button?
- Drag out a curve from Supplies, name it MyCurve
- Show Viewer on MyCurve
- In Viewer, go to scripts, drag out "emptyScript"
- Pust some code in the script, e.g. drag out "basic->Make Sound
Croak"
- Click at the oval to the right of the "clock" on the script,
select "mouseUp" 5) Now when you click on MyCurve, it croaks
The above is one way. Another way is to click on MyCurve and show it's hallo, and select from menu:
extras-->add mouseUp action and put a code there like:
self beep: 'coyote'
Milan
On 2006 July 8 11:37, Bert Freudenberg wrote:
The script'ts trigger is set to "normal" initially (the menu button right of the clock), meaning the script executes when it is explicitly called from another script. But you can chage the trigger by clicking that button and set it to ticking, mouseDown etc.
- Bert -
Am 08.07.2006 um 13:31 schrieb John Kershaw:
I'm with you as far as 'script's trigger' - where do I find that?
I
can click the menu next to the script and drag out a 'button to fire this script' but nothing about mouseDown.
John.
On 08/07/06, Bert Freudenberg bert@impara.de wrote: Am
08.07.2006
um 11:52 schrieb John Kershaw: > Thanks for that. Can anyone tell me how to make an object act
like
> a button?
Make a script for your object and set the script's trigger to mouseDown.
- Bert -
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
crossposting beginners and squeakland to keep the thread together.
On 2006 July 10 04:28, John Kershaw wrote:
Yes, I've been through those tutorials, and they're good, (though not sure why the extremely advanced Kedama tutorial is placed first) but they're only enough to whet one's appetite. Surely the paint/handles/car tutorials should be the first of 20 or 30 tutorials, graded by difficulty/chapter, with Kedema being the 'Final Boss' tutorial?
And where are the 'eToy a week' projects Alan talks about? I'd like to have a butcher's at those!
There is an Etoys link on the website site map, to here, http://www.squeakland.org/kids/sqfest_2004.htm There are a few dozen, but it does not seem to be updated with new contributions.
Build your own Etoys with the project guides http://www.squeakland.org/sqmedia/projects/etoyposters.htm
There are only three Etoys of the month, here: http://www.squeakland.org/fun_projects/proj_pe_mo/feature_project.htm http://www.squeakland.org/fun_projects/proj_pe_mo/past_project.htm
If you want more Etoys and Projects, download them from _inside_ Squeak. Go to the Navigator flap, click Find, and then click "Squeakland-Projects" This is a largely different set to those on the website, but you will find an Etoy template and several versions of the toys from the tutorials in there.
I am sure someone will fix this in the website redesign.
David
Greetings --
I'll chime in here a bit re tutorials and projects on the Squeakland website. The tutorials are actually arranged more chronologically than sequenced from "beginner to more advanced". The site was launched with the "handles" , "paint" and "drive a car" tutorial and when newer materials and tutorials were created and added we placed them "higher" on the page, to be found first as new additions/materials to the website. Reading this thread of discussion makes me realize we should consider revamping the tutorials section of the site.
We also welcome anyone "out there" who has created tutorials (and examples) for their own/student use to share as we'd love to post more! Our resouces/people power at Viewpoints is quite limited so I am sorry to say we haven't been able to turn out more for you all...and as anyone who has written examples know, it is time consuming. The expectation has always been that the community would contribute to this base and help grow the body of work/materials available.
There are many links to other etoys on the site -- be sure to check the "community" section and visit the links from there: http://www.squeakland.org/community/links.html there are some great exemplars out there.
thanks for the comments, cheers, Kim
Join us at SqueakFest next week! Chicago.... http://interactive.colum.edu/partners/squeakfest/
At 11:57 AM +0100 7/13/06, David Corking wrote:
crossposting beginners and squeakland to keep the thread together.
On 2006 July 10 04:28, John Kershaw wrote:
Yes, I've been through those tutorials, and they're good, (though not sure why the extremely advanced Kedama tutorial is placed first) but they're only enough to whet one's appetite. Surely the paint/handles/car tutorials should be the first of 20 or 30 tutorials, graded by difficulty/chapter, with Kedema being the 'Final Boss' tutorial?
And where are the 'eToy a week' projects Alan talks about? I'd
like to have
a butcher's at those!
There is an Etoys link on the website site map, to here, http://www.squeakland.org/kids/sqfest_2004.htm There are a few dozen, but it does not seem to be updated with new contributions.
Build your own Etoys with the project guides http://www.squeakland.org/sqmedia/projects/etoyposters.htm
There are only three Etoys of the month, here: http://www.squeakland.org/fun_projects/proj_pe_mo/feature_project.htm http://www.squeakland.org/fun_projects/proj_pe_mo/past_project.htm
If you want more Etoys and Projects, download them from _inside_ Squeak. Go to the Navigator flap, click Find, and then click "Squeakland-Projects" This is a largely different set to those on the website, but you will find an Etoy template and several versions of the toys from the tutorials in there.
I am sure someone will fix this in the website redesign.
David _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
May be you should post to the squeakland mailing-list. It seems that people can help you there.
Stef
On 6 juil. 06, at 14:30, John Kershaw wrote:
On 02/07/06, stéphane ducasse ducasse@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?
John. _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
On 7/1/06, John Kershaw lists@kershaw.org wrote:
Hi all,
As a newcomer to Squeak/eToys I've been searching for info on helping my 9-11 year olds write 'Tamagotchi' style simulations, since I've been unable to find a straight-forward manual. There's lots of 'Getting started' materials, but nothing on getting to the next level.
I signed up this 'Newbies' list but, to be honest, does parsing XMLs using the SAX or DOM models really fit into that category?
Can someone point me to resources for real (3-4 weeks experience) newbies?
John. _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Hi all,
There is a very good book about squeak called *Squeak: Object-Oriented Design with Multimedia Applications
* http://www.amazon.com/gp/product/0130280283/104-2424370-4960739?v=glance&...
And here you have this book website. http://guzdial.cc.gatech.edu/squeakbook/
Mario h.c.t.
beginners@lists.squeakfoundation.org