b/mixedft by lamyen247

Developing HTML5 Games from Scratch: Handling Input

This post was published 9 years ago. Download links are most likely obsolete. If that's the case, try asking the uploader to re-upload.

Developing HTML5 Games from Scratch: Handling Input

MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 1 Hours | 178 MB
Genre: eLearning | Language: English

Once you've gotten the hang of animation in your HTML5 games, you'll want to make them interactive. When it comes to input, there are many options to choose from, including keyboard, mouse, and touch. And some browsers are even making early efforts at including gamepad support. The challenge for developers is that there are many different device form factors that you may want to support, and each tends to favor a particular input paradigm, with the most obvious being that mobile devices will largely rely on touch. In this video, we'll look at how to handle all these forms of input, and how to tie the event-driven world of input into the game loop, updating the state of game elements, to put the user in control.

Screenshots

Developing HTML5 Games from Scratch: Handling Input