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>
Subject: Re: touching is not working in some situation
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Thu, 13 May 2010 16:18:46 -0500

On Thu, 13 May 2010 06:12:46 -0500, zehava wizman <zehavawi1@xxxxxxxxx> wrote:

> Hello Forum!
> In the attached file when I click on the missle (t3), its does the clickoff 
> instruction when it touched "t1 ( the black wall) ,but when I did it while 
> pushing the danger button, get the announce, and then push the "send_missle' 
> button its didn't do the instruction "t3, clickoff"/
>  WHY?

You were making the missile move with two different strategies. 

1. using "clickon"
2. using tto [ t3 t4 ] ...

You also needed to specify which turtle should stop, look at the OnTouching 
rule of the wall.

project attached

Attachment: touching_missle.mwx
Description: application/mwx-plugin

  • Previous by thread: touching is not working in some situation
  • Next by thread: respond to mouse *and* keys

  • 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