Posts by Dr. Burton:
In this tutorial, part 4 of our series on learning Lua scripting, we will look at some of the tools available for working with Strings in Lua.
Concatenation in an important concept in all programming languages. In Lua, concatenation is accomplished by using two periods in a series or ..
There are many escape sequences available in Lua including newline:
The example adds a new line (\n), a tab at the beginning of the newline (\t), and quotes around the word “newline”. One caveat to using escape sequences; they do not require any spaces around them.
One last tip for creating strings in Lua. If you want to create a multi-line string, you can use [[ ]] to encapsulate the string.
Programming in Lua by Roberto Ierusalimschy, one of the lead architects of Lua. Great technical intro to the language.
Lua 5.2 Reference Manual also by Roberto Ierusalimschy, is, as the name implies, a less expensive reference manual. Useful for the experienced coder who just needs to look up some of the details of
Lua Programming Gems by L. de Figueiredo, W. Celes, and R. Ierusalimschy is an older (2008) collection of code snippets that can be useful.
We used the Zerobrane editor in all of our video demonstrations.
We have several books on Corona and Amazon Lumberyard (both of which use Lua as their scripting language):
Learning Mobile Application & Game Development with Corona – Learn to program in Lua and how to make mobile apps! eTextbook for those who are new to programming.
Beginning Mobile App Development with Corona – Introduces mobile application development for those who already know how to program.
Game Design Fundamentals with Amazon Lumberyard – For those who are new 3D Game development, this eTextbook introduces how to make a game using Blender, GIMP, and Amazon Lumberyard.
The idea of writing a textbook on the Lua Scripting language has been floated to me. While I greatly value Dr. Ierusalimschy, our styles of instruction are very different. Leave me a comment if you would like to see a Lua Scripting textbook.
Next Lesson: Part 5 – Math and Math Library
Part 3 of our tutorial series on the Lua scripting language. In this tutorial we explore the variable system in Lua. Lua uses an untyped variable declaration system. That means that you do not need to decide on what type a variable is, just declare it with the keyword local. Lua variables can store nil, […]
In this Learning Lua Scripting tutorial, we will cover the use of print for displaying information to the console and how to comment a line. Tutorial While I go into a much longer explanation in the video, here is the least you need to know: Using print, you can easily see where you are at […]
Lua has become an important player in the world of scripting. It is the scripting language used in Amazon Lumberyard, Corona SDK, World of Warcraft, Adobe Lightroom, Love2D and many, many other systems. Why Lua? Lua has become so popular because it is very light weight to include as a scripting language (37K!), it is […]
Burtons Media Group is dedicated to providing the connection between technology and education. We have 3 textbook nearing completion: Game Design Fundamentals with Amazon Lumberyard: Space Explorer – teaches the full 3D game development pipeline using only free resources: Blender, GIMP, and Amazon Lumberyard. You will build and publish a basic space shooter! Current version: […]
The Lua scripting language has been rapidly gaining in popularity over the last several years. It is now the core of many popular tools including (but not limited to) Corona SDK, Amazon Lumberyard, Autodesk Stingray, and WoW. As I have been preparing for my classes, I recognized that a series of tutorials in the Lua […]
So you want to make that killer game ?! If you want to jump into making the game, then you don’t want to spend time writing the engine (rendering, physics, sound, etc). Here are a few top picks in game engines: Cocos2D Cocos2D is an open source (free) engine (LGPL MIT license) available for developing […]
We have been working on several new textbooks here a Burtons Media Group. Isometric Game Development with Corona SDK (tentative title) is a new, intermediate level book that shows how to create isometric-style games using the Corona SDK. Game Development Fundamentals: Lumberyard & Blender (tentative title) is a new series on developing games using Amazon […]
There are many exciting projects in the works here at Burtons Media Group. We have been spending a lot of time in the cloud lately. There are several books, apps, and games in development that are dependent on a strong backend service to handle the multi-player/multi-user aspects. We have settled on Coronium.io and Coronium.GS for handling […]
While I have made an effort to document all of the composite, effects, and generators for Graphics 2.0 in my Corona books (see the Books tab above), there were a few that do not have a direct translation to a similar effect in Photoshop or other graphic editing tool. Thus, I thought I would take […]