Support NATA 2014

BoMToonsBoMToons

Main News Movies Games Art Favorites Reviews Stats 2,933 Fans
Follow BoMToons

Entry #153

Key code mapping tutorial

1/14/14 by BoMToons
Updated 1/14/14

I found myself using some code over and over and constantly visiting this one site to get as3 keycodes, so I thought maybe the code I wrote might be useful to others. I really hope there's not already a built-in way to do this in as3 :-P

Mapping key codes to text names:

http://www.newgrounds.com/bbs/topic/1358795

EDIT: After some discussion in the forums, http://milchreis.newgrounds.com/ came up with a much more elegant solution.

Here's a .swf: http://www.newgrounds.com/dump/item/9db15013684d6c22005bc9f3335935c8

And here's the .fla (cs5.5): http://www.newgrounds.com/dump/item/d7d2f4bbb27686e35675e9bad8205cff

 

Also, the Labyrinth game is done, just waiting on the sponsor to launch it officially!1405066_138972984172_featureimg.png


Comments

You must be logged in to comment on this post.


where can i download this game i want to play for free please

1/15/14 BoMToons responds:

it will be a free web game when it comes out


MSGheroMSGhero

1/14/14

I have the important ones memorized at this point.

1/14/14 BoMToons responds:

A=65
P=80

That's about all I can remember without looking... :-(


WhirlguyWhirlguy

1/14/14

Luis showed me some of the progress on Labyrinth lol. I'm pretty excited for it!

1/14/14 BoMToons responds:

*high ten*