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

Introduction


This chapter covers the basic principles of using the graphical interface in conjunction of LuaSDL with OpenGL. It covers basic operations on surface objects, using color models, cursor manipulation, image loading, and using textures and fonts. It also contains a few examples of game engine optimizations such as texture atlas and tilesets.

These recipes can be enhanced with the information from subsequent chapters to get better efficiency on resource handling.