Tankt’s Code Tutorials On Random Stuff

tutorial
fish-and-guac
#1

(Credit to TheDeliciousOrange and ThatEnglishMuffin, who did these first and are probably starting a trend lol)
So ima just post random FTU (unless I say otherwise) tutorials on random stuff every so often.
they’re all FTU unless I say otherwise
So apparently @ChickenProductions7’s topic was merged here so we can share lol
Oh hey @Writer_Lillian’s topic went here too

Whether everyone else’s tutorials are FTU or not is up to them


Links To Tutorials

in this topic.
Values
Making A Drawing Pad
Getting A Project Link


Tag List

@A_Metalhead
@Amulet_10
@Apricity
@cheeseperson
@ChickenProductions7
@CoderOfMagic
@FearlessPhoenix
@Fizzy_27
@FobieFuwa
@GameCodingCrazy123
@GweTV
@HardcoreHufflepuff
@Hopscotcher
@Ivy
@JACG2018MASTER
@Kayro
@Madsie05
@MewtwoCreator
@MISSION_IMPOSSIBLE
@Murphy1
@Paige1212
@PandaS
@PerilTheSkywing
@Popkea_H.S
@Silverdolphin
@smurfy0000000
@Stylishpoopemoji33
@StarryDream
@swca
@_sylvia_H.S
@TheDeliciousOrange
@TheDrawer
@UnicornRainbow
@William04GamerA
@Writer_Lillian

17 Likes
Coding lessons! (inspired by tankt2016)
Leaders Q and A Topic
Writer_Lillian’s Code Tutorials
-Clone Tutorial-
#2

how to use VALUES (aka variables)

So values might be slightly complicated, but they’re the most helpful block I’ve ever used (in my opinion).


What are values?
They’re the light yellow blocks, by the math operations.
They’re also known as variables but ima just call them values.


You use the yellow Variable blocks to set the value to a certain number.


What do they do?
Ok I don’t know how to do this without an analogy lol so…

So Lola wants to tell all the shapes to turn a random color when the iPad is shaken, and she only wants the shapes to change color once.
She can’t use When: iPad Is Shaken because if the iPad was shaken more than once, the shapes would change color more than once, and Lola only wants the shapes to change color once.
She can solve this with values. How?
Welp I haven’t gotten to the tutorial yet and that’s where I’ll say how.


the tutorial
So let’s say you’re the Lola from that story above. You have to make the shapes change color only once.

Now you could use a When: iPad Is Shaken “when” block, but that would allow the shapes to change color more than once. That wouldn’t work, you only want the shapes to change color once.



Or you could drag out another object — let’s say Chillana, and add the code below as Chillana’s code.

And that code will let the shapes know when the iPad is shaken, and using values and the code below, the shapes will know to only change color once — when Value 1 equals 1, the shapes will change color, then set Value 1 to 2, and they won’t change color again because of the Check Once If (Value 1) does not equal (2).

The Check Once If tells Chillana to not set Value 1 to 1, if Value 1 already equals 2.

So concluding, values can help your objects tell another object to do (or not to do) a certain movement, color change, size change, etc.

Sorry if this wasn’t clear!


was this helpful?

  • Yes
  • Sorta
  • No

0 voters

Feel free to ask any questions you have!!

9 Likes
#3

Your tutorials look awesome so far. Great job with that!

3 Likes
#4

So what tutorial should I do next?

  • Trail art techniques
  • Clones
  • Making an art pad
  • Other (please reply)

0 voters

3 Likes
#5

Maybe an art pad, when I didn’t know how to make one, I struggled, and everyone wants to make their own art pad because its their art and to avoid the remix sign, right?
:wink:

2 Likes
#6

Ooh yeah
Ima do that!

#7

Hey! I am going to runs some coding lessons (since I have been hopscotching since 1 year)

Please vote on the poll below to let me know what you would like to see. (You can choose up to 2)

  • Sine and Cosine
  • Math
  • Variables
  • When blocks
  • Any Block group category (reply)
  • Other (reply)

0 voters

2 Likes
#8

Maybe since there are other coding academy’s or lessons, you could ask the others if you could help teach a lesson there. It would help the forum stop being filled with all of these lessons.

1 Like
#9

Cool!

(Btw you don’t have to give credit to me, @ThatEnglishMuffin should get it because he made the first one)

#10

Nah it’s cool tankt the tutorial ideas been around for a long time

#11

Sine and cosine are math you know.

#12

So apparently these tutorial topics are getting merged lol

Welp feel free to share this
I could add you in the title

#13

Hey guys, if you ever need help with code, lemme know! I’ve been on Hopscotch since 2016! (Different accounts) Also, I might just randomly post tutorials and game updates!
Who will find this helpful?

  • Yes
  • No

0 voters

Who would like to participate in helping with the tutorials?

  • Meh idk
  • Yes
  • Nah

0 voters

Tag list

@tankt2016
@Apricity
@UnicornRainbow
@BabyButterfly
@isurehopeso
@Silverdolphin
@SantaClaus
@Someone45356
@SarcasticTvHead
@Rednoodles
@gwetv
@Hopscotcher
@MewtwoCreator
@Stylishpoopemoji33
@Ivy
Ask to join!

Thank you for reading!

6 Likes
#14

Hope this will help those who need it in the future!

#15

Lol TDO and TEM did start a trend…

2 Likes
#16

I’m sorry if I kinda got your :bulb: idea.
Y’all credit to @tankt2016
I just realized you had a topic like this

#17

You don’t have to give credit and it’s ok if you got the idea for coding tutorials,

1 Like
#18

I can help you with doing tutorials if you would like! Just tag me and say what´s needed :slight_smile:

3 Likes
#19

I’ve been on the same account since 2016 too!

#20

Ooooooof we did but that’s cool, the more tutorials the better.

1 Like