Be a Supporter!

BoMToonsBoMToons

Main News Movies Games Art Favorites Reviews Stats 3,027 Fans
Follow BoMToons

Entry #153

Key code mapping tutorial

2014-01-14 15:04:45 by BoMToons
Updated

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.


WickedGuy321WickedGuy321

2014-01-15 12:10:47

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

BoMToons responds:

it will be a free web game when it comes out


MSGheroMSGhero

2014-01-14 17:12:49

I have the important ones memorized at this point.

BoMToons responds:

A=65
P=80

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


WhirlguyWhirlguy

2014-01-14 15:21:59

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

BoMToons responds:

*high ten*