- 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.
- Learn ECMAScript(Second Edition)
- Learning NServiceBus(Second Edition)
- 小程序,巧運營:微信小程序運營招式大全
- iOS編程基礎:Swift、Xcode和Cocoa入門指南
- C++寶典
- Getting Started with Eclipse Juno
- ASP.NET程序開發范例寶典
- Python商務數據分析(微課版)
- C#程序設計基礎入門教程
- C語言程序設計與應用實驗指導書(第2版)
- Apache Kafka 1.0 Cookbook
- HTML5 and CSS3:Building Responsive Websites
- Learning Gerrit Code Review
- Getting Started with Hazelcast
- Vue.js項目開發實戰