leomesa
|
  |
| Joined: 11 Apr 2014 |
| Total Posts: 1029 |
|
|
| 30 Jul 2016 01:34 AM |
| What is the most Important stuff I should learn in order to enhance my skill in Roblox Lua in order to make awesome games? |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
| |
|
leomesa
|
  |
| Joined: 11 Apr 2014 |
| Total Posts: 1029 |
|
|
| 30 Jul 2016 01:36 AM |
| What are the basics for you? I think I got the basics down. I just need to learn more advanced stuff but don't know where to start. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2016 01:39 AM |
1. OOP 2. Instances 3. connections 4. how certain core functions work(like how a:Destroy() is similar to a.Parent = nil) 5. CFrames 6. Memory management
(Strive to improve and inspire. <-> Be inspired by those who strive to become better.) The circle of inspiration. |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 30 Jul 2016 02:22 AM |
you learn scripting to solve a problem
you don't learn scripting to learn scripting |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2016 02:56 AM |
Sean how dumb can you be?
"2. Instances" How do you "learn" instances exactly? "3. connections" You probably meant event-driven programming, in which case the OP probably already knows this considering a lot of things in Roblox are event-driven (Touched EVENT, Button1Down EVENT, ...) "4. how certain core functions work(like how a:Destroy() is similar to a.Parent = nil)" Except that they're not similar at all. "6. Memory management" Because Lua totally doesn't handle everything for you or anything /s |
|
|
| Report Abuse |
|
|
iYzarky
|
  |
| Joined: 01 Jun 2009 |
| Total Posts: 1271 |
|
|
| 30 Jul 2016 03:06 AM |
What wowgnomes said
I don't even care hummie |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2016 03:10 AM |
[_________________________________________________________________________] 2. Learn the tie in w/ Instances and their respective C++ classes and all the different variants (not memorizing entirely, but just to get more familiar). 3. Correct 4. I can see how that is vague, but the keyword is similar. The main difference being that setting a parent to nil keeps the object, but destroying it schedules it for trashing. However, when an object is removing, it's parent property is locked and is set to nil. This way, you can actually look at the destroyed object beyond the grave (for a limited time perhaps). 5. This is more of which data type is more useful for what you're doing, and when to use and not to use variables to save on memory.
Did that clear things up flux?
(Strive to improve and inspire. <-> Be inspired by those who strive to become better.) The circle of inspiration. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2016 03:14 AM |
Slightly.
"4. I can see how that is vague, but the keyword is similar. The main difference being that setting a parent to nil keeps the object, but destroying it schedules it for trashing. However, when an object is removing, it's parent property is locked and is set to nil. This way, you can actually look at the destroyed object beyond the grave (for a limited time perhaps)." How do "Parent" and "Destroy" have similar names? Regardless if you set an object's parent to nil it will also eventually be cleaned up so long there are no references to it. Destroy just immediately disconnects all events and locks the object (it also calls destroy on all the children too). |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2016 03:18 AM |
I apologize for the misleading wording, but I was referring to the similarities of the two operations, not the names. I was just giving a short example of how some lua operations resemble other core operations, even thought they may be more different underneath the surface.
(Strive to improve and inspire. <-> Be inspired by those who strive to become better.) The circle of inspiration. |
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 30 Jul 2016 09:40 AM |
| You just need, as I always say, experience. |
|
|
| Report Abuse |
|
|
Aethex
|
  |
| Joined: 16 Oct 2011 |
| Total Posts: 2193 |
|
|
| 30 Jul 2016 11:02 AM |
You don't "enhance my skill in Roblox Lua in order to make awesome games".
You enhance your skill in Lua by making games. It's not like it matters whether they're awesome or not, but you learn the most on the job. Think about what you want to make, then you need to figure out how to make it. You said you think you know the basics, that's all you really need. If you have Lua's syntax figured out, then go for the job. It might take a while, but it's the best experience you're going to get. Trial and error is great, experience is necessary, and the best teacher is yourself (you know exactly what you want, and you can learn it as long as you listen to yourself). |
|
|
| Report Abuse |
|
|
leomesa
|
  |
| Joined: 11 Apr 2014 |
| Total Posts: 1029 |
|
|
| 30 Jul 2016 12:21 PM |
| You all have very good points but I'm sure you understood the point I was trying to give. |
|
|
| Report Abuse |
|
|
leomesa
|
  |
| Joined: 11 Apr 2014 |
| Total Posts: 1029 |
|
|
| 30 Jul 2016 12:57 PM |
| Again thx for all the info I pretty much have the syntax down so I'm going to go continue working on projects. |
|
|
| Report Abuse |
|
|