Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What are classes and how do I use them?

Asked by 8 years ago

A friend told me to go onto the wiki and ask you all about stuff like, and I quote:

"(like functions in classes)"

I already understand functions though. Just not sure of what a class is..


function AskTheWiki() print ("What are classes and how do I use them?") end AskTheWiki()

0
What are you asking? BlueTaslem 18071 — 8y
0
What a class is. HungryJaffer 1246 — 8y
0
"like functions in classes," reminds me of Java classes. Maybe he was referring to other programming languages to elaborate his point or something. Ask your said friend just to make sure. Redbullusa 1580 — 8y
0
http://bfy.tw/1DS7 "individual objects" Redbullusa 1580 — 8y
0
If he's referring to that, then just don't worry about it. Redbullusa 1580 — 8y

2 answers

Log in to vote
1
Answered by 8 years ago

Okay, there are 2 things that I am getting for your questions. Classes, the property of instances, or Classes, as in wiki classes or tutorials.

Tutorials are a great way of getting started with scripting. On the wiki, they have made many tutorials ranging from newbie to expert. You can get started over here:

http://wiki.roblox.com/index.php?title=AllTutorials

Over here you can see all tutorials, from building to scripting to full game creation.

If you scroll down, you will find the scripting section I would begin at the Beginner section. they are arranged from the easiest to the hardest.

Another thing I would consider is looking at roblox cookbooks.

http://wiki.roblox.com/index.php?title=Cookbook

This is basically, well... a cookbook. I'm thinking of making pasta today, I'll reference the cookbook. I'm thinking of making a ChildAdded/RemoveEvent... I'll reference the cookbook.

Even asking someone in the community chat for a scripting challenge can improve your scripting, and like so, you can reference the cookbook for that too.

Cheers, Hungry c;

0
Thank you! I bookmarked both of those and will start by reading all of it within the next week, writing down the important notes I find, and hopefully make games I can actually be proud of. P.S. I would upvote you but I don't have 5 reputation yet! logo3578 0 — 8y
0
You can mark it as an answer. HungryJaffer 1246 — 8y
Ad
Log in to vote
-1
Answered by
Bloxks 30
8 years ago

Classes are what an object is, for example, a part/brick has a class of BasePart.

You can find the class of an object with the property, "ClassName".

I don't understand why your friend said, "(like functions in classes)"

0
ah, thanks xd logo3578 0 — 8y

Answer this question