Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 08 Apr 2015 08:51 PM |
Hi. I've been programming in LUA for several years now, so I'd thought that I and a few other members of ROBLOX's developer community would answer some questions about programming in LUA.
The following people will be here to answer questions: Quenty magnalite vorlias Andalf BlueTaslem
There may be a few other people who jump in here too. So ask away, we're here to answer your LUA questions. |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2015 08:51 PM |
omg hi quenty ily add me
also its Lua, not LUA |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 08 Apr 2015 08:51 PM |
| You missed OT (we all know this is a troll) |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2015 08:51 PM |
| Hmm...does this include datastorage? I've been having trouble saving items through storage and giving them back to the player on rejoin |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
| |
|
|
| 08 Apr 2015 08:52 PM |
| is it possible to ask you for tips w/ building and stuff? not scripting... so thats why im asking |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 08 Apr 2015 08:53 PM |
> Hmm...does this include datastorage? I've been having trouble saving items through storage and giving them back to the player on rejoin
Yes! I would definitely recommend the datastore tutorial on the wiki. A quick rundown though, if you know anything about tables, you can use a datastore in the same way, except you only use a string as a key.
http://wiki.roblox.com/index.php?title=DataStore
You should also check out Crazyman32's datastore editor. http://www.roblox.com/DataStore-Editor-item?id=185867332 |
|
|
| Report Abuse |
|
|
Andalf
|
  |
| Joined: 04 Aug 2010 |
| Total Posts: 982 |
|
|
| 08 Apr 2015 08:54 PM |
| Would just like to confirm we're serious about this. |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 08 Apr 2015 08:54 PM |
| How do you change the color of a part? |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 08 Apr 2015 08:55 PM |
Well I'll be.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 08 Apr 2015 08:56 PM |
> How do you change the color of a part?
Check out your own post! http://www.roblox.com/Forum/ShowPost.aspx?PostID=146646851
script.Parent.BrickColor = BrickColor3.new("Really Red")
|
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 08 Apr 2015 08:58 PM |
No, I meant it as in a part of a 3D gui. How would you triangulate the firewall so I can change the color of the matrix gui? |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
|
| 08 Apr 2015 08:58 PM |
For those saying "Lol its Lua not LUA"
It's actually LUA. It stands for Lightweight Unanimous Arithmetic and is a standard for a system on functional arithmetic with minimal overhead. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 08 Apr 2015 08:59 PM |
> is it possible to ask you for tips w/ building and stuff? not scripting... so thats why im asking
I would like to take the time to shamelessly plug qCmdUtl. I just updated it. http://www.roblox.com/qCmdUtl-Streamlined-building-item?id=142314093
I will see if whobloxedwho and asimo3089, owner of EBR and builder extraordinaire respectively, are up to give away some tips. |
|
|
| Report Abuse |
|
|
Andalf
|
  |
| Joined: 04 Aug 2010 |
| Total Posts: 982 |
|
|
| 08 Apr 2015 08:59 PM |
> No, I meant it as in a part of a 3D gui. > How would you triangulate the firewall so I can change the color of the matrix gui?
For this you need to apply the MVC pattern using LUA to establish the Matrix as a separate view in the first place. The Colour property can be found in the C of MVC as it stands for Matrix View Colour and then you can build anything from the 3D Gui using the view by drawing on it with a WACOM tablet. You don't even need LUA really! |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 08 Apr 2015 09:00 PM |
| I think I just became depressed. This LUA thing is killing me. |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 08 Apr 2015 09:01 PM |
@magna
noooo
Sorry for posting links
lua.org/about.html#name |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 08 Apr 2015 09:01 PM |
This isn't about programming but about game design(?)
So how do you brainstorm game ideas, how do you know when an idea is good/bad?
etc. |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 08 Apr 2015 09:01 PM |
"For those saying "Lol its Lua not LUA"
It's actually LUA. It stands for Lightweight Unanimous Arithmetic and is a standard for a system on functional arithmetic with minimal overhead. "
Uhh no Lua is the successor of SOL which means sun in Portuguese. They named it lua because it means moon in Portuguese. |
|
|
| Report Abuse |
|
|
Vorlias
|
  |
| Joined: 27 Aug 2009 |
| Total Posts: 14478 |
|
|
| 08 Apr 2015 09:02 PM |
> also its Lua, not LUA
Nope, it's LUA. LUA stands for Lightweight User Actionscript. |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
| |
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 08 Apr 2015 09:03 PM |
error
LUA and Lua are different
Lua is what we use to script on roblox. |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 08 Apr 2015 09:04 PM |
error
LUA and Lua are different Lua is what we use to script on roblox. Just look up Lua . org |
|
|
| Report Abuse |
|
|