Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Black Guard on Sat 01/10/2005 06:40:58

Title: duke nukem style controls?
Post by: Black Guard on Sat 01/10/2005 06:40:58
Hi,
Is it possible to script in the arrow buttons and the ALT/CTRL buttons to use instead of/as well as the mouse, to make a platform Duke Nukem style game?
Title: Re: duke nukem style controls?
Post by: Gilbert on Sat 01/10/2005 08:28:15
yes.

Just check the on_key_press() function in the global script, and for more advanced stuff (like detecting the Ctrl key alone, etc.) look for IsKeyPressed() function from the manual.