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: Python and Lua

Previous Thread :: Next Thread 
ThatOnePCGamerHD is not online. ThatOnePCGamerHD
Joined: 20 May 2013
Total Posts: 134
03 Mar 2017 10:48 PM
I know little to nothing when it comes to Lua, but I can do a few things with Python. Overall, the syntax for the two look really similar. Anyone know any of the main differences between the two? And as a side question, why doesn't Roblox switch over to something like Python, as it's more commonly used?
Report Abuse
GraphicsSettings is not online. GraphicsSettings
Joined: 12 Sep 2013
Total Posts: 2883
03 Mar 2017 10:49 PM
Lua is Lua and Python is Python


Seriously.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
03 Mar 2017 10:50 PM
lua doesn't use those god awful colons or semicolons

there is no elif but there is elseif and else if

all statements need to end with "ends

if blah then dothis end

other than that there is not much. but rbxlua is different from pure lua too


Report Abuse
VegasGoldenKnights is not online. VegasGoldenKnights
Joined: 03 Apr 2008
Total Posts: 78577
03 Mar 2017 11:21 PM
Well there's lots of differences
Time got down most of the basic ones, but there's a lot to it.

BUT both are the same kind of language. If you know Python you'll get Lua fast.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
04 Mar 2017 12:04 AM
"Python, as it's more commonly used?"

What statistic are you talking about?
That sounds like nonsense spread by fanboys.
Python is almost never used as a game scripting language, for a huge mountain of reasons.


Now, I recommend actually using both languages thoroughly.
At such a time you will realize that syntax means nothing.
Report Abuse
Sacrificable is not online. Sacrificable
Joined: 11 Sep 2013
Total Posts: 271
04 Mar 2017 12:44 AM
Python doesn't require semicolons.

Also unless roblox converted Python to Lua, they'd never use it, and if they did it'd be redundant.


20,473
Report Abuse
jamman111 is not online. jamman111
Joined: 08 Sep 2012
Total Posts: 1977
04 Mar 2017 03:02 AM
I study python at school for my computing gcse but I'm starting to learn lua. There isn't much of a difference, i find lua easier to pick up
Report Abuse
10MilesWide is not online. 10MilesWide
Joined: 06 Aug 2014
Total Posts: 2220
04 Mar 2017 06:09 AM
Fake programmer
If you want python, use a different engine. I suggest one with visual scripting, since it's the only programming you'll ever learn
Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
04 Mar 2017 06:16 AM
tried python once. Didn't understand. Find c++ more readable than python.

Programming languages should not try to be human, rather try to be exact.
Report Abuse
AxonMega is online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
04 Mar 2017 08:02 AM
Python is object oriented like Java, whereas Lua, although it has features designed to simulate object oriented programming, is not.
Report Abuse
mudkip99 is not online. mudkip99
Joined: 17 Jun 2008
Total Posts: 3362
04 Mar 2017 08:34 AM
I can't really speak to Python, since I don't have much experience with it, but Lua is an incredible language for what it is. It's a very small and simple language, it's very easy to embed in an engine, it's very expressive for how simple it is, and for a scripting language, its very performant. Python may be common for general purpose programming, but in the games industry, Lua is the go-to language if your not looking to roll your own scripting language.
Report Abuse
RaulChaser is not online. RaulChaser
Joined: 07 Dec 2014
Total Posts: 655
04 Mar 2017 09:08 AM
^ You cant speak a computer langugage but mkay.

Anyways, Lua and Python are different because they have different letters :P
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