[MWForum]Microworld's EX a bug in reworked 'squish' game
Gabrielle Doyle
mwforum@lists.mathcats.com
Tue, 08 Feb 2005 15:07:16 -0700
A black turtle on a black background was intentional. I suppose it's a
'lost in space' thing. I never thought of editing the colours directly
thanks.
----- Original Message -----
From: "Wendy Petti" <wpetti@mathcats.com>
To: <mwforum@lists.mathcats.com>
Sent: Tuesday, February 08, 2005 12:35 PM
Subject: RE: [MWForum]Microworld's EX a bug in reworked 'squish' game
>I think I see another factor contributing to the error message. The color
> "cyan" has the instruction "raiselevel" which is triggered whenever any
> turtle touches that color. But in fact you only want the Fred turtle
> passing over cyan to trigger the "raiselevel" procedure, since Fred is the
> one turtle you are controlling. (By the way, it is *very* hard to see a
> black turtle on a black background... is that intentional? I set Fred to
> red so that I could see what was going on.) If each turtle zooming over
> cyan raises the speed by one level, then within moments you'll have
> surpassed the top speed permitted on the slider. Anyhow, Fred has a
> private
> "OnColor" rule to run the raiselevel procedure when he touches cyan. So
> if
> you edit the color cyan (right-click on the color and select "edit cyan")
> and remove the instruction (raiselevel), then Fred will be the only turtle
> that will respond to cyan.
>
> If you simply remove the raiselevel procedure without removing cyan's
> instruction, you will get a different error message every time a turtle
> touches cyan:
> I don't know how to raiselevel
>
> If you remove cyan's instruction so that Fred is the only turtle who ever
> receives the message to "raiselevel," then it is not necessary to edit the
> raiselevel procedure to add his name to the command involving homebase, as
> Daniel suggested, for Fred will be the only turtle who will ever receive
> the
> command.
>
> Wendy
>
>
>> > I don't know how to homebase in raiselevel
>> >
>> > I have tried to erase the raiselevel procedure since the
>> > game 'works' with out it but the same messagge still
>> > occurs.
>>
>>
>> > I have tried to erase the raiselevel procedure since the
>> > game 'works' with out it but the same messagge still
>> > occurs.
>>
>> Does this change help?
>>
>> to raiselevel
>> fred, setpos homebase
>> if speed > 39 [stop]
>> setspeed speed + 1
>> end
>>
>
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> Attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html
> To unsubscribe or for administrative questions contact
> mailto:mwforum-admin@lists.mathcats.com
>