
Lua Quick Start Guide
The easiest way to learn Lua programming
Gabor Szauer(Author)
Packt Publishing
Published on 27. July 2018
Book
Paperback/Softback
202 pages
978-1-78934-322-9 (ISBN)
Description
The easiest way to learn Lua programming
Key Features
The easiest way to learn Lua coding
Use the Lua standard libraries and debug Lua code
Embed Lua as a scripting language using the Lua C API
Book DescriptionLua is a small, powerful and extendable scripting/programming language that can be used for learning to program, and writing games and applications, or as an embedded scripting language. There are many popular commercial projects that allow you to modify or extend them through Lua scripting, and this book will get you ready for that. This book is the easiest way to learn Lua. It introduces you to the basics of Lua and helps you to understand the problems it solves. You will work with the basic language features, the libraries Lua provides, and powerful topics such as object-oriented programming. Every aspect of programming in Lua, variables, data types, functions, tables, arrays and objects, is covered in sufficient detail for you to get started. You will also find out about Lua's module system and how to interface with the operating system.
After reading this book, you will be ready to use Lua as a programming language to write code that can interface with the operating system, automate tasks, make playable games, and much more. This book is a solid starting point for those who want to learn Lua in order to move onto other technologies such as Love2D or Roblox.
A quick start guide is a focused, shorter title that provides a faster paced introduction to a technology. It is designed for people who don't need all the details at this point in their learning curve. This presentation has been streamlined to concentrate on the things you really need to know.
What you will learn
Understand the basics of programming the Lua language
Understand how to use tables, the data structure that makes Lua so powerful
Understand object-oriented programming in Lua using metatables
Understand standard LUA libraries for math, file io, and more
Manipulate string data using Lua
Understand how to debug Lua applications quickly and effciently
Understand how to embed Lua into applications with the Lua C API
Who this book is forThis book is for developers who want to get up and running with Lua. This book is ideal for programmers who want to learn to embed Lua in their own applications, as well as for beginner programmers who have never coded before.
Key Features
The easiest way to learn Lua coding
Use the Lua standard libraries and debug Lua code
Embed Lua as a scripting language using the Lua C API
Book DescriptionLua is a small, powerful and extendable scripting/programming language that can be used for learning to program, and writing games and applications, or as an embedded scripting language. There are many popular commercial projects that allow you to modify or extend them through Lua scripting, and this book will get you ready for that. This book is the easiest way to learn Lua. It introduces you to the basics of Lua and helps you to understand the problems it solves. You will work with the basic language features, the libraries Lua provides, and powerful topics such as object-oriented programming. Every aspect of programming in Lua, variables, data types, functions, tables, arrays and objects, is covered in sufficient detail for you to get started. You will also find out about Lua's module system and how to interface with the operating system.
After reading this book, you will be ready to use Lua as a programming language to write code that can interface with the operating system, automate tasks, make playable games, and much more. This book is a solid starting point for those who want to learn Lua in order to move onto other technologies such as Love2D or Roblox.
A quick start guide is a focused, shorter title that provides a faster paced introduction to a technology. It is designed for people who don't need all the details at this point in their learning curve. This presentation has been streamlined to concentrate on the things you really need to know.
What you will learn
Understand the basics of programming the Lua language
Understand how to use tables, the data structure that makes Lua so powerful
Understand object-oriented programming in Lua using metatables
Understand standard LUA libraries for math, file io, and more
Manipulate string data using Lua
Understand how to debug Lua applications quickly and effciently
Understand how to embed Lua into applications with the Lua C API
Who this book is forThis book is for developers who want to get up and running with Lua. This book is ideal for programmers who want to learn to embed Lua in their own applications, as well as for beginner programmers who have never coded before.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 12 mm
Weight
388 gr
ISBN-13
978-1-78934-322-9 (9781789343229)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

E-Book
09/2024
Packt Publishing
€23.49
Available for download
Person
Gabor Szauer has been making games since 2010. He graduated from Full Sail University in 2010 with a bachelor's degree in game development. Gabor maintains an active Twitter presence, and maintains a programming-oriented game development blog. Gabor's previously published books are Game Physics Programming Cookbook and Lua Quick Start Guide, both published by Packt.
Content
Table of Contents
Introduction to LUA
Working with LUA
Tables and Objects
LUA Libraries
Debuging LUA
Embedding LUA
LUA Bridge
Next Steps
Introduction to LUA
Working with LUA
Tables and Objects
LUA Libraries
Debuging LUA
Embedding LUA
LUA Bridge
Next Steps