|
| 19 Apr 2014 09:37 PM |
| I know JavaScript and some Ruby and if I try to learn Lua will it be hard to do, or would I understand it? |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 09:42 PM |
| Prob going to get replies in hours lol |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 19 Apr 2014 09:44 PM |
| Lua resembles Ruby in some ways such as the usage of 'end's. I don't know enough of Ruby or JavaScript to compare them to Lua though. Since you already have scripting experience, it shouldn't be too hard. Also, try the Scripting Helpers group/page. |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
| |
|
Maroy
|
  |
| Joined: 15 Mar 2009 |
| Total Posts: 59 |
|
|
| 19 Apr 2014 11:26 PM |
| If you know Javascript, Lua should be pretty easy to pick up once you get used to the syntax. wiki.roblox.com/index.php/Absolute_beginner's_guide_to_scripting |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 Apr 2014 10:26 AM |
| Lua and Ruby are pretty different, but JavaScript and Lua are really close. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 20 Apr 2014 10:44 AM |
| Ruby is definitely closer to Lua than JavaScript. |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2014 10:48 AM |
Lua is a mix of assembly and Java
Wait what
No, they're right, it's closer to Javascript. But if you already have programming experience it's pretty easy |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 20 Apr 2014 10:49 AM |
| Less like Python, more like JS. Less braces, more 'then' and 'end' or simply nothing. |
|
|
| Report Abuse |
|
|
| |
|
HUBHUB13
|
  |
| Joined: 15 Oct 2010 |
| Total Posts: 36 |
|
|
| 20 Apr 2014 11:49 AM |
| How is Ruby closer to Lua than JavaScript? |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2014 12:41 PM |
| Can I have help to learn lua :) |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2014 03:36 PM |
| I think he meant Ruby is more like Lua than it is to JS, not Lua is more like Ruby than JS?? |
|
|
| Report Abuse |
|
|
| |
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 20 Apr 2014 11:07 PM |
Just go for it and decide if it is like those to languages for yourself. Best thing to do if people are saying the exact opposite of each other. There is some basic code to look at for standard features such as functions and loops towards the bottom as well as a bit of info on them. http://wiki.roblox.com/index.php?title=Absolute_beginner%27s_guide_to_scripting |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 21 Apr 2014 02:45 AM |
@OP yes yes it is unless you know Java or JavaScript, then you can learn Lua in minutes like some people have |
|
|
| Report Abuse |
|
|
25M
|
  |
| Joined: 30 Aug 2011 |
| Total Posts: 1894 |
|
| |
|
|
| 21 Apr 2014 03:54 PM |
i know some Java Script but not all Java Script |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 21 Apr 2014 08:41 PM |
Lua is very similar to Ruby in design philosophy: In fact, I would go so far as to say that Ruby has one of the closest design philosophies of any language to Lua in terms of the semantics of the language and structure of the code. I say this even though Ruby is object oriented and Lua is not.
Where the differences lie is that, as I just said, Ruby is a heavily object oriented language, while Lua is not object oriented (You can make objects in Lua, but it is not really object oriented: It doesn't easily support encapsulation and inheritance).
So, you should find Lua fairly easy to pick up. Ruby makes a lot of the same uses of lambda functions and what not in it's structure, which should make learning to use Lua quite easy.
I would suggest you jump right into reading "Programming in Lua", the "official" book on Lua intended for people who already know how to code in other languages: http://www.lua.org/pil/contents.html |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2014 09:01 PM |
| This place is way more helpful then LMaD. |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2014 09:03 PM |
| Can I learn straight from Roblox Wiki? |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 21 Apr 2014 09:13 PM |
| Yeah, you could if you really wanted to. Also, quick question: why would you ask in LMaD about Lua? o3o |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 21 Apr 2014 09:51 PM |
| lmad is one of the most idiotic subforums because it's full of rich 10 year olds with more friends on roblox than in real life. zayum |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2014 10:18 PM |
| I like to lmad and I know a lot of the people on it so I get better answers, but all of the threads I made turned into flame wars. |
|
|
| Report Abuse |
|
|