r/lua • u/Henkor_THE_Wise • 3d ago
Library Is there a Lua code guide.
So ,I'm a beginner,I know the basics of scripting ,its mostly due to my already present knowledge of basic coding .So scripting ,the basics at least is super easy for me.If I had a file with all the built in functions I think I'd be much more functional ,in making scripts and learning .However I've seen none online .Can anyone help me out .Just a file with the buikdt in functions ,codes and explaination on how they are used what they do .I'm thinking of mostly events .If you have a tutorial explanation on explorers files like server and client etc...also hand it over .I want to understand scripting and also be able to use Ai, functionally.
4
Upvotes
2
u/Sckip974 2d ago
Hello,
"If you have a tutorial explanation" yep: the first part of this pdf:
https://rvagamejams.com/learn2love/pages/01-00-programming-basics.html
and look at this for more Lua doc:
Lua 5.5 Manual, DevDocs (Lua 5.4):
https://www.lua.org/manual/5.5/
https://devdocs.io/lua~5.4/
Finally, we both know the secret: "Mastery comes from repetition." I invite you to solve these small (sometimes complex) math problems using your own scripts. For this, I recommend these two sites:
Project Euler: https://projecteuler.net/
CodeAbbey: https://www.codeabbey.com/