Basic Keyboard Input using Typescript for HTML5 Games

This is covering some basic keyboard input in TypeScript for an HTML5 Asteroid shooter game. I have a keyboard input class that I created in a later keyboard input tutorial that does a better job of catching the keyboard input for games, but I cover the very basics in this tutorial.

I also cover some very basic object pooling. I'm planning on doing a much better tutorial on object pooling soon, so check back for that.

TypeScript Key Codes

Embed Games

To suggest an improvement, or just say hi, please contact me on twitter :-)

Follow @battagline or  Tweet to @battagline