Tags
Language
Tags
March 2024
Su Mo Tu We Th Fr Sa
25 26 27 28 29 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 1 2 3 4 5 6

Developing HTML5 Games from Scratch: Handling Input

Posted By: naag
Developing HTML5 Games from Scratch: Handling Input

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.

Developing HTML5 Games from Scratch: Handling Input