Book Image

Lua Game Development Cookbook

By : Mario Kasuba, Mário Kašuba
Book Image

Lua Game Development Cookbook

By: Mario Kasuba, Mário Kašuba

Overview of this book

Table of Contents (16 chapters)
Lua Game Development Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 2. Events

In this chapter, we will cover the following recipes:

  • Processing input events with LuaSDL

  • Using the keyboard input

  • Using the relative mouse position

  • Using the absolute mouse position

  • Using timers