Page 1 of 1

CUSTOM KEYS

Posted: Sat Jan 31, 2009 2:47 am
by zhulov3rz
i need help on custom keys coz i can think of some incomplete and complex methods...

Re: CUSTOM KEYS

Posted: Sat Jan 31, 2009 2:54 am
by Gillian
You post this in the flash game section. Maybe you can be more specific in your title and what you really want.

Re: CUSTOM KEYS

Posted: Sat Jan 31, 2009 4:32 am
by Montycarlo
Custom keys in flash are merely variables or array elements whose value is the key you wish to press.
Eg.

Code: Select all

attackKey = 65 // a
defendKey = 68 // d
if(Key.isDown(attackKey) && !Key.isDown(defendKey)){
}

Re: CUSTOM KEYS

Posted: Sat Jan 31, 2009 4:49 am
by Dracoplasm
Monty... Master of coding =D

Re: CUSTOM KEYS

Posted: Sun Feb 01, 2009 6:43 am
by zhulov3rz
Montycarlo wrote:Custom keys in flash are merely variables or array elements whose value is the key you wish to press.
Eg.

Code: Select all

attackKey = 65 // a
defendKey = 68 // d
if(Key.isDown(attackKey) && !Key.isDown(defendKey)){
}

lol thanks....
*edit : why didnt i think of that earlier*

Re: CUSTOM KEYS

Posted: Thu Apr 23, 2009 10:26 am
by gcool49
woah i don't know anything about coding

Re: CUSTOM KEYS

Posted: Wed Jun 10, 2009 4:50 pm
by liukinletoile
oh my freakin god! how do u play! wtf (hothead)

Re: CUSTOM KEYS

Posted: Sat Jul 25, 2009 9:16 am
by SillySilly
i totally hate coding.
I use gamemaker

Re: CUSTOM KEYS

Posted: Sun Aug 09, 2009 10:21 pm
by bboyz4
monty master coder lolz (exellent)