CUSTOM KEYS

Talk about flash games that you've played or need help with.
Post Reply
User avatar
zhulov3rz
Mushroom
Posts:85
Joined:Sat Jan 10, 2009 7:37 am
Location:C:\Program Files\WIZET\Maple Story\DataBase\pigdude.cif
Contact:
CUSTOM KEYS

Post by zhulov3rz » Sat Jan 31, 2009 2:47 am

i need help on custom keys coz i can think of some incomplete and complex methods...

User avatar
Gillian
Free sunscreen monkeyleg
Free sunscreen monkeyleg
Posts:552
Joined:Mon Jan 01, 2007 12:00 am
Location:The Netherlands
Contact:

Re: CUSTOM KEYS

Post by Gillian » Sat Jan 31, 2009 2:54 am

You post this in the flash game section. Maybe you can be more specific in your title and what you really want.

User avatar
Montycarlo
Zombie Mushmom
Posts:473
Joined:Sat Jan 10, 2009 12:30 am
Location:Melbourne, Australia.
Contact:

Re: CUSTOM KEYS

Post by Montycarlo » Sat Jan 31, 2009 4:32 am

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)){
}

User avatar
Dracoplasm
Zakum
Posts:1970
Joined:Tue Jan 27, 2009 1:02 am

Re: CUSTOM KEYS

Post by Dracoplasm » Sat Jan 31, 2009 4:49 am

Monty... Master of coding =D

User avatar
zhulov3rz
Mushroom
Posts:85
Joined:Sat Jan 10, 2009 7:37 am
Location:C:\Program Files\WIZET\Maple Story\DataBase\pigdude.cif
Contact:

Re: CUSTOM KEYS

Post by zhulov3rz » Sun Feb 01, 2009 6:43 am

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*

User avatar
gcool49
Jr.Balrog
Posts:549
Joined:Wed Jan 21, 2009 6:10 am
Location:Singapore

Re: CUSTOM KEYS

Post by gcool49 » Thu Apr 23, 2009 10:26 am

woah i don't know anything about coding

User avatar
liukinletoile
Snail
Posts:1
Joined:Wed Jun 10, 2009 4:36 pm

Re: CUSTOM KEYS

Post by liukinletoile » Wed Jun 10, 2009 4:50 pm

oh my freakin god! how do u play! wtf (hothead)

User avatar
SillySilly
Horny Mushroom
Posts:94
Joined:Fri Jun 05, 2009 3:08 pm

Re: CUSTOM KEYS

Post by SillySilly » Sat Jul 25, 2009 9:16 am

i totally hate coding.
I use gamemaker

User avatar
bboyz4
Horned Tail
Posts:2727
Joined:Tue Apr 21, 2009 4:45 am
Location:Honolulu,Hawaii
Contact:

Re: CUSTOM KEYS

Post by bboyz4 » Sun Aug 09, 2009 10:21 pm

monty master coder lolz (exellent)

Post Reply