[squeakland] Bananas in a Box questions

R.D. Latimer rdlatimer at gmail.com
Thu Aug 25 18:31:20 EDT 2011


Thanks for all this help, I initially set out to count the number of bananas
that get into the box.  To get my counter into 'all-scripts' I needed to
click the timer.
Then I'll need to stop each banana if it enters the box or somehow just
count +1 for it's entry into the box.
I realized I was thinking too complicated for a level K program.
I'm not sure what 'count' is meant to show
http://etoysillinois.org/library?sl=1656
Run this, the box's count stays at 0.  The logic I'm using initially is,
from the box perspective,
if the box's color sees the banana's color, increment count.
What happens is the counter increments many times, as long as the banana and
box colors are touching for each time click.

So, I guess a more basic question is - what's the counter at the bottom of
the box supposed to be doing...my version I'm running the count stays at 0.

THanks again

Randy

On Thu, Aug 25, 2011 at 2:19 PM, Harness, Kathleen <kharness at illinois.edu>wrote:

> Hi Randy,
> The counter under the box is from the playfield's collection tiles and is a
> detailed watcher. I renamed it: box.
>
> If you want to count the bananas that are not in the box so children can
> see changes from one place to another and do a little addition too, then put
> the bananas in another playfield from Supplies, open its halo, choose the
> Viewer tool, click on the basic label to open the category menu and choose
> playfield's count. This way it will be clear that it is only bananas that
> are being counted. If you use the world's collection counter, then it will
> count everything including the title, playfields,and the stop step go button
> etc.
>
> There are lesson materials that go with the project but you have to scroll
> down after choosing and before you download or open the project.  I have had
> students make projects like this and you can see theirs if you click on the
> Library Collection tag:  Catch Games. I think theirs go too fast but the
> kids liked them and it was their decision to make.
>
> Thanks for your comments and questions I look forward to hearing more about
> what you and your students are doing with Etoys.
> Regards,
> Kathleen Harness
> ________________________________________
> From: squeakland-bounces at squeakland.org [squeakland-bounces at squeakland.org]
> on behalf of Rita Freudenberg [rita at isg.cs.uni-magdeburg.de]
> Sent: Thursday, August 25, 2011 12:13 PM
> To: R.D. Latimer
> Cc: Allard, Fred; squeakland at squeakland.org
> Subject: Re: [squeakland] Bananas in a Box questions
>
> Am 25.08.2011 um 17:54 schrieb R.D. Latimer:
>
> > Hi, I'm new to Etoys. We're implementing this fall in an elementary
> school in Fairfax County VA.  I'm running the Bananas In A Box program for
> kindergarten by Kathleen Harness.
> > The bananas spin around according to their scripts
> > Banana Forward by 12, Banana turn by 4
> >
> > When they get into the box, a counter should increment.
> > This part I'm unsure how to do.
> >
> > Box has a field called "count" under the "collections" field.  I don't
> see how to increment this.
> > So I created a variable for Box called "counter".
> > I create a script within, or coming from, the Box viewer:
> > Test: if Box's color sees yellow (of the banana), increment my variable
> counter by 1.
> >
> > I run the 'all scripts' box, but this new 'incrementer' script from Box
> is not included. Only the banana scripts are in the 'all scripts' box.
> > So the counter variable script does not run when a banana goes into the
> box.
>
> Hi Randy,
>
> if I understand correctly, you are saying, that "all scripts" isn't running
> all the scripts? To have a script get started with the "all scripts" button,
> this scripts needs to be in the state "paused". You can see a short info
> about this in the balloon-help, which appears, if you move the mouse over an
> object and wait a little.
> To change the state of a script, click on the field on top of the scriptor
> (in the example below it says "normal". Click and hold, then you can change
> the state.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/squeakland/attachments/20110825/d641e3f7/attachment.html>


More information about the squeakland mailing list