Click 'n' key

Non-platform specific questions.

Click 'n' key

Postby willg101 » Wed Feb 09, 2005 10:57 pm

Is there any way to to check if an actor is being clicked on and if there is a certain key down at the same time? If so, please give example code.
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby makslane » Fri Feb 11, 2005 7:31 pm

In a Mouse Down event and use GetKeyState(); function.
Look this threads:

http://game-editor.com/forum/viewtopic. ... etkeystate
http://game-editor.com/forum/viewtopic. ... etkeystate
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest