JavaScript Game Controls
Pure JavaScript demo of game control mechanisms for the MDN Games articles.
end3r.github.io/JavaScript-Game-Controls
Online demo:Implementing game control mechanisms
Articles:- Mobile touch controls
- Desktop mouse and keyboard controls
- Desktop gamepad controls
- Unconventional controls
Licensing
This game demo is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). See the human-readable summary or legalcode for details.
Under this license you are permitted to remix/reuse/redistribute my work as long as you credit me (Andrzej Mazur) for the original work and don’t use it for commercial purposes. If someone does wish to use it in a commercial context, they should e-mail me at andrzej.mazur@end3r.com to discuss the terms of use.