[squeakland] Bananas in a Box questions

Steve Thomas sthomas1 at gosargon.com
Thu Aug 25 12:30:21 EDT 2011


On Thu, Aug 25, 2011 at 11:54 AM, R.D. Latimer <rdlatimer at gmail.com> wrote:

> 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.
>
You are on the right track, simply drag the tile count onto your playfield
and a watcher will be displayed.

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.
>
> THanks for any help,
> Randy Latimer
>
> _______________________________________________
> squeakland mailing list
> squeakland at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/squeakland
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/squeakland/attachments/20110825/1c2fa34c/attachment.html>


More information about the squeakland mailing list