r/lua • u/Due_Supermarket_1503 • Apr 19 '25
Help Lua learning
I have wanted to learn lua for a while but have not had the time, but now I do, so I am just curious whether how do I start? Because I took a look at couple videos and I have to be honest I did not understand or keep in mind any of that. If you guys would send me some useful resources or a starting point to learn lua I would appreciate it.
I am looking to learn LUA to look forward to creating games!
8
Upvotes
View all comments
4
u/esuvii Apr 19 '25 edited Apr 19 '25
First off is the Programming in Lua book, it is great (and there are online versions). Have you ever programmed in other languages before? If not something like codeacademy might be good. I have never taken it but they have a Lua course. I believe it is free if you signup although I am not 100% sure on that.
There are a ton of videos on YouTube for learning Lua. Here is one I just found: https://www.youtube.com/watch?v=f-v00iiqFOw I am not sure if they expect you to have a familiarity with coding in general or not though.
You can run Lua scripts from the command line, regardless of your operating system. However, if you do not have an IDE or are not familiar with the command line do not fear. You can get started playing around with Lua using one of many online interpreters, e.g. https://onecompiler.com/lua Long term you will benefit a lot from setting up some kind of workflow on your own machine to write and run code though.
It really helps to have a project in mind so you can have a goal you can set:
If none of these apply you could try Googling "coding problems" or "coding project ideas". There are so many website full of challenges to solve going from basic all the way to huge projects.