Corona SDK isn’t a programming language, it’s a framework. A bunch of “library routines” that take care of stuff under the hood (displaying graphics, playing sounds, etc.). But we still need a programming language to write our game code and call those framework routines.
Corona SDK uses the Lua language (lua means moon in Portuguese). I’ve been programming since the mid-80s but never even looked at Lua until I discovered Corona SDK. Now, after using it for about two years I don’t have any desire to use any other language.
This “Boot Camp” isn’t going to teach you everything you need to know about Lua, but it’s a great start. With these videos as a foundation you’ll be able to dive into the actual game dev videos much easier.
Note: No extra sample code for this section.
Introduction to Lua (4:01)
Just a quick note — there are some reserved words in Lua that are NOT available for use as a variable name. Those are:
and break do else elseif end false for function goto if in local nil not or repeat return then true until while
If you want to use one of those as a variable name, don’t 🙂
Lua Functions (7:59)
Lua Tables (5:38)
Lua Control/Loops (10:49)
Intermediate: Passing Parameters (6:11)
Back to the Game Dev Dashboard