Carrotoplia
(Carrotopliani)
November 27, 2022, 6:45am
#1
After seeing how people normally create tutorials for programming languages I decided to make something that follows that exact format perfectly.
This is not a guide on how to do a specific action
this is one to do whatever action you want!
Most stuff is in the google slides
If I got anything down wrong or have an suggestion please post it here!
this took around 2 days to make.
60 Likes
Carrotoplia
(Carrotopliani)
November 27, 2022, 7:35am
#2
Added a part explaining how to create instances and filled in a blank about how modulescripts work and how to network
SOTR654
(SOTR654)
November 27, 2022, 7:37am
#3
I’d rather call it “Learn luau syntax” or “Roblox Create Scripting summary”, good contribution.
1 Like
Carrotoplia
(Carrotopliani)
November 27, 2022, 7:39am
#4
Possibly but im working my way towards getting most things you’ll need to know to create roblox games so I don’t think that name would fit well
1 Like
Carrotoplia
(Carrotopliani)
November 27, 2022, 7:57am
#5
Added a poll!
1234567891234567890
Carrotoplia
(Carrotopliani)
November 27, 2022, 8:12am
#6
Added a small metatables part
1243567890-0987654321`12356789
Carrotoplia
(Carrotopliani)
November 27, 2022, 11:59am
#7
Added code comments to this on slide 10!
2jammers
(2jammers)
November 27, 2022, 12:15pm
#8
Just so you know, exponents are (kind of confusing to explain). Here’s is some examples:
3^2 = 3 * 3
4^5 = 4 * 4 * 4 * 4 * 4
6^1 = 6
Basically, the numbers in bold determine how many times the number in front of it is multiplied by itself.
2 Likes
This is the only tutorial I have ever found useful.
Every tutorial I watch, it just always shows you a specific word, they say what it does, but they don’t explain how to use it, and only this tutorial does.
1 Like
whibri
(whibri)
November 27, 2022, 3:24pm
#10
Adding on in simpler terms, exponentiation is just repeated multiplication. Unless someone really doesn’t have a basic understanding of math, it’s not confusing.
As for the modulus operator, it just returns the remainder of a division.
Ex: 10 % 2 = 0
because 2 goes into 10 evenly.
Ex: 15 % 4 = 3
because 4 cannot go into 15, but it can go into 12 (your quotient), and 15 - 12 = 3 (aka your remainder).
These can be applied to compound expressions as well.
2 Likes
LordMerc
(Merc)
November 27, 2022, 4:24pm
#11
Even your examples are wrong buddy…
1 Like
Carrotoplia
(Carrotopliani)
November 27, 2022, 4:39pm
#13
sorry i made a lot of this when i was sleepy
1 Like
Carrotoplia
(Carrotopliani)
November 30, 2022, 9:09am
#14
Redid a lot of the guide
a whole lot
1234567384
Carrotoplia
(Carrotopliani)
December 1, 2022, 7:33am
#15
added coroutine library working on task now!
Adding on, little amount of people know this, [=[]=]
is a valid multi-line string token aswell:
print([=[
Hello
World
]=])
Also applicable to comments:
--[=[
This is a function, x, for adding 2 numbers and returning the result
]=]
function x(a: number, b: number)
return a + b
end
The =
is also extensible, just add more =
signs between the double [
and ]
(make sure both sides have the same amount of =
)
print([=====[
Halo apa yang terjadi?
Hi what happenned?
]=====])
Carrotoplia
(Carrotopliani)
December 3, 2022, 3:03pm
#17
I knew of this things existance but im not sure if it only if that works so I just left it out as its undocumented anywhere
1 Like
commitblue
(commitblue)
December 3, 2022, 6:05pm
#18
i only knew this from moonwave/docasourus but a neat thing to know
1 Like