What are blocks and what do they do?
Blocks are a set of commands that are called "command blocks" to form a create a whole code. You can place these in sprites and backdrops, but I never explained what they are:
Sprites are your characters that will move and interact in scratch.
Backdrops are your backgrounds.
They are 9 unique types of blocks that do a different function than the other in scratch, they're:
- Motion
- Looks
- Sound
- Events
- Control
- Sensing
- Operators
- Variables
- My Blocks
Motion Blocks: These blocks help the sprites to move from a place to another and change their angle and direction, like all other games. They have coordinates, so like that Scratch has one too! With specific blocks that stand them out and these blocks are not there in backdrops.
Look Blocks: Look Blocks have something for the viewer to look at, while although most blocks do the same, this one is its main purpose. It makes sprites say something without the viewer saying anything in return and switches costumes of sprites and changes backdrops time to time. Somewhat similar to the Motion Blocks is that some of the command blocks are not there in backdrops.
Sound Blocks: Sound Blocks are itself self-explanatory and are in the name, sound blocks are blocks that not only make sound but controls the volume of the sound. And unlike Looks and Motion, backdrops have these.
Event Blocks: Events Blocks are blocks that one of the major blocks out of all, without these. You couldn't start a program without these blocks since they always start the program and are never supposed to follow a block before them.
Control Blocks: Blocks like these help the sprite do to what and when. Although some command blocks do that these blocks are special about it.
Sensing Blocks: These blocks sense stuff, whether having a conservation with the viewer, realize it touch a specific color, and knows when a specific key is pressed.
Operator Blocks: They are basically blocks about math talking about addition, subtraction, multiplication and division, however operator blocks do blocks about RNG (Random Number Generator), greater and less than, join, mod, round and many more!
Variable Blocks: The blocks are makes up variables, pretty simplistic.
My Blocks: These blocks are actually special and somewhat complex compared to the other ones, these blocks make your own blocks and will be discussed even further later on.

Comments
Post a Comment