i never got anyone that knows how to do this

Talk about making games.

i never got anyone that knows how to do this

Postby Kooldudese » Thu Oct 18, 2007 12:19 am

i have already posted this before, but it seemed that no one before knew how to do this, :( i want to ask if anyone knows how to do this now because i really need this for my game.
i want to know how to use the get key state function.
supposovly this:
Theres a function called 'remapKey'.

Theres two ways i know of to do it.

Number one is key to specific key, like changing '1' to '2':

remapKey(KEY_1, KEY_2);

Number two is key to last key pressed, which is:

remapKey(KEY_PAD_ENTER, getLastKey();

You could use number one with a key menu or use number two.

anyway, if anyone could make a deom to help me it would be very helpful!
Point for anyone who can answer and it actuelly works... :D
User avatar
Kooldudese
 
Posts: 128
Joined: Sat Jan 27, 2007 5:20 pm
Location: In a house
Score: 0 Give a positive score

Re: i never got anyone that knows how to do this

Postby DilloDude » Thu Oct 18, 2007 2:53 am

Is the problem remapping the keys or getting getKeyState to work with remapped keys?
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron