generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Gmod Lua Vs Lua Vs Roblox Lua

Previous Thread :: Next Thread 
CrypticFormula is not online. CrypticFormula
Joined: 02 Jul 2009
Total Posts: 302
08 Jan 2017 08:47 AM
Is the original Lua the same as Gmod and Roblox Lua? Will learning gmod and roblox lua help me in learning the original Lua or is it the opposite way around?
Report Abuse
UltimateRaheem is not online. UltimateRaheem
Joined: 10 Nov 2012
Total Posts: 1886
08 Jan 2017 09:04 AM
Lua cannot work on it's own. It needs a platform to work on.

This is why on roblox, lua is called rbx.lua


Want to coorperate or be supported by scripters, builders, and designers in a positive environment? Then join Studio BSD! https://www.roblox.com/My/Groups.aspx?gid=1013064
Report Abuse
yoyo5724900 is online. yoyo5724900
Joined: 19 Dec 2010
Total Posts: 91
08 Jan 2017 09:06 AM
Gmod and Roblox Lua use different api's, but they both have a wiki that can help you learn both apis. I learned Roblox's Api before regular Lua and Gmod's api which really helped me, but that is an optional route.
Report Abuse
yoyo5724900 is online. yoyo5724900
Joined: 19 Dec 2010
Total Posts: 91
08 Jan 2017 09:09 AM
Here is a link to help you with Roblox's api: http://wiki.roblox.com/?title=Scripting_Book
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
08 Jan 2017 10:00 AM
Is the original Lua the same as Gmod and Roblox Lua?

Basically, but with their own modifications.

Hence why it is called Roblox.Lua, but there only really "change" is Roblox's instances and GMods.


Report Abuse
UltimateRaheem is not online. UltimateRaheem
Joined: 10 Nov 2012
Total Posts: 1886
08 Jan 2017 10:35 AM
Dis is API --> http://wiki.roblox.com/index.php?title=API:Class_reference


Want to be supported by developers in a positive atmosphere? Then join Studio BSD: https://www.roblox.com/My/Groups.aspx?gid=1013064
Report Abuse
SirTipsAlot is not online. SirTipsAlot
Joined: 08 Feb 2012
Total Posts: 2431
08 Jan 2017 10:42 AM
lua is a good language

its easy to use (and i think port), auto garbage collection (as in you don't have to manually write a system to get rid of variables, lua does that for you, you just have to call the function), and thats all i can think of (its also OOP)

so thats probably why roblox and gmod used lua


and now i'm sad
Report Abuse
CrypticFormula is not online. CrypticFormula
Joined: 02 Jul 2009
Total Posts: 302
11 Jan 2017 05:32 PM
Thanks for all the replies and for the Wiki pages.

Report Abuse
KritikalGunzz is not online. KritikalGunzz
Joined: 10 Nov 2013
Total Posts: 1633
11 Jan 2017 05:41 PM
Tbh lua is trash... C#, Java or python would have been better
Report Abuse
MemAddr is not online. MemAddr
Joined: 29 Oct 2012
Total Posts: 597
11 Jan 2017 05:53 PM
C would've been an awesome language to implement.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Jan 2017 05:54 PM
"Lua cannot work on it's own. It needs a platform to work on."
It can work on it's own perfectly fine.

"Tbh lua is trash... C#, Java or python would have been better"
Thank god nobody listens to your opinion, using Java would have been horrible. And Roblox started using Lua probably before Python 'became popular' but who knows. Lua is typically faster and much more portable and smaller anyways.

"C would've been an awesome language to implement."
Either you're trolling, or you're stupid. I'm hoping the former.

Report Abuse
MemAddr is not online. MemAddr
Joined: 29 Oct 2012
Total Posts: 597
11 Jan 2017 05:58 PM
@cntkillme
You're silly
Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
11 Jan 2017 06:00 PM
What about things like World of Warcraft and Angry Birds, what platforms were they built on if lua has to have a platform to work?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Jan 2017 06:01 PM
WoW wasn't made in Lua, it just uses Lua. I don't know about angry birds but I'm sure you can google it.
Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
11 Jan 2017 06:02 PM
^ What is the rest made of? What do mean it uses lua? What does it use lua for?
Report Abuse
MemAddr is not online. MemAddr
Joined: 29 Oct 2012
Total Posts: 597
11 Jan 2017 06:03 PM
Minecraft was made in binary.
That's why it's so fast.
Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
11 Jan 2017 06:04 PM
^ I have no idea if that was a joke, but wasn't it made in Java?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Jan 2017 06:04 PM
@dude according to a stackexchange thread I read:
"As for World of Warcraft, I do know they use Lua for all of the client GUI stuff, but aside from that I don't think they use Lua for anything else"
Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
11 Jan 2017 06:05 PM
^ So I guess just gui scripts, I bet they use some form of C for the rest of the game.
Report Abuse
Dyphonic is not online. Dyphonic
Joined: 06 Feb 2010
Total Posts: 2981
11 Jan 2017 06:06 PM
It flabbergasts me how people are using their programming vocabulary incorrectly.

While maybe the API (Application Program Interface) is different in GMod and ROBLOX, what the correct word to use is LIBRARY.

Lua has no built-in libraries whatsoever, so you have to deal with the functions that are all explained on their website. If you want to make custom variable and functions that do all your bidding, you have to make them yourself.

What makes GMod and ROBLOX Lua different from standalone Lua is the use of Libraries. ROBLOX has librarys that import specific variables, objects, and functions to make it all work (such as :GetChildren(), Parent, and the infamous wait()); these cannot be found in ordinary Lua. GMod does the same thing, except that their names probably differ and they have certain functions that are not do-able in Roblox Lua unless you make them. Roblox Lua has things you can't do in GMod Lua unless you make them as well.

tl;dr
Roblox Lua and GMod Lua still have the "grammar" and basic vocabulary of stand-alone Lua, but libraries are what make Roblox Lua and GMod Lua so distinct from each other.




Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
11 Jan 2017 06:06 PM
I found out it was C++ for the most, but Python for the backbone.
Report Abuse
MemAddr is not online. MemAddr
Joined: 29 Oct 2012
Total Posts: 597
11 Jan 2017 06:07 PM
"some form of C"
Err, I hope you mean C++
Report Abuse
Dyphonic is not online. Dyphonic
Joined: 06 Feb 2010
Total Posts: 2981
11 Jan 2017 06:07 PM
@MemAddr

Actually no. Lua is an embedded extension of the programming language C, not C++


Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Jan 2017 06:09 PM
"It flabbergasts me how people are using their programming vocabulary incorrectly."
"Lua has no built-in libraries whatsoever"
Clearly you don't understand what a library is.

And the rest of most of what you say has already been said.
Stop trying to look smart when you're not.
Report Abuse
MemAddr is not online. MemAddr
Joined: 29 Oct 2012
Total Posts: 597
11 Jan 2017 06:10 PM
@Dyphonic
I was responding to dude's post

"01-11-2017 04:05 PM
^ So I guess just gui scripts, I bet they use some form of C for the rest of the game."
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image