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>, barthol5533m@xxxxxxxxxxxxxx
Subject: Re: MIA, Ask an Expert: attract everything
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Thu, 04 Mar 2010 13:42:40 -0500

On Thu, 04 Mar 2010 12:06:49 -0500, <askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> 

> This is an automatic message sent from the web form at:
> http://mia.openworldlearning.org/howdoi.htm
> from: mitch bartholomew <barthol5533m@xxxxxxxxxxxxxx>
> date: Thu Mar  4 10:06:49 2010
> platform: PC
> version: MicroWorlds Ex
> how would i make the turtle attract everything on the schreen such as 
> astroids and the turtle is a space ship?
> thank you

Hi mitch,

Here is the main code:

to startup
t1, setsh "ufo2
forever [setpos mousepos]

everyone [
 forever [
  if not who = "t1 [towards "t1 fd 2]

Sample project attached.

OpenWorld Learning

PS. Your subject line was terrible. I changed it to "attract everything"

Attachment: attract-everything.mwx
Description: application/mwx-plugin

  • Previous by thread: MIA, Ask an Expert: help!
  • Next by thread: MIA, Ask an Expert: help!

  • 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