00:00
00:00
BoMToons
So many times, it happens too fast...you trade your passion for glory. Don't lose your grip on the dreams of the past, you must fight just to keep them alive.

Age 44, Male

Software Engineer

Somewhere in Nevada...

Somewhere in California..

Joined on 11/29/05

Level:
40
Exp Points:
17,170 / 17,760
Exp Rank:
1,360
Vote Power:
8.10 votes
Audio Scouts
1
Art Scouts
10+
Rank:
Police Officer
Global Rank:
14,805
Blams:
242
Saves:
415
B/P Bonus:
10%
Whistle:
Gold
Trophies:
59
Medals:
1,394
Supporter:
9y 1m 23d
Gear:
17

Key code mapping tutorial

Posted by BoMToons - January 14th, 2014


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

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

*high ten*

I have the important ones memorized at this point.

A=65
P=80

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

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

it will be a free web game when it comes out