XlegoXJoin Date: 2008-06-16 Post Count: 14955 |
This post is a guide for anyone who's completely new to scripting, and is willing to put a couple weeks into learning. This is *NOT* for people who just want to know how to get their models on roblox to work, this is for people who seriously want to get to know how to script proficiently. It's based off of my experiences coming to roblox not knowing anything about scripting or programming, and how I worked my way up to where I am now.
What's the main thing you need? Patience, and lots of it. Learning a programming or scripting language is just like leaning a spoken language, you can't just read one thing on it an instantly know how to do everything, it's an ongoing process. Even after more than a year working with Lua I still come across new things occasionally that I never knew before.
When I first joined, as I stated in the introduction, I knew nothing about programming or scripting at all. So, the first mistake I made was try to to learn Lua (the language that Roblox uses) first. My first and foremost recommendation to anyone who's new to scripting and wants to learn is *DO NOT ATTEMPT TO LEARN LUA FIRST*. It will give you no end of frustration trying, as most, if not all, of the documentation for Lua is just that, documentation. It doesn't explain how to program, it simply explains the syntax of Lua to people who already know how to program.
> So what language should I learn?
In my opinion, it's best to go with C++ or Java. Although as programming languages go, they have a fairly steep learning curve, I think it's best to build a strong foundation, since once you know a language like C++ or Java, you will easily be able to learn one such as Lua simply be reading the specifications.
> And how do I go about learning C++ or Java
Compared to Lua, there's *TONS* of documentation and tutorials out there for C++ and Java, aimed at complete beginners just like you. A good first step would be going to your local public library and checking out some books on C++ or Java. Most libraries have lots of stuff on them, and even if yours doesn't you can defiantly get one though inter-library loan.
Now comes the tough part, for the next couple weeks work through some books on the language experimenting as you go. If you need help there's plenty of online forums and FAQs you can look for answers on.
> Ok, I learned C++/Java, now what?
This is the easy part. Get a copy of "Programming in Lua" and read through it, it explains how the Lua language is structured and works, already knowing Java/C++ it should be easy to pick up each thing and it's equivalent in the language you know. If you're lucky your local library might have a copy, otherwise you can just use the online version : http://www.lua.org/pil
> Ok, I know Lua, now what?
Now the fun part, you have the knowledge to just play around with the Roblox objects using the command bar in roblox studio and get familiar with their properties and methods. If you need some further direction this page explains the basics of how scripting using roblox studio works: http://wiki.roblox.com/index.php/Scripting
Thanks for reading. Sound's convoluted? Well, the method I took of trying to learn Lua first simply gave me weeks of frustration, this is a way less frustrating and more efficient method.
You may PM me with any questions you might have about this post.
-xLEGOx
|
|
|
|
|
OH MY GOD WHY DID THEY UNPIN THIS? |
|
XlegoXJoin Date: 2008-06-16 Post Count: 14955 |
I guess the pin time expired, I'll have to repost it. |
|
medsouzJoin Date: 2009-02-28 Post Count: 5594 |
please do repost this was a helpful thread to beginners =) |
|
|
Im just posting so i can go to my top 25 forums andfind it... |
|
MoltJoin Date: 2009-03-24 Post Count: 2329 |
lol |
|
J8keeJoin Date: 2008-08-29 Post Count: 4183 |
Wow, lol. |
|
zac352Join Date: 2009-02-20 Post Count: 4657 |
[ Content Deleted ] |
|
MorbuzkaJoin Date: 2009-01-13 Post Count: 206 |
um i dont wanna learn all that i just wanna learn Lua! |
|
|
bloccoJoin Date: 2008-08-14 Post Count: 29474 |
So that's how MrDoomBringer's post was going down the current of all those posts in the Scripters Forum... |
|
|
which is easier to learn? java or C++? |
|
J8keeJoin Date: 2008-08-29 Post Count: 4183 |
Idk, I know a ot of people that say Java is. |
|
s1gman72Join Date: 2008-07-12 Post Count: 5010 |
I read all of it |
|
|
J8keeJoin Date: 2008-08-29 Post Count: 4183 |
Hiya! |
|
|
yeah java looks easier, but thats just me |
|
|
Java is easier but C++ is more effective which is what i use to create my games.
Then i reccomend using apache,php,and mysql to make a great website like me. |
|
sncplay42Join Date: 2008-11-27 Post Count: 11891 |
Oh no, not again! |
|
|
sncplay42Join Date: 2008-11-27 Post Count: 11891 |
|
|
bloccoJoin Date: 2008-08-14 Post Count: 29474 |
The forum has got to be fixed. Maybe they have to reset the whole forum? |
|
Slushi7Join Date: 2008-07-01 Post Count: 1920 |
Bump, this forum really helps. |
|