Categories > Coding > Lua >

learning lua

Posts: 206

Threads: 18

Joined: Sep, 2022

Reputation: 17

Posted

What's the best way to learn Lua with no past coding experience?

 

I'm in no rush to learn the language

  • 0

Posts: 1

Threads: 0

Joined: Jul, 2022

Reputation: 0

Replied

If you do not have any coding experience. I highly recommend you learn the fundamentals like


-Variables ( local VARAIBLE_NAME = VALUE; )

 

-Data Types (  Integer, String, Object, Array )


-Functions and Function Calls

 

-Operators 

--Arthemetic Operators ( + , - , *, / , %)

--Increment/Decrement Operators ( ++, -- )

--Relational Operators ( <, > , == )

--Logical Operators ( AND( && ), OR( || ), NOT( ! ) ) 

--Assignement Operators ( = )

--Arithemetic Assignment Operators ( +=, *= , -= , /= )

 

-Arrays And it's Methods ( local VARAIBLE_NAME = [ITEM_IN_INDEX_1,ITEM_IN_INDEX_2..] )

 

-Loops (for loop , while loop etc)

 

-If Else Statements

 

-Objects ( local VARAIBLE_NAME = { KEY_1/PROPERTY_1: VALUE,  KEY_2/PROPERTY_2: VALUE...} )

 

It's your choice which langauge you want to start with, i would recommand easier languages like javascript (Extremely simple and straight forward langauge).

  • 0

Posts: 1

Threads: 0

Joined: Oct, 2022

Reputation: 0

Replied

I would recommend that you would view some online tutorials.

You can also look in free models and have a look at the code.

 

Also, in roblox studio. There is a tab called the object browser. That will tell you about anything.

 

It's in alphabetical order and you can use your keyboard to navigate, similar to a dictonary but for LUA scripts.

 

A good start would be this series: Beginner Series

 

Once you have learned the basics. You can attempt to make your own game or use this series

to make a game that's more mature.. you can do a simulator if you want though.

 

Make a doors game: Doors

Make a simulator: Simulator

(simulator tutorial is a bit cringe lol)

 

After that, go make games.. or exploits. I honestly don't care about the end result.

You do not need to focus on Terrain if your wanting to learn coding.

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )