[Thread Prev] [Thread Next]
On Thu, 04 Mar 2010 12:06:49 -0500, <askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
> 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]
]
]
end
Sample project attached.
Daniel
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.
|