sharing small pieces of rocks or jewels I find on the way

Key.isDown unavailable in AS3

Unlike AS2 developers can’t use Key.isDown in AS3. But, while you are making a game like racing or people moving you must work with two/three key press which can’t be achieved without Key.isDown.

I was facing the same problem when one of my dev Zeeshan was working with car racing game. So, went for some Googling and found this http://www.kirupa.com/forum/showthread.php?p=2098269 Thanks Guru for the beautiful class.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: