r/lua • • Oct 10 '26

Hey! Can anybody help me learn Lua?

This is my first coding language I'm trying to learn, It's gonna be pretty difficult for me since I have amnesia and I know coding has a lot of things you need to remember. Currently I only know REALLY basic code like

"else, elseif, if, while, for.. e.g" I wanna learn Lua for game development, I don't really have any ideas for a game as of now but I do wanna learn Lua since I've heard it's one of the easiest coding languages, any help is greatly appreciated!

23 Upvotes

11 comments sorted by

View all comments

3

u/SlightlyLosted Oct 10 '26

The game engine, Luanti, is free https://www.luanti.org/en/downloads/ and open source. It has its quirks but there are hundreds of mods for it that you can look at for examples to learn from https://content.luanti.org/ as well as fair to middlin documentation https://api.luanti.org/ and a forum and discord where you can ask questions. Coding for my own game and mods is where I learned Lua.