duke nukem style controls?

Started by Black Guard, Sat 01/10/2005 06:40:58

Previous topic - Next topic

Black Guard

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?
Project: One Halo adventure game. Team needed. PM me.

Gilbert

#1
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.

SMF spam blocked by CleanTalk