gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 08 Apr 2012 10:45 PM |
There is no easy, fast way to learn. You have to work for it.
I see so many threads where people are asking how to learn to script, it's simple! You find your learning style and you **get to work on it**.
Just so you know, the wiki is the most, THE MOST valuable scripting tool you'll ever need besides the Roblox Studio.
Bury your head in the wiki, and you'll be a kick-ass programmer in no time. I'm not kidding, it's the best way to learn. You need to be determined to do what you want to do, instead of being lazy and asking other people to convert layman terms from the wiki into individually-exclusive instructions on how to script.
If after reading this, you don't feel determined enough, then you might as well give up and save yourself time. Or you can **get reading**. http://wiki.roblox.com/ |
|
|
| Report Abuse |
|
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 08 Apr 2012 10:47 PM |
Maybe point people to a more specific link: wiki.roblox.com/index.php/Absolute_beginner%27s_guide_to_scripting
Annoying the crap out of you, one word at a time. -Says suoicodilaipxecitsaligirfilacrepus repeatedly- |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 08 Apr 2012 10:47 PM |
"instead of being lazy and asking other people to convert layman terms from the wiki into individually-exclusive instructions on how to script."
Sorry about the generalisation there, This was to cover a blanket audience that usually do ask for individually suited instructions. If you don't, then that's fine ignore the line as it doesn't apply to every new programmer that reads this. |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 10:51 PM |
Support. Except I also found that the forum helped me just as much or more than the wiki did. BUT, the Absolute Beginners Guide To Scripting is what got me started, and what helped me start to understand Rbx.Lua. Then, once I knew how to efficiently read (not write) code, I started looking at all the SH posts, and understanding what the script was saying. Eventually, I became fluent enough in the 'language', to start writing my own codes. And it all began at "function onTouched(touch)", in a single green brick. Back in the good ol' days . :D
+-Fishy |
|
|
| Report Abuse |
|
|
| |
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 08 Apr 2012 10:54 PM |
"And it all began at "function onTouched(touch)", in a single green brick. Back in the good ol' days."
*High five* It was the wiki too that got me started, the earlier version of that tutorial to be exact, after that, about 1/3 of my forum posts were spent here asking questions, questions about why and how I didn't understand what was going on. I had some real role models in 2008, DR01D3K4, flashjoew, etc. All epic scripters that walked me through everything that led to what I know now. |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 08 Apr 2012 10:56 PM |
@Knightmare
LOL! *High five* |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 10:58 PM |
OH YEAH IKR.
*High Fives*
† KMXD † |
|
|
| Report Abuse |
|
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 08 Apr 2012 10:58 PM |
I started with the link I gave, too. I then looked into free-models and started copying them, then "dissecting" them to see how it works, then I would start making my own code. I didn't find out about the forums 'till I was an intermediate scripter. Now, after a few months, I know over 5 languages and constantly learning. The people that taught me and what constructed my knowledge were Dajn, and my dad. :)
Annoying the crap out of you, one word at a time. -Says suoicodilaipxecitsaligirfilacrepus repeatedly- |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 11:00 PM |
Well. I guess I'm not a super old Robloxian, but not young either. And my main role models and helpers would defiantly have to include Miz, and KMXD. Especially miz. He has helped through sooooo much recently. But honestly I've only been doing coding for like 1 year to 1 1/2 years. And I cant remember all the people who helped before recently. I guess I could almost say that most of the regulars on SH helped me. Considering that I've read many of your guys' posts. Special thanks to Miz. Another special thanks to whoever gave me the link to The Absolute Beginers Guide To Scripting. And also thanks to KMXD, and ALL the other SH that have posted code, ANY code. it all helps. Thanks again, SH.
+-Fishy |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 08 Apr 2012 11:01 PM |
| Dissecting free models and using them are my strongest scripting memories, and like you Lua on Roblox transformed my career path, I know PHP, CSS, JS, C, Objective C. I also know C#, C++ and java a little bit as well :) If it wasn't for lua and Roblox I'd never be a programmer at all ;o |
|
|
| Report Abuse |
|
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 08 Apr 2012 11:09 PM |
@Gergy
Huh, let's see, I am guessing a year, maybe 2 years of programming. I have only spent since late August of 2011, and I know Lua, PBASIC 2.5, ActionScript, A little of Java, and C+. And that's in 6 months....
Annoying the crap out of you, one word at a time. -Says suoicodilaipxecitsaligirfilacrepus repeatedly- |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 08 Apr 2012 11:13 PM |
| Well I've been on and off programming, but I started with lua around August 2008. That's when my place went to the first page by a freak accident and people were complaining because it was broke. I really needed to buck up my Lua skills to fix it. I started with server-side web development and Graphics design early 2009, which is what I did from then on to about 2011. I've done computer programming with various different C languages since then. I also learned a bit of java through RS Private servers which I created with a few friends. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 08 Apr 2012 11:19 PM |
@Fisher
I wanna say you're very generous, but let me say You have a lot to go. You ain't close to knowing Lua yet. I remember when I was like you. I knew Lua's syntax, I knew it's values and stuff, but when I made my scripts they didn't work. No output, nothing. So every single time I made a script 90% people in the scripting helpers coded it for me. And that's like you. You can't get it yet. You can't make a script on your own yet. And that's fine, I was like that. But dude, don't give up. As of a main part that will hellp you you should make flowcharts. I can tell from your scripts you end your scopes way too earler, and that's bad habits. I'll help you the best way I can, I want you to be the best you can be. But instead of trying to post over and over and over here, try to figure out "ok, what else can I do to make this work." Dont' worry about being efficient right now, just focus on getting the script to work. That'll make me happy watching you being excited with your work you've accomplished :)
As about this thread, how I learned is I got a teacher. Teachers really help, but some give bad habits. Though, my teacher quit like 3 months later so I learned from the wiki. The more you practice, the better. |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 08 Apr 2012 11:23 PM |
Wow that's... *Cries*
Nice dude ;3 |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 08 Apr 2012 11:25 PM |
| I hope fisher reads that, because I don't want him to take about 8 months before he actually knows the point of Lua. |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 11:25 PM |
@Miz. Thanks. BUT paaart of your post is partially wrong :P I can make a working script my first try...If it's easy enough :P
p = script.Parent function onTouched(hit) if p.Name == ("Part") then p.BrickColor = BrickColor.new("Black") else p.BrickColor = BrickColor.new("White") end end script.Parent.Touched:connect(onTouched)
+-Fishy |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 11:26 PM |
The POINT of Lua, What do you mean by that exactly? And yes miz. Of Course I read it.
+-Fishy |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 08 Apr 2012 11:28 PM |
| That's because that code is very short. That doesn't count because it's like you didn't even try. You did, but I mean it's like you didn't really care. I've seen your scripts, including your flag one. That flag script is really inefficient and you're getting to the point where you're slacking. |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 11:33 PM |
I know that the one I posted was short and easy. But that was kinda the point. And yeah, about the flag. I think I'm about to go round three with it, except the only problem is that school is starting back up D: I'll try not to slack as much this time. And I promise not to post the whole script on SH until I'm absolutely done with it, and it's not working (Like usual :P). But besides that. Thtnks for being all the help that you are, and dealing with my bs scripts.
+-Fishy |
|
|
| Report Abuse |
|
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 08 Apr 2012 11:37 PM |
"The POINT of Lua, What do you mean by that exactly? And yes miz. Of Course I read it."
What I mean by that is I can tell you don't get Lua's syntax yet. You make a script with no errors but it doesn't do anything, and you just post right away. You don't try to figure out why it doesn't work, nothing.
You don't even print(). So I can tell you only try once before you wait 2/3 days where you don't get help.
|
|
|
| Report Abuse |
|
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 08 Apr 2012 11:43 PM |
The point of Lua... That's a hard one.... They made it for a language that's simple, easy, and fast to learn. It is compact, light-weight, fast, smooth language with many methods to ease the weight that programmers feel. It is used mostly in games such as Angry Birds, and yes, ROBLOX. ROBLOX made a type of Lua called rbx.Lua, it has some custom methods and others to make it compatible to the 3D world of ROBLOX, and it's complex parts.
Annoying the crap out of you, one word at a time. -Says suoicodilaipxecitsaligirfilacrepus repeatedly- |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 11:45 PM |
I don't mean to argue, but I will try a few different versions of a script before I post it. And your right, I don't understand everything in Lua. Also, I am trying to get better at using print() to check things, but I usually never post my prints, just because it takes up less space, and makes it seem more organized on the forum.
+-Fishy |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 08 Apr 2012 11:52 PM |
@DXPower
Without the RBX.Lua events and methods it would be hard to make a game in roblox :P
@Fisher
It's not that. It's just I can tell you only try ONCE then you just post because you give up. You need to print() at certain lines to see if it prints or not.
Doesn't matter if you don't understand everything in Lua. As long as you understand the basic concepts.
And so ? IT takes up more space...Rather want a working script or not? |
|
|
| Report Abuse |
|
|