Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: MIA, Ask an Expert: Reacting to the clone of a certain turtle
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Tue, 25 Jan 2011 22:52:48 -0500

On Tue, 25 Jan 2011 22:40:22 -0500, Griffin <swanson6748g@xxxxxxxxxxxxxx> wrote:

I am using clone "turtle to clone both the bullet and enemy. There are
clones of both on the page simultaneously. However, I think I've solved the
problem by renaming the clones of the enemies using a different letter than
That way, it can check for whether it says 't' before the number or the
generic letter.

Good idea!

Also, this procedure is like "clone" except that it returns the name of the new clone created:

to clone.name :turtle
clone :turtle
output last get (first pagelist) "turtles

Let's say you have a turtle called "bullet" and another called "t2".

This creates a clone of bullet and shows you the name it used:

show clone.name "bullet

If I run it again:

show clone.name "bullet

(t2 was already taken)

OpenWorld Learning

  • Previous by thread: Re: MIA, Ask an Expert: Reacting to the clone of a certain turtle
  • Next by thread: logoprojects at wikispaces

  • 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.

    © copyright 2001 - 2008