Lua is a popular language for game development and used to script add-ons etc. I have always wanted to learn more about Lua in a game development sense. But learning Lua can be daunting, especially if you don’t have the right tools or the right teacher. You can look for tutorials on the internet but they are few and far between, and the quality can vary dramatically. It is difficult for beginners to get a firm grasp on content when their only option is to navigate the technical documentation that can sometimes baffle even the most seasoned programming veteran.

Love Lua Level!

I discovered that I can hit two birds with one stone with a book from Packt Publishing called LÖVE for Lua Game Programming. With this great book you can begin learning Lua and game development at the same time (not bad!). How can you do that exactly? Well that’s where the LÖVE framework comes in. LÖVE is a easy to learn open-sourced game framework to get you creating 2D games quickly and professionally with no cost (The framework is free!). I have been following the tutorials in the book and after a very short time and I was already coding user input to make sprites move across the screen.

A pro tip: If you are using Notepad++ make sure you set the encoding to UTF-8. By default mine was ANSI and the Lua file wouldn’t compile.

Overall the book was worth it and pretty cool. I would recommend it to anyone who is looking for a quick and easy way to jump into game development for the desktop. Also learning Lua is quite impressive too, once you’ve learned the basics you can use this to leap into more complex scripting and possibly make your own custom ad-on to almost any popular desktop games.


This is an ad!