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