Posted: 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
Sponsor Sponsor
Andy
Posted: Wed Feb 01, 2006 4:57 pm Post subject: (No subject)
F9 mousewhere
redrenagade
Posted: Thu Feb 02, 2006 5:00 pm Post subject: (No 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.
iker
Posted: Thu Feb 02, 2006 8:53 pm Post subject: (No 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
code:
if button = 1 then
...
which takes less code then including a boolean[/b]