generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Order of things a beginner scripter needs to learn?

Previous Thread :: Next Thread 
Soriki is not online. Soriki
Joined: 28 Mar 2013
Total Posts: 91
23 Dec 2015 10:48 AM
I'm willing to commit and put effort into learning how to script.
For the sole reason of wanting to be able to develop the games I want to see on Roblox/and or play myself, and not just wish someone makes them and hope for the best. I'd rather learn to make them myself, building wise I think I'm fine, and I could build things that I need. Such as a town, for example. It won't look "Good" but it's good enough to actually be playable.

I want to learn how to script, and I think the earlier the better.
I think my main course of action at the moment would just be following through the tutorials of the Wiki. That are set for me, and just keep on clicking next.
I also watch videos for exact things.

But, browsing a bit through the scripting forum, I found a post where it showed an order of things to learn. I didn't want to dive into it cause I didn't even understand what those things meant.
That's why I'm here, looking for anyone who can tell me an order of which things I need to learn first and last.

This is the post that I found..http://forum.roblox.com/Forum/ShowPost.aspx?PostID=154310074. But, I don't think is wise to trust anything there right away when I don't even know what those things are. So, does anyone know a proper order/set?.




Note: At the moment I have NO DESIRE to learn other coding languages, I just want to learn scripting inside Roblox and that's it. So I'd appreciate not to post any suggestions to learn other languages first, I have no interest what so ever to learn other languages. Not till a pair or more of years pass :)

Report Abuse
BJCarpenter is online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
23 Dec 2015 11:03 AM
Don't worry about learning another language first: Most languages work pretty-well the same. Once you learn one the others are just easier to grasp. Like, Spanish, and French are pretty-well the same as English or Latin; just in a different accent for most non-slang words.....

So, you can take any Programming 01 coarse free on the Net, and you will be half-way home.

Just READ a lot of scripts. It\s like Writing: How do you learn to write; you read A LOT!

Modify scripts which work well. You will be learning the whole time. Put Print statements at every-other line to confirm that the Script IS doing what you THINK it is doing...........
Report Abuse
xXAlphanumericXx is not online. xXAlphanumericXx
Joined: 08 Dec 2010
Total Posts: 1628
23 Dec 2015 11:24 AM
It's different for everyone in terms of what you need to learn first

but here's what I would recommend

--start with understanding how hierarchy and layers of objects work, and how to navigate through those layers in scripts

--or in other words, understanding this following line:

x = game.Workspace.Brick.Name

--this line sets the value of x to the name of this brick in workspace
--you can see that for every period, the script moves down a layer in where it is searching
--game . Workspace
--then
--Workspace . Brick

--also, you need to understand the parent and child system
--basically, a child means the object exists within that object
--e.g. a brick is a child of workspace if it's in it
--a brick is a child of a model if you group it together with some other bricks

--parent means the item the object is in
--so the group is the parent of the bricks or items inside it
--and workspace is the parent of all items within it

--parent means go up a level, basically
--adding a period (as explained below) basically finds a child

--once you've got that down, start with changing properties of objects; here's some examples:

script.Parent.Transparency = 1 --sets the script's parent's transparency to 1

game.Workspace.Brick.CFrame = CFrame.new(300,200,100) --sets a new cframe position for the brick in workspace

player.AwesomeValue.Value = false --changes this bool value's value to false (bools are true/false values)

--next, consider using loops; here's some examples:

while true do --an endlessly repeating loop
wait(1) --if your loop does not have a wait in it, the game will crash
script.Parent.BrickColor = BrickColor.new(325) --see brickcolor codes on wiki
wait(1)
script.Parent.BrickColor = BrickColor.new(1001)
end --ends your loop

for i=1, 100 do --will repeat 100 times
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency + 0.01 --will add 1/100th of transparency to this GUI the script is in
wait() --need a wait and an end
end

--next, consider the power of if statements:

if game.Workspace.Button.On.Value == true then --this checks if a value is true before running the below code. if statements need two equal signs for some reason

script.Parent.Text = "THE BUTTON IS INDEED ON" --sets the text of the GUI the script is in

end --if statements need ends

--and finally, functions, or blocks of code that are executed or activated when a condition you set is triggered
--this is how click buttons work, or blocks that do things when you touch them

function ohyeah() --the word function declares a function and then the next word (ohyeah) is the name you give it. it can be anything and has nothing to do with the trigger for the function

print("THIS BLOCK IS BEING TOUCHED") --this is what will happen when the trigger we set for the function is triggered

end --end of the block of code to be triggered

--the final part of the function is the connection line that ties a trigger to the preceding block of code

script.Parent.Touched:connect(ohyeah)

--let's break this down word for word:
--script.Parent.Touched means when the parent of the script (or block the script is inside) is touched
--:connect(ohyeah) when it's touched, it will fire the function ohyeah. we have connected the touching of the block to the function

--just knowing how to use these few scripts will get you pretty far, sorry for the wordwall that has kind of turned into a scripting tutorial, but I suppose it will be helpful for you




Report Abuse
Soriki is not online. Soriki
Joined: 28 Mar 2013
Total Posts: 91
23 Dec 2015 12:43 PM
Thanks a lot numeric! I'll get to practicing that right now.

Carpenter.. I placed a note for people like you, cause I already predicted that type of answer.
Dude.. :/

Anyways, I'll get to learning those things you mentioned numeric.
Report Abuse
QJD1996 is not online. QJD1996
Joined: 20 Jan 2009
Total Posts: 1472
23 Dec 2015 01:17 PM
Well, the truth is that learning how to script is a different experience for everyone. However, I strongly advise watching this playlist on YouTube. It'll definitely help you get started:

https://www.youtube.com/watch?v=v3dbJXSa12Q&list=PLXX6hhg4CysYf0M-_GtCEOgGlkBfrXsoJ
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
23 Dec 2015 01:28 PM
I think having good direction when learning any code is important. I think my tutorials may help you.

https://www.youtube.com/channel/UCXF7DezJJEEm1kGwmSq_ELg/videos
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
23 Dec 2015 03:13 PM
>Peaspod tutorials
Umm, no. Bad bad.


There is no order.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
23 Dec 2015 03:16 PM
Two good places to learn are the lua reference manual (http://www.lua.org/manual/5.1/) and the roblox wiki (wiki.roblox.com)

I would stay away from video tutorials, most of them are terrible. I haven't found any good ones yet, anyway.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image