|
| 09 Feb 2014 06:06 PM |
Would you keep Lua?
If not, which language would you use instead?
Personally, I would prefer if it used Java or C# - whilst I have not used C# much, I really like the languages which are heavily focused on classes. I am leaning more towards C#, though. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:07 PM |
What if we could mix?
I'd use Visual Basic preferably over Java for GUI Designing. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:07 PM |
You're crazy.
Lua or Python are really the only good options. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:08 PM |
@BlueTaslem: Can you explain why?
And I am not overly keen on Python. Its that indentation-based syntax :/ |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:10 PM |
The reasons are that this is a platform meant for younger kids to learn how to use the engine for physics and programming. Lua is a minimalistic language that can be very easily integrated with C(++), and as such is 1) easy to implement in the engine and 2) easy to use on our side.
~LuaWeaver; Programmer, gamer, developer. |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 09 Feb 2014 06:11 PM |
I hate python.
I would keep Lua. And maybe add javascript. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:12 PM |
| I did think about that, but its not like everybody puts effort into learning. I feel like Roblox is basically turning into an online wardrobe... :/ |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 09 Feb 2014 06:14 PM |
If I had roblox I would make people learn how to use it. Not just go around the site goofing off. Second I would make it 18+, but I wouldn't allow any.. You know. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:14 PM |
Oh, JavaScript is the other sane one. I forgot it. That would be a good choice for some reasons and a bad choice for others.
I think Lua or Phython (I don't know python just how it is) would be a better choice because of their barrenness and openness.
The reason why VB, Java, C#, C++, C, etc, would not work as elegantly is the world is not an application.
You would not be able to do
game.Workspace.Brick:Destroy()
in any of those languages, because you cannot statically know that it is there.
In addition, you would be required to have pieces of code compiled and injected in, which would make slight changes confusing, slow, and complicated. |
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 09 Feb 2014 06:15 PM |
| To allow it to expand further, I'd likely move it over to C++/C# |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:15 PM |
>I did think about that, but its not like everybody puts effort into learning. I feel like Roblox is basically turning into an online wardrobe... :/
We have a winner. Anyways, just because most don't learn doesn't mean that this was meant for being simple. I'd rather have a few that do learn.
~LuaWeaver; Programmer, gamer, developer. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:17 PM |
Good point.
Maybe Lua is best, after all. IDK anything about JS, though :/ |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:20 PM |
JS is really similar to Lua, except that it is intended to look like Java, so it is zero indexed and uses curly braces.
It's significantly faster than out of the box Lua (on Chrome or similar very fast runtime) but LuaJIT is slightly faster than it for most things. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:23 PM |
Does it have classes?
like
class StatsGui extends BaseGui {
private int x, y;
public StatsGui(int x, int y) { this.x = x; this.y = y; }
}
new StatsGui
Or something like that |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 09 Feb 2014 06:26 PM |
| Based on what I have done with Ruby so far seems like that would be fun, but I have heard that the GC isn't that good, so not entirely sure about it. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:28 PM |
No. JS does not have classes. It has a "prototype" system which accomplishes something similar, and you can create functions which neatly create objects (using how "this" works in JS), however, since it's a dynamic language, the concept of a "class" would be completely wasted (just like in Lua). |
|
|
| Report Abuse |
|
|
Adam335
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 21464 |
|
|
| 09 Feb 2014 06:30 PM |
"Lua or Python are really the only good options."
^
Python > |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:30 PM |
Right.
Ok, do you think introduction of use of OpenGL in scripts (Through LuaGL) would be good in Roblox? |
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 09 Feb 2014 06:32 PM |
| I'm not sure, I've never really used LuaGL. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:35 PM |
Sorry for having such a constant presence.
I don't think OpenGL "in" scripts is a good idea, but being able to define custom shaders would be cool.
The problem with that is that shaders really need to be loaded when the program starts rendering, and also you could use it to completely destroy performance and make the game become unresponsive.
I don't think there's really a fix to those problems (at least, the second one), so I'm afraid that will never come. |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 09 Feb 2014 06:37 PM |
I don't think you should use OpenGl at all!
"And thats totaly not becuase my intel graphics doesent have it" |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:42 PM |
@BlueTaslem: while true do end
That also makes the game completely unresponsive. |
|
|
| Report Abuse |
|
|
Adam335
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 21464 |
|
|
| 09 Feb 2014 07:36 PM |
I'm pretty sure ROBLOX is designed to make it easy for people to learn a language.
Java isn't as "easy" as Python, or Lua. |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 09 Feb 2014 07:39 PM |
Python is almost like lua "At least syntax wise".. But its more confusing.
|
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 08:53 PM |
| Saying Python is better than all other languages is like saying PHP is decent. |
|
|
| Report Abuse |
|
|