Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   While (a key) is pressed (http://www.alice.org/community/showthread.php?t=529)

Califer 11-29-2006 12:50 PM

While (a key) is pressed
 
I know that this function exists, since it is in the example world with the plane that flies through to loops, but I have not been able to find how to add that into the events. We're getting close to the point in class where that would be very useful to teach, so if anyone can point me in the right direction I would greatly appreciate it.

DrJim 11-29-2006 08:36 PM

Right click on the "When any key is typed" event.
 
First create a "When any key is typed" event and then right click on it. An option menu will appear - click on "change to" and the "While a key is pressed" option will come up.

(Note some of the other events have similar options but I haven't seen them well documented anywhere.)

EEK! 12-02-2006 07:25 PM

Thanks for that answer, Jim. I have been wondering that for months!


All times are GMT -5. The time now is 06:33 PM.

Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.