[Thread Prev] [Thread Next]
Hi,
First, your procedure is checking if t4?s shape is 8 or 11. That?s not the
right turtle. T1 is using this shape
Also, at the moment you are checking this, t1 doesn?t have that shape
anymore. It has that shape only momentarily, then it goes back to its
original shape, and THEN you check for collision and shape. This will always
be true.
A good way to debug this consists of copying your instruction
if (and touching? "t1 "t4 or 8 = t1's [shape] 11 = t1's [shape])
in the command center, replace IF with SHOW
show (and touching? "t1 "t4 or 8 = t1's [shape] 11 = t1's [shape])
and check if you get a false or a true
AT
-----Original Message-----
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of zehava
wizman
Sent: February 12, 2007 8:43 AM
To: forum microworlds
Subject: problem with touching while identify the shape
Hello Forum!
thanks you Daniel, Mike and Alain, your answers helped me to solve many
problems, but now I face a new one.
The procedure Direct (in the attaced project) has to check whether there is
a clash between "t1 "t4 but the condition should be actived only if the
clash happened when "t1 has the shape 8 or 11
(The shape is changed when pushing key no. 32), but it does'nt happen. WHY
(maybe the changing is too fast or something else????)
thanks, Zehava Wizman
_____
Check out the all-new Yahoo! Mail beta
<http://us.rd.yahoo.com/evt=43257/*http://advision.webevents.yahoo.com/mailb
eta> - Fire up a more powerful email and get things done faster.
Previous by thread:
problem with touching while identify the shape
Next by thread:
Startup page
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.
|