Beginning Lua

In this course, you'll learn the basics of the Lua programming language.
Course info
Level
Intermediate
Updated
Dec 2, 2013
Duration
2h 51m
Table of contents
Introduction
Variables, Expressions, Statements, Blocks
Functions and Data Structures
Object Oriented Code Organization
The Standard Library
Description
Course info
Level
Intermediate
Updated
Dec 2, 2013
Duration
2h 51m
Description

Lua is an extremely versatile and popular programming language that you’ll find embedded in many other applications like Adobe’s Lightroom or even World of Warcraft. Many developers are surprised to find that even very popular games like Angry Birds are written in Lua. In this course, you’ll learn how to quickly get started writing programs and scripts with Lua. I’ll take you through the basics of Lua, show you some tricks that demonstrate the Lua’s flexibility and even show you how to use Lua in an object oriented way. We’ll start off in this course by learning a bit about Lua itself and Lua’s history, as well as learn how to download Lua and use the popular SciTE IDE for creating and running Lua code. After we are setup and ready to develop some Lua code, we’ll learn the basics of Lua as we jump right in and build our first application. We’ll go over Lua’s type system and learn how to assign variables, utilize operators, use conditional logic and create loops. Once we’ve got the basics covered, we’ll explore two powerful concepts in Lua: functions and tables. We’ll learn how functions work in Lua and what makes them so powerful, and we’ll see how tables can be used for more than just storing simple data. Even though Lua itself doesn’t have a class construct, we’ll learn how to do object oriented programming in Lua using tables and metatables. Finally, we’ll wrap up the course by learning a little bit about the standard libraries that come with Lua. I’ll show you some examples of using some of the most useful functions in the standard libraries and show you where you can get more information about them.

About the author
About the author

John Sonmez is the founder of Simple Programmer (http://simpleprogrammer.com), where he tirelessly pursues his vision of transforming complex issues into simple solutions

More from the author
Developing for Leap Motion in C#
Intermediate
2h 53m
Oct 11, 2013
Creating A Chrome Extension
Intermediate
2h 41m
Sep 11, 2013
Practical IoC With ASP.NET MVC 4
Intermediate
2h 15m
Aug 26, 2013
More courses by John Sonmez