|
| 19 Mar 2016 08:01 AM |
| So I have been trying to learn lua for a while, but still I don't get it. Any suggestions on how to learn it. Other than Roblox's wiki. |
|
|
| Report Abuse |
|
|
| 19 Mar 2016 08:09 AM |
Try learning something else first, like Python. Converting that knowledge into Lua isn't too hard.
Like for loops are:
# python for x in range(10): print(x) # 0-9
--Lua for x=1,10 do print(x) end -->1-10
And function definitions are:
# py def function_of_mine(x,y,z): print(x,y,z) function_of_mine(1,2,3) # 1 2 3
--Lua function function_of_mine(x,y,z) print(x,y,z) end function_of_mine(1,2,3) -->1 2 3
Even though Python is superior...Lua has some stuff going on! Right? |
|
|
| Report Abuse |
|
|
| 19 Mar 2016 08:22 AM |
| Thanks. So your saying Python would be easier to learn? |
|
|
| Report Abuse |
|