Back Stephen Dodd Tech Game Development Blog Code

Keyboard event game input map

Example of 2d game player movement on how to create a generic player input map control system for HTML keyboard events in a javascript typescript game.

© Stephen Dodd 2022