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

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

[Thread Prev] <

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx, gavinsdragon@xxxxxxxxxxxx
Subject: Re: MIA, Ask an Expert: turtle follow behind another turtle
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Tue, 10 Mar 2009 15:22:49 -0500
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;

On Tue, 10 Mar 2009 13:22:41 -0500, <askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> 

> This is an automatic message sent from the web form at:
> http://mia.openworldlearning.org/howdoi.htm
> from: Dragonshadow447 <gavinsdragon@xxxxxxxxxxxx>
> date: Tue Mar 10 12:22:41 2009
> platform: PC
> version: MicroWorlds Ex
> how do you make a turtle follow behind another turtle?

Sample project attached.

The code it uses is:

to startup
  t1, forever [fd 2 rt 5 - random 11 wait 1]

  t2, forever [
    towards "t1 
    if 100 < distance "t1 [fd 2 wait 1]

OpenWorld Learning

Attachment: follow-turtle.mwx
Description: application/mwx-plugin

  • Previous by thread: MIA, Ask an Expert: turtle follow behind another 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.

    © copyright 2001 - 2008