[Thread Prev] [Thread Next]
On 7 Feb 2008, at 12:12 PM, Kathleen Basovsky wrote:
What is the command to animate more than 1 turtle at the same
time? thanks!!
We tried:
to Patch
t1, seth 90
repeat 2000[setsh 21 fd 10 wait 1 setsh 22 fd 10 wait 1 setsh 23 fd
10 wait 1 setsh 24 fd 10 wait 1]
end
to butterfly
t2,
seth 90 repeat 1000[setsh 34 fd 5 wait 1 setsh 35 fd 5 wait 1]
end
to start
everyone[clickon]
end
To expand upon what Daniel said: his method (using launch) works just
fine.
But YOUR method does work, IF you put 'patch' and 'butterfly' in the
'OnClick' field of the the turtle's backpack (or in the 'Instruction'
field in MW Pro).
Since your code doesn't seem to have worked, I'm assuming you forgot
that part: 'clickon' does whatever is in that field, which will be
nothing if it is blank.
Tim
--
tklein@xxxxxxxxxxxxxxxxxxxxx
Previous by thread:
Re: animating more than 1 more turtle
Next by thread:
Re: animating more than 1 more turtle
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|