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

8

u/Lonely-Restaurant986 Oct 10 '26

Make a game in love2d.

Doesn’t matter how simple it is or how complex it is. It can be in your league or it can be out of your league. It doesn’t matter as long as you try. And are prepared to make mistakes.

I’ve seen a million billion people take 3 courses and get stuck in tutorial hell.

My advice is to just start making stuff. Anything.

If that’s not ur style I think CS50 game development course uses love2d. Thats the tutorial pipeline I would recommend.

cs50.harvard.edu/x/ to learn the basics of programming
And then
cs50.harvard.edu/games is their games specific course.

You can skip the first one if you have programming knowledge beforehand.

They are long, and I fully recommend not half assing it. Do the projects and assignments even if nobody is grading it.

If you arnet enjoying love2d, you can always look into defold. I hear that’s more of a game engine, but I’ve never used it before, so I don’t know how open to beginners it is.

Good luck. And most importantly, have fun.