Testing for clicks.

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Testing for clicks.

Hey, Squeaklanders,

        My son is trying to set up a game that follows certain RTS (real-time  
strategy) conventions. In particular, he wants the user to be able to  
left-click on a unit and then right click on a place in the world where  
the user is supposed to go.

        This, of course, requires being able to test where the user is clicking,  
and distinguishing from right and left clicks. Doable?

Squeakland mailing list
[hidden email]