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
Subject: MIA, Ask an Expert: Key Binding No Key
From: askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 09 Nov 2010 20:24:19 -0700

This is an automatic message sent from the web form at:
http://mia.openworldlearning.org/howdoi.htm

from:  <pjackson@xxxxxxxxxxx>
date: Tue Nov  9 20:24:19 2010
platform: PC
version: MicroWorlds 2.03

How do I make a turtle do an animation whilst not in motion, (When no key is 
pressed an object does an action.), whilst still using the following code:

to paddles
    getchoice
    t1,
    if :answer = "w [seth 0 fd 8 wait 0.5 ]
    if :answer = "s [seth 180 fd 8 wait 0.5]
    if :answer = "a [seth 270 fd 8 wait 0.5]
    if :answer = "d [seth 90 fd 8 wait 0.5]
end

to getchoice
make "answer readchar
end

Cheers.



  • Previous by thread: Re: move a turtle with the mouse
  • Next by thread: Re: MIA, Ask an Expert: Key Binding No Key

  • 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