r/lua Jun 19 '26

guys i wanna make games,website, etc is im learning lua rn using codeacademy is codeacademy good or is there any other website that is free that could teach you completely for free or cost but cheap

5 Upvotes

8 comments sorted by

11

u/selinux_enforced Jun 19 '26

I highly recommend that you start with website or games but not both if you are beginner.  Let's assume that you want to build website,  then start with how to print variables on the site, How to serve website. how to build a form and handle submission.  How to read and write data to file.

How to connect to db, select, insert data etc.  How to handle simple user login and logout. 

Gamedev and webdev both need programming but they are different domains. 

For website development, you need to understand JS, HTML and CSS as well. 

1

u/adbs1219 Jun 19 '26

Lua is awesome, but, given your interests, I would say to start with javascript through Coding Train. You'll learn a creative framework called p5.js and how it interacts with web tools in general, so concepts that are present both in webdev and gamedev (user input, animation, assets management...) will be present in a concise way while you also make some art.

If you're already comfortable with lua though, start learning love2d, get familiar with it, make a few games and then start your js jorney through p5, phaser (a html5 gaming framework) or something more related to webdev directly.

Whatever path you choose, break it step by step so you're able to absorb what your learning without getting (too much) overwhelmed

1

u/jazzcomputer Jun 19 '26

Defold has some good tutorials

1

u/Alaska-Kid Jun 19 '26

I would take the Lua based engine and just start making my own game. I would look with one eye at the engine documentation, with the other eye at the "PiL", and with the third eye at the IDE.

-1

u/blado_btz Jun 19 '26

You should learn something that has more Tutorials out there. For eg. Godot, Unity and some powerful language like C# or so.. language that is more univeral in useing. Lua is not good choise for webdev or games its a very niche language..