We'll cover it all from the basics of making a block/function, to passing in parameters, to parameter types, to adding labels, and understanding the local scope of variables within blocks/functions.
It's a bit of a long tutorial so here are some quick links for easy jumping around:
00:00 Intro
00:53 The DRY Principle
01:26 What is a Custom Block?
02:15 Custom Block Examples
08:19 Creating the Block via the My Block Tab
14:00 Nesting Custom Blocks
16:30 Think of Custom Blocks (Functions) as Reusable Building Blocks
18:00 Editing/Updating a Custom Block
18:15 Adding Parameters (Inputs) to your Custom Blocks
20:22 Adding Multiple Parameters to a Custom Block
21:36 Adding Labels to Your Custom Blocks
23:36 The Boolean Parameter
27:32 Understand Local Variable Scope Within a Block/Function
If you enjoy this video, then don't forget to like and subscribe and check out some of my other Scratch Programming tutorials: https://www.youtube.com/watch?v=IqaqrG_A_e0&list=PLp-Yf6XpGk4jLd4BnMZf-9MOH4osgKSq2.
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.