Bitwyl
|
  |
| Joined: 15 Nov 2014 |
| Total Posts: 7276 |
|
|
| 17 Feb 2015 07:45 PM |
So...I'm somewhat of an intermediate Scripter in lua, and I want to expand my knowledge of it, so I looked up mobile lua apps and i found some, but that's when the question came across my mind: "Could i learn lua on roblox just as easily if I learned the actual untouched version?"
So, basically I'm asking if I was to learn lua (not roblox's version) would that be enough to know a lot in the Roblox version?
Thanksssss |
|
|
| Report Abuse |
|
|
|
| 17 Feb 2015 07:46 PM |
it has the same basics but doesn't have the same events, like .Touched() or anything.
Go troll in OT. |
|
|
| Report Abuse |
|
|
Bitwyl
|
  |
| Joined: 15 Nov 2014 |
| Total Posts: 7276 |
|
|
| 17 Feb 2015 07:48 PM |
| So could i benefit off of learning regular lua, or should I just try to keep learning roblox lua |
|
|
| Report Abuse |
|
|
|
| 17 Feb 2015 07:50 PM |
idk, i'd prefer learning C but i don't have enough time so./. i'll have my sis teach me after college
Go troll in OT. |
|
|
| Report Abuse |
|
|
jonhy456
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 41626 |
|
|
| 17 Feb 2015 07:52 PM |
learn original first
it will get really easy
learning rblx lua before regular lua is kinda like trying to learn to run before you can even walk
flame on |
|
|
| Report Abuse |
|
|
|
| 17 Feb 2015 07:55 PM |
| I do some coding in Lua, there are a few differences |
|
|
| Report Abuse |
|
|
ediee544
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 2175 |
|
|
| 17 Feb 2015 07:56 PM |
No, learn ROBLOX's lua. Because once you know how to 'script', you may began programming in other languages.
There is not much use to knowing lua unless it's for roblox. But if you learn on roblox it will put you on the right path as you learn basic concepts such as functions, variables, arrays, and you will be able to see similarities in other languages such as java,C#, and so on.
|
|
|
| Report Abuse |
|
|
Crook
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 5483 |
|
|
| 17 Feb 2015 07:59 PM |
pretty sure they're similiar
but better to learn the normal one first
lua is probably a waste of time though, go for something like C#, javascript, C++, etc |
|
|
| Report Abuse |
|
|
|
| 17 Feb 2015 08:00 PM |
"There is not much use to knowing lua unless it's for roblox."
Wow, someone is ignorant. |
|
|
| Report Abuse |
|
|
Bitwyl
|
  |
| Joined: 15 Nov 2014 |
| Total Posts: 7276 |
|
|
| 17 Feb 2015 08:02 PM |
@ediee 100% untrue.
roblox isn't the only game that uses lua, lua is a fast programming language, which makes useful for other gaming corporations to use.
A few games that have used lua are world of Warcraft, angry birds, and others. It runs smoothly along side c++. |
|
|
| Report Abuse |
|
|
Bitwyl
|
  |
| Joined: 15 Nov 2014 |
| Total Posts: 7276 |
|
|
| 17 Feb 2015 08:05 PM |
matrix = require "matrix"
m1 = matrix {{8,4,1}, {6,8,3}} m2 = matrix {{-8,1,3}, {5,2,1}}
result = m1 + m2
expected = matrix {{0,5,4}, {11,10,4}} assert(result == expected)
result:print()
does require or result even exist in rblx.lua |
|
|
| Report Abuse |
|
|
Crook
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 5483 |
|
|
| 17 Feb 2015 08:05 PM |
you should do whichever one you want, it doesn't matter that much.
don't be indesive. learning the whole language may take more timehowever. |
|
|
| Report Abuse |
|
|
ediee544
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 2175 |
|
|
| 17 Feb 2015 08:05 PM |
| Alright, I don't know much about lua but I haven't found any use for it besides gaming. |
|
|
| Report Abuse |
|
|
jonhy456
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 41626 |
|
| |
|
Bitwyl
|
  |
| Joined: 15 Nov 2014 |
| Total Posts: 7276 |
|
|
| 17 Feb 2015 08:08 PM |
| @crook that's true, but I plan on becoming a gaming programmer later on in life, so a head start on any gaming-related language could be super beneficial. |
|
|
| Report Abuse |
|
|
Bitwyl
|
  |
| Joined: 15 Nov 2014 |
| Total Posts: 7276 |
|
| |
|
Crook
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 5483 |
|
|
| 17 Feb 2015 08:17 PM |
oh cool me too.
i'm currently working on a game planning to release on steam if succeeded |
|
|
| Report Abuse |
|
|
|
| 17 Feb 2015 08:18 PM |
@Reptile .Touched() is not like a "function" in Lua. Lua is a PROGRAMMING LANGUAGE, which means ROBLOX used it as a sort of "programming template" Things like .Touched() and stuff are mostly just events in the bricks and stuff. |
|
|
| Report Abuse |
|
|
Bitwyl
|
  |
| Joined: 15 Nov 2014 |
| Total Posts: 7276 |
|
|
| 17 Feb 2015 08:21 PM |
@crook
Really? Are you using c? C++? what are you executing that code on? I'm interested!!!! |
|
|
| Report Abuse |
|
|
Crook
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 5483 |
|
|
| 17 Feb 2015 08:38 PM |
no i'm using actionscript with flash
i also use GML with gamemaker |
|
|
| Report Abuse |
|
|
Gingyr
|
  |
| Joined: 17 May 2014 |
| Total Posts: 881 |
|
|
| 17 Feb 2015 08:47 PM |
| I honestly wouldn't know the difference, I only use C based languages. :P |
|
|
| Report Abuse |
|
|
Crook
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 5483 |
|
|
| 17 Feb 2015 09:32 PM |
| i use languages that are required for my game platforms. |
|
|
| Report Abuse |
|
|
Gunism
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 37115 |
|
|
| 17 Feb 2015 09:36 PM |
Crook you need to upgrade if you're going to try to make a Steam game. o_e
</^> |
|
|
| Report Abuse |
|
|
Crook
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 5483 |
|
| |
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 18 Feb 2015 12:41 AM |
| ROBLOX Lua is basic Lua excluding some libraries and it adds a ton of libraries and globals. |
|
|
| Report Abuse |
|
|