|
| 15 May 2016 10:20 PM |
Hello,
I am ThomasPayne01 and I plan on learning how to script. Would any of you fellow Robloxians care to tell me what is the best place to learn how to script. I'd also like to state that I don't plan on purchasing any books. If it's the Roblox wikia then please link me to it. Much appreciated.. Best Regards, ThomasPayne01 |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 15 May 2016 10:27 PM |
The Wiki is the place to be. To search a specific site from Google, before your query, type:
site:wiki.roblox.com YOUR QUESTION HERE or site:forum.roblox.com YOUR QUESTION HERE
This has saved me lots of time
|
|
|
| Report Abuse |
|
|
|
| 15 May 2016 10:44 PM |
| Yes, Thank you so much but I've read through that whole thing? Like it only teaches simple stuff such as instances. Where are the advanced/intermediate tutorials? |
|
|
| Report Abuse |
|
|
Harbynger
|
  |
| Joined: 06 Jul 2008 |
| Total Posts: 34677 |
|
|
| 15 May 2016 10:46 PM |
take a real programming class and pay attention for about 3 months, all you need is an understanding of data and computers and how general things work (After that most non-procedural programming classes like to go into OOP this and OOP theory and that's wonderful and all until you try to write something that MUST be written in a procedural style like an operating system or programming a game (for the most part, I don't see a lot of OOP operating systems and games.), then look around the wiki for a couple months
or if you don't have 18 months, dig around the Function Dump of the wiki for a while and learn all of that
watch a couple videos on how Lua works on Youtube
and know that this: function hello() return "world" end
is the same as Java: public String hello() { return "world"; } C: string hello() { return "world"; } and that this: function hello() print 'world' end
is the same as Java: public void hello() { System.out.print("world"); } C: void hello() { printf("hello"); } I'd >>HIGHLY<< recommend learning C or C++ either along the way or before you learn Lua, as Lua (like pretty much any language for general-purpose programming) borrows heavily from C. (and therefore has similar syntax to C++, Java, C#, JavaScript, Objective-C, Perl, PHP, JavaScript, D, etc.
the hard part is learning the ROBLOX API (hence the 18 months, rather than the like 3 days it takes to learn real life lua)
Note that the ROBLOX API (in all fairness) is by far the hardest to learn API I have ever seen
there's a lot of things like the difference between: :findFirstChild(String) and :FindFirstChild(String) the first one will not compile/interpret/work/whatever as it should have. The second one is the only way to make it work.
it makes Sponge and Spigot for Minecraft look like a joke for complexity (and Sponge requires you write like 600 arbitrary lines of code before even thinking about doing anything fun.)
#code "Help! I've Fallen, and I can't get up!" |
|
|
| Report Abuse |
|
|
Harbynger
|
  |
| Joined: 06 Jul 2008 |
| Total Posts: 34677 |
|
|
| 15 May 2016 10:53 PM |
"Where are the advanced/intermediate tutorials?"
Anything "advanced" or "intermediate" is really just reapplication of more basic things in a pattern that produces something more complex.
For example, we can ramp up the 'skill level' of some code as such:
A beginner would do
print 'Hello, world!'; > Hello, world! We can make this more complex with:
game.Players.AncestryChanged:connect(function(child, parent) if (child == "Player") then print (child .. " is now a child object of " .. parent) else print(child .. " is not \"Player\", and is now a child of " .. parent) end end)
> Player is now a child object of Players! > Harbynger is not "Player" and is now a child of Players
The second one just uses connection to an event, an anonymous function, an if statement with an else statement, concatenation, and escape characters.
By themselves, they're all considered "basic", it's when you put them together any "skill" comes out.
#code "Help! I've Fallen, and I can't get up!" |
|
|
| Report Abuse |
|
|
guges
|
  |
| Joined: 07 May 2016 |
| Total Posts: 1515 |
|
|
| 16 May 2016 12:52 AM |
| Ignore harbynger read pil once you're comfortable with the basics it will summarize those and teach you a lot of cool syntax |
|
|
| Report Abuse |
|
|
WoolHat
|
  |
| Joined: 19 May 2013 |
| Total Posts: 1873 |
|
|
| 16 May 2016 05:05 AM |
| Try watching video tutorials. Like peaspod. But if you do video tutorials, do what the host does alongside him/her. Reinforces what you learn. |
|
|
| Report Abuse |
|
|
membra
|
  |
| Joined: 14 Oct 2008 |
| Total Posts: 6313 |
|
|
| 16 May 2016 05:35 AM |
I don't even know what Harbynger is talking about. You can learn the basics of RBX Lua in a few weeks, within a month you'll be pretty good. I've heard RBX Lua described as 'Unity made easy' quite a few times, and I think it's quite fitting. Reading the Wiki and modifying free models are the best way to learn, there's no need to learn C or Java or whatever else.
|
|
|
| Report Abuse |
|
|
|
| 16 May 2016 05:44 AM |
| Code.org is a great place to start |
|
|
| Report Abuse |
|
|
|
| 16 May 2016 07:17 AM |
lmao 'code.org' xdd
a good place to learn is going on the develop page and getting free models
#code print('i am poor') |
|
|
| Report Abuse |
|
|
|
| 16 May 2016 07:39 AM |
i found a video on how to script.
https://www.youtube.com/watch?v=dQw4w9WgXcQ |
|
|
| Report Abuse |
|
|
Syntropy
|
  |
| Joined: 16 Mar 2009 |
| Total Posts: 2272 |
|
|
| 16 May 2016 09:11 AM |
| I can teach if you catch me when I'm not busy. |
|
|
| Report Abuse |
|
|
|
| 16 May 2016 11:47 AM |
| @Iderpy Lol no it teaches you basic programming knowledge, he didnt say he have any programming or scripting experience, so learning from free model is like, reading chinese words when you can only read english word |
|
|
| Report Abuse |
|
|
|
| 16 May 2016 03:26 PM |
my school is making us use code.org(im in elementary) and its too limited, id do scrath even though i dont know anything about it
#code print('i am poor') |
|
|
| Report Abuse |
|
|