SimpleHelp (AS2): Using All Keyboard Keys

SimpleHelp (AS2): Using All Keyboard Keys

oleh pproductions
Laporkan bug
Laporkan Game
Loading ad...

SimpleHelp (AS2): Using All Keyboard Keys

Rating:
2.8
Dirilis: September 26, 2009
Terakhir diperbarui: September 27, 2009
Pengembang: pproductions

Tag untuk SimpleHelp (AS2): Using All Keyboard Keys

Deskripsi

Tutorial ini cocok untukmu jika ingin tahu cara menggunakan tombol seperti W-A-S-D di game kamu! Catatan: Ini adalah tutorial, bukan game. Bahkan ada di kategori tutorial.

Cara Bermain

Klik. Baca. Gunakan.

Komentar

0/1000
Fitsch avatar

Fitsch

Jan. 09, 2010

0
0

@ nobody227

this tells me typdiscrepance

nobody227 avatar

nobody227

Jan. 06, 2010

0
0

another way to do this is to use the following:
if(Key.isDown(ord("a")))
{
//do something here.
}
"a" can be replaced with any character.
the trick is that the global function ord(value:String):Number
returns the ASCII number associated with the contents of the String
ord("a") returns 65
ord("b") returns 66
and so on...
Have a nice day! :D

Heylon avatar

Heylon

Dec. 19, 2009

0
0

All well and good :) Suggestion: Make an inbuilt key code calculator it would make it more popular(Get more game revenue!). It would be easy to do. And it is alphabet number + 64 guys remember 1 + 64 = 65 witch is the key code for "a". It is not 65 like some of you are saying, trust the tutorial :)
Great job 5/5.

millerking08 avatar

millerking08

Nov. 07, 2009

0
0

YES! finally i know how to do this :):):):):)

fatihkutay avatar

fatihkutay

Oct. 04, 2009

0
0

Nicely done tutorial.