Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

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

[Thread Prev] [Thread Next]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx, Animerune@xxxxxxxxx
Subject: Re: MIA, Ask an Expert: turtle follows the mouse
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Tue, 03 Mar 2009 16:30:27 -0500
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;

On Tue, 03 Mar 2009 14:59:05 -0500, <askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> 
wrote:

> This is an automatic message sent from the web form at:
> http://mia.openworldlearning.org/howdoi.htm
>
> from: Lightrune46 <Animerune@xxxxxxxxx>
> date: Tue Mar  3 12:59:05 2009
> platform: PC
> version: MicroWorlds Ex
>
> how do you make it so that a turtle follows the mouse's, but only the 
> direction like setheading.
>
> Also, how do you make it so that a picture that is set on a turtle rotates 
> with the mouse but only moves in direction?


I cheated. Project attached.

To understand it, consider removing the "ht" commands
and issuing a 

everyone [st]

command in the Command Center.

(All the code is in the "Procedures Tab")

Daniel
OpenWorld Learning

Attachment: look-dont-follow.mwx
Description: application/mwx-plugin


  • Previous by thread: MIA, Ask an Expert: turtle follows the mouse
  • Next by thread: Re: MIA, Ask an Expert: turtle follows the mouse

  • 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