Computer Science Canada Mouse Help |
Author: | dic [ Wed Feb 01, 2006 4:31 pm ] |
Post subject: | Mouse Help |
im pretty new to turing, and im curious if there is a way to output the command only when the mouse button is down. i want to do a game like the helicopter game http://www.hurtwood.demon.co.uk/Fun/copter.swf thanx in advance |
Author: | Andy [ Wed Feb 01, 2006 4:57 pm ] |
Post subject: | |
F9 mousewhere |
Author: | redrenagade [ Thu Feb 02, 2006 5:00 pm ] |
Post subject: | |
Mouse where works fine. You could also try to assign a boolean value that is false and becomes true whenever the mouse is down. That way you can have a procedure that works whenever the mouse is down. |
Author: | iker [ Thu Feb 02, 2006 8:53 pm ] | ||
Post subject: | |||
redrenagade wrote: Mouse where works fine. You could also try to assign a boolean value that is false and becomes true whenever the mouse is down. That way you can have a procedure that works whenever the mouse is down.
OR
which takes less code then including a boolean[/b] |