can anyone make me a little tut on this?
Thanx guys...
Posted: Wed Nov 26, 2003 1:19 pm
by makslane
Use this function to redirect any keys.
In your game, actor shot with KEY_RCTRL.
Your user can change this in a configuration screen:
In a KeyDown event, put this:
remapKey(getLastKey(), KEY_CTRL);
Now, the key pressed by user, will be redirected to KEY_CTRL, so you don't need to change your defaults game keys.
ingsan
Posted: Mon Dec 01, 2003 1:02 pm
by ingsan
Cool...ThanX Maxslane!
??
Posted: Mon Dec 01, 2003 1:09 pm
by ingsan
Well i'm thinking,maxslane,do u remember this jump and Climb problem?
So,With this method,would i be able to remap another "action" on my KEY_UP?
ex first Up_Key is y=y+40;
second Up_Key becomes yvelocity=-4;