r/lua • u/Maxthebase • Apr 11 '25
Help Anyone know a good starting point?
I know literally nothing about coding, and the "tutorials" ive been searching up usually involve background knowledge i really don't have, anyone know what i should do to start out?
7
Upvotes
4
u/boscobeginnings Apr 11 '25
What do you know? What do you think you know?
I just started myself but starting with “100 seconds of lua” on YouTube was great. I went to GPT and ask it to teach me basic lua with simple single problem leet like problems and went from there.
4
u/TheKnoxFool Apr 11 '25
Think of what you want to build and start small. I mean really small. Break it down into tiny things and then learn as you go. Read the documentation and ask ChatGPT how things work; as in, “how do tables (AKA, arrays) work in LUA?”, stuff like that.
Don’t ask it to solve problems unless you’re absolutely stumped, and when you do ask it for solutions and you implement it, make sure you understand every single thing it does so you can implement it yourself the next time.
2
u/gamlettte Apr 11 '25
There is a learning cycle:
At some point, your changes to the code will not break it, but change, and you will feel more free to do something by yourself.
12
u/DapperCow15 Apr 11 '25
Literally just read the manual. It is more than enough information to become proficient in Lua.
https://www.lua.org/manual/
4
u/[deleted] Apr 11 '25
My 2 cents are that you need a fun place to use Lua to make cool stuff you care about
I would never have sat through learning to code if I wasn't using it to make cool stuff all the time in a game I play
1
u/babies_haveRabies Apr 11 '25
This is the only good YouTube tutorial I ever found. Every other YouTuber overexplains every-fucking-thing, dragging out the video and making it more confusing than it needs to be.
Though, as another commenter said, the manual is also good enough, but I don't know if you'd prefer video form or not.
3
u/SkyyySi Apr 11 '25
The best starting point is to have a problem you want to solve / a thing you want to do, and then researching how to do it.
1
u/[deleted] Apr 11 '25
Why lua? why not something else? are you on windows?
2
u/HawH2 Apr 11 '25
Unless you're some super intelligent person who can pick things up instantly, you have to learn it bit by bit.
Firstly learn all the basic syntax then ask chatgpt to throw you some task keep doing this till you get comfortable then find a tutorial where you build something and follow then make it again without watching
1
u/revereddesecration Apr 11 '25
Have you tried something like this?
https://chatgpt.com/share/67f88fa6-e0d8-800b-8945-9feed2c5ef1a
1
u/Ok_Sandwich_7903 Apr 11 '25
Want something different? Grab a copy of the Pico-8 game engine, Game Development with PICO-8 - Issue 1 by MBoffin (Dylan Bennett) < this and learn Lua that way and have some fun along the way?
1
u/xoner2 Apr 12 '25
There is no book
learn programming with lua. So I recommend starting with another language, try K&R book.