User blog:YirbFpYxzhXdxfk/Scratch Scratch, try out Snap!

If you’re even only vaguely interested in software for education, you’re sure to have come across Scratch. It’s the colorful programming language that allows kids to assemble programs using lego-like blocks.

Sadly, it's community has been getting more toxic.

So, if you want to use Scratch because of how healthy(like in terms of toxicity) it is, forget it right now. Don't worry, because you can still get it's feels with Snap!.

Block introductory, for anyone confused
[ v] of costume [ v] REPORT ATTRIBUTES OF A COSTUME.

Width and height are reported in pixels while being the same during the presentation. Pixels are reported as some sort of table, where all sublists are the RGBA values for a pixel(Red, Green, Blue, Alpha). "Alpha" is how opaque the pixel is, being the inverse of the ghost effect. stretch [ v] x: y: STRETCH A COSTUME.

Note that it's a reporter, not a command! If you want the sprite to wear it, then say... switch costume to (stretch [ v] x: y: )

[ v] effect REPORT A VISUAL EFFECT'S VALUE.

Most effects have a handy value that is -100~100, but not all. Try experimenting.

shown? Reports if shown. Use show to show the sprite. Use hide to hide the sprite. play sound [ v] at ( v) Hz ADJUST THE SAMPLING'S RATE. A higher sampling rate will take less time to complete the sound, but it will also make it squeakier, and vice versa.

Most sounds have a default rate of 44100 Hz (being 44.1 kHz), due to the rate of CD making being that.

The highest pitch includable in a sound is <1/2 of the rate, so CDs can reproduce up to 20 kHz (20000 Hz), which is approximately the human ear's limit.

play frequency Hz PLAYS THE FREQUENCY UNTIL STOPPED. This block plays a tone, being a pure sine wave, at the given frequency as long as it is not stopped. To stop it, say... stop frequency

There is also a new "balance" feature.

pen down? REPORTS IF THE PEN IS DOWN. Use this to pick up the pen... pen down ...and vice versa. pen [ v] REPORTS PEN ATTRIBUTES. It includes size, hue, saturation, brightness, and transparency. write [] size WRITE TEXT ONTO THE STAGE.

The text follows the sprite's direction. At the end of the text is the sprite, meaning you can measure the length. The text's font is Monospace(i.e. Courier). pen trails REPORT LINES DRAWN ON STAGE AS A COSTUME.

The object reported does not include the stage/sprite itself, just the marks of the pen. But what can you do with it? You can... when <> STARTS COMMAND WHEN BOOLEAN IS TRUE. ''Note: This can potentially slow down the site more than the specific hat blocks, because your script is running anytime, like a forever if loop. In order to dodge an inevitable lagging, stopping the project disables the hat until another script runs.''
 * Add it to your costumes.
 * Modify it.

When the test is true, the script put under is guaranteed to start, but not necessarily end before any other script runs. message REPORT THE MOST RECENT BROADCASTED MESSAGE.

This value is best in a script that runs when a message is received, for example, running a script and then cutting off once the value is no longer the message in its hat block. warp Quick, run! Other commands can't run until the warp ends.

If the warped script malfunctions and runs infinitely, hold the stop sign until the warp ends. RUN REPEATEDLY, KEEPING COUNT.

''Drag the variable into the script.It's only there in the script. Don't move it elsewhere.''

''Click on the variable, not dragging, to rename it. That lets you nest F O R blocks!'' if <> then [] else [] PICKS OUT EITHER OF THE TWO VALUES TO REPORT.

(^o') <(Stay tuned!) | / /"|" / |  /^\ /   \ /     \