[squeakland] Bananas in a Box questions

R.D. Latimer rdlatimer at gmail.com
Fri Aug 26 05:48:47 EDT 2011


I see your description of the playfield's counter, counting whatever is
inside.  I'll check that out,
Thanks,
Randy

On Fri, Aug 26, 2011 at 5:46 AM, R.D. Latimer <rdlatimer at gmail.com> wrote:

> Thanks Kathleen,
>  I see how it's supposed to run.  I pick up one of the twirling bananas
> with the mouse, drop in the box, and the banana stays in the box and count
> increments.
>
> How did you program this?
> the scripts on the bananas - using the scripts from the 'all-scripts' box -
> just move and turn.
> And using the viewer for the box, I don't see any scripts for the box.
>
> How do you get the objects to stay in the box and be counted by just moving
> them in with the mouse?
>
> Thanks,
> Randy
>
>
> On Thu, Aug 25, 2011 at 9:57 PM, Harness, Kathleen <kharness at illinois.edu>wrote:
>
>>  Randy,
>> The project in the link below works for me, maybe we are counting
>> different bananas? When I click the go button the bananas move around and if
>> I can catch one and drop it into the box, the count increases by 1 and will
>> do so as each banana is put into the box. A banana that just moves over the
>> box is not in the box until it is picked up with the mouse/cursor and
>> dropped into the box so that it is contained there and no longer can it roam
>> the rest of the world.
>>
>> There isn't a test in this project, that would be too hard for young
>> students to make, but not to play. The script has  forward by and turn by
>> tiles. The tool that is counting is a detailed watcher for the playfield's
>> collection and it does the work of counting whatever is in the playfield. It
>> counts whether the script is ticking or not, drop a banana in or, the title,
>> and the counter increases for each object.
>>
>> Did you have a chance to look at the scripts in the student's Catch Games
>> projects? They were made by 2d-5th grader students last year.
>> Regards,
>> Kathleen
>>  ------------------------------
>> *From:* R.D. Latimer [rdlatimer at gmail.com]
>> *Sent:* Thursday, August 25, 2011 5:31 PM
>> *To:* Harness, Kathleen
>> *Cc:* Rita Freudenberg; Allard, Fred; squeakland at squeakland.org
>>
>> *Subject:* Re: [squeakland] Bananas in a Box questions
>>
>>  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/20110826/29bc43d6/attachment-0001.html>


More information about the squeakland mailing list