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
7
u/Natan_Human_Sciences Apr 19 '25
You could buy "Programming in Lua". You could read at halftime, in your high school...
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.
1
u/adibfhanna Apr 19 '25
I made a video ago about it https://www.youtube.com/watch?v=NneB6GX1Els
It's not too detailed, but hopefully it can serve you as a starting point
1
u/DapperCow15 Apr 20 '25
I suggest never learning programming languages through videos. You need to learn by doing, and the closer you can get to muscle memory, the faster you'll learn it and retain what you have learned.
For other languages, this might be different, but Lua's manual is actually incredibly well-written, and I'd recommend doing a small starter project as you read it, so you can practice what you learned, figure out things you might have misunderstood, and get a good grasp on the language entirely.
1
u/MisterXinji Apr 21 '25
im not gonna lie the very basic and have many video tutorial would be cheat engine lua script i completely learned lua script for only 6 month here’s the basic link aswell https://wiki.cheatengine.org/index.php?title=Tutorials:Lua:Basics#google_vignette
-2
u/Bedu009 Apr 19 '25
STOP POSTING THIS OMFG THIS IS POSTED DAILY