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]

Subject: Re: Hi, need some MW help
From: mwforum@xxxxxxxxxxxxxxxxxx (Daniel Ajoy)
Date: Fri, 19 Nov 2004 13:21:54 -0500

On 18 Nov 2004 at 20:22, Max Levine wrote:

> Hi, I need to ask you a MicroWorlds related question.  Attached to this
> e-mail is a project I am working on.  In the game, you can push the Ice ball
> thingy with the tractor.  Is there anyway to make it so that you can only
> push the Ice Ball if the tractor is touching the ice ball, AND only if the
> tractor and the Ice Ball thingy have the same y coordinate?  I cannot figure
> it out.  Please help!  Thanks a bunch!
> 
> Tractor2.mw2
> -Max
> 


Hi Max,

Tractor3 attached.

This line

ifelse 20 > abs (last ask "t1 "pos) - (last ask "t3 "pos)

means:

If the magnitud of the difference of the y coordinates of turtles
t1 and t3 is less than 20...



Daniel
OpenWorld Learning
http://mia.openworldlearning.org



Attachment: TRACTOR2.mw2
Description: Binary data

Attachment: TRACTOR3.mw2
Description: Binary data


  • Previous by thread: Reasons for using MWP/this service.
  • Next by thread: Lutz' .mwx files

  • 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