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: askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: MIA, Ask an Expert: arrow keys
From: askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 27 Apr 2008 12:22:42 -0600 (MDT)

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

from: Anonymous <cwj484@xxxxxxx>
date: Sun Apr 27 12:22:42 2008
platform: PC
version: MicroWorlds Ex

I am working on a maze. The down botton on my computer but not the left, 
right, or uo botton work.
to steer
t1,
make "key ascii readchar
if :key = 37 [seth 270]
if :key = 38 [seth 0]
if :key = 39 [seth 90]
if :key = 40 [seth 180]
end

to bump
t1,
forever [
if colorunder = 65 [setpos [-304 189] announce [You Lose!] stopall]
if colorunder = 105 [setpos [-304 189] announce [You Win!] stopall]
]
end


to go
setpos [-304 189]
seth 90
forever [fd 3 wait .5]
steer
bump
end

That is my proceder.
What am I doing wroung?





  • Previous by thread: Matching Game
  • Next by thread: RE: MIA, Ask an Expert: arrow 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