- Lua Game Development Cookbook
- Mário Ka?uba
- 152字
- 2021-07-16 13:23:08
Introduction
Event-driven design offers a cheap and efficient way to detect user input without the need to check for input device status in each frame. A na?ve approach to this is to query all input devices for changes in their state. There are many types of input devices such as keyboard, mouse, joystick, keypad controller, tablet, touch screen, and so on. LuaSDL relies on the library libSDL 1.2, which supports only basic input devices such as keyboard, mouse, and joystick. This version doesn't support the use of multiple devices of the same kind. This limitation has been removed with libSDL 2.x, which is used in LuaSDL 2. LuaSDL 2 is the successor of a former LuaSDL library and it's in the stage of early development at the time of writing. This chapter will cover the use of an older LuaSDL library, as the LuaSDL 2 interface is not so different.
- Building a Quadcopter with Arduino
- 零基礎學Python數據分析(升級版)
- Python完全自學教程
- 深入淺出Serverless:技術原理與應用實踐
- Integrating Facebook iOS SDK with Your Application
- 區塊鏈國產化實踐指南:基于Fabric 2.0
- Java Web開發實例大全(基礎卷) (軟件工程師開發大系)
- 算法圖解
- Elasticsearch Blueprints
- Python數據預處理技術與實踐
- Java 9:Building Robust Modular Applications
- Java網絡編程實用精解
- 面向物聯網的Android應用開發與實踐
- VC++ 2008專題應用程序開發實例精講
- Instant JRebel