- Learning Windows 8 Game Development
- Michael Quandt
- 167字
- 2021-07-23 15:36:06
Chapter 3. Adding the Input
We have images on the screen, and we can see the start of a game forming, but it wouldn't be much of a game without some interactivity. The keyboard and mouse, gamepad, touch screen, or motion control—if you've played a video game then you have used one of these to tell the game what you want it to do. We need a way to play the game, and in this chapter we'll look at some of the different options that are available to get that input into the game, and add some interactivity.
Over the course of this chapter you'll learn how to add input to your game, and we'll take this further by explaining and understanding the different types of input, as well as how to use the different input devices in Windows 8.
You'll understand the following later in the chapter:
- Types of input
- The Pointer API
- Keyboard input
- XInput for the Microsoft Xbox 360 Controller
- RCNP實驗指南:構(gòu)建高級的路由互聯(lián)網(wǎng)絡(luò)(BARI)
- Learning QGIS 2.0
- Spring Cloud微服務(wù)架構(gòu)進(jìn)階
- PLC、現(xiàn)場總線及工業(yè)網(wǎng)絡(luò)實用技術(shù)速成
- 物聯(lián)網(wǎng)與無線傳感器網(wǎng)絡(luò)
- Getting Started with Grunt:The JavaScript Task Runner
- Mastering Dart
- 2小時讀懂物聯(lián)網(wǎng)
- 6G:面向2030年的移動通信
- 工業(yè)互聯(lián)網(wǎng)創(chuàng)新實踐
- 商業(yè)的本質(zhì)和互聯(lián)網(wǎng)
- 現(xiàn)場綜合化網(wǎng)絡(luò)運營與維護(hù):運營商數(shù)字化轉(zhuǎn)型技術(shù)與實踐
- 區(qū)塊鏈技術(shù)與應(yīng)用:打造分布式商業(yè)新生態(tài)
- 物聯(lián)網(wǎng)與智慧廣電
- SD-WAN 架構(gòu)與技術(shù)