This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-30 22:29:41

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Block Descriptions

I'm making a huge tutorial on Scratch, explaining every individual block, what it does, how it's useful, some related blocks, and for most an example.  I have the whole tutorial engine done, what I really need now is ideas for examples for individual blocks and descriptions of each block...I'm definitely doing all the control, operators, and variables, but I would like some help with the other categories.

If you want to help:

DESCRIPTION:
Type or paste your description here and, so that I can give proper credit, include your username as well.  I know I could just look at who posted it but it's easier to simply have you guys include it.  Descriptions have a max of 600 characters.

EXAMPLE:
Upload it to Scratch and post a link.  I'll let you know when I've downloaded and saved it.  Keep the examples small...very small.  Like a max of 15 blocks.  This is for data purposes and convenience.

Here is an example description that I wrote for the green flag block:
This is probably the most used block in
Scratch.  This is an initiator, or a block
that is always at the top of a script and
causes the rest of the script to run.

This block is initiated when the green flag
in the upper right corner is clicked.

The reason this block is useful is because
it allows you to sync the starting of a lot of
scripts.  Also, it is the only type of initiator
that is started automatically when online.

There is no example for this block, but you
can find one in almost any project you
download.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#2 2012-05-30 23:12:44

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Block Descriptions

Awesome! I've been meaning to do this for a while. It took forever so I gave up. I'll help out, you'll just have to remind me in a comment or something cause I'm about to sleep  tongue

Last edited by chanmanpartyman (2012-05-30 23:13:54)

Offline

 

#3 2012-06-05 18:40:40

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Block Descriptions

<touching [stuff v]?>
This is a boolean block. In case you haven't read about other boolean blocks, a boolean reports either true or false. You can tell it is a boolean if it has a triangle shape on the edge.
This block reports if the sprite it is being used in is touching the selected object. The objects are mouse-pointer, edge, and every single sprite.


What is in bold is used for all booleans, if that is okay.
Also, cool new sig!  big_smile

Last edited by chanmanpartyman (2012-06-05 18:41:24)

Offline

 

#4 2012-06-05 22:59:08

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Block Descriptions

chanmanpartyman wrote:

<touching [stuff v]?>
This is a boolean block. In case you haven't read about other boolean blocks, a boolean reports either true or false. You can tell it is a boolean if it has a triangle shape on the edge.
This block reports if the sprite it is being used in is touching the selected object. The objects are mouse-pointer, edge, and every single sprite.


What is in bold is used for all booleans, if that is okay.
Also, cool new sig!  big_smile

Awesome  smile .  Sounds like a great suggestion as well.  I might also add that touching doesn't work when a sprite is hidden and sometimes doesn't work when a sprite is fully ghost, but other than that, awesome!


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#5 2012-06-11 22:33:22

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Block Descriptions

(distance to [sprite1 v])
This block reports the distace to another sprite, in terms of the same units used be the move () steps block.  It is useful for following a sprite at a distance, or to do different things at different distances.

Last edited by berberberber (2012-06-11 22:36:55)


http://i47.tinypic.com/2iaa73k.png

Offline

 

#6 2012-06-11 23:00:06

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Block Descriptions

berberberber wrote:

(distance to [sprite1 v])
This block reports the distace to another sprite, in terms of the same units used be the move () steps block.  It is useful for following a sprite at a distance, or to do different things at different distances.

Thanks! I'll keep it in consideration  smile


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#7 2012-06-12 19:14:17

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Block Descriptions

(answer)
This block is used in cunjunction with the ask block. It reports the input in the ask block.  If the ask block is used more than once, the answer block will report the most recent value.  It is useful in a chat program, or to stimulate a conversation.

Related blocks:  Ask [] and wait


http://i47.tinypic.com/2iaa73k.png

Offline

 

#8 2012-06-12 22:03:19

PencilFactory
Scratcher
Registered: 2011-11-11
Posts: 100+

Re: Block Descriptions

when http://scratch.mit.edu/ext/blocksplugin/gf.png clicked
when the http://scratch.mit.edu/ext/blocksplugin/gf.png is clicked run the blocks below


PencilFactory is http://blocks.scratchr.org/API.php?user=PencilFactory&amp;action=onlineStatus&amp;type=text, see my computerhttp://mag.racked.eu/cimage/i9002/Achievement+get%21/Computer+crashed/mca.png

Offline

 

#9 2012-06-16 03:13:08

CoolScrawl
Scratcher
Registered: 2012-02-04
Posts: 100+

Re: Block Descriptions

repeat (10)

this repeats the script 10 times.


http://i.imgur.com/sFkNT3c.gif

Offline

 

#10 2012-06-16 03:18:41

bluecat600
Scratcher
Registered: 2012-02-12
Posts: 500+

Re: Block Descriptions

<loud?>
This boolean reports if it's loud.

Example:

when [space v] key pressed
forever if <loud?>
 say [It's loud!] for (5) secs
end
stop all

Last edited by bluecat600 (2012-06-16 03:22:20)


I gaze off into the boundless skyline, noteblock choirs playin in the sunshine, turn round pick up my sword and wield the blade that once forced evil mobs to yield, if this battle shall leave me slain, I know Herobrine still calls my name, better just take a stand, that was when I ruled the land.

Offline

 

#11 2012-06-16 08:56:48

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Block Descriptions

berberberber wrote:

(distance to [sprite1 v])
This block reports the distace to another sprite, in terms of the same units used be the move () steps block.  It is useful for following a sprite at a distance, or to do different things at different distances. It is very useful in games with projectile firing enemies, as you can tell them not to fire until a certain range is achieved.

Added a bit, it's something people might want to know.  smile


Why are the secret organizations getting all the attention?  mad

Offline

 

#12 2012-06-17 10:54:33

Scratcher456
Scratcher
Registered: 2010-12-04
Posts: 58

Re: Block Descriptions

change variable [stuff] by [10]
Variables are values that can be named by a user, and their values changed. A variable may be used in place of a number or word in a block, and their value controlled by other blocks. This block changes the value of variable 'stuff' by 10 when triggered in a script.

Just chippin' in! Sorry about the obsolete-ish block. First time posting a block.  smile

Last edited by Scratcher456 (2012-06-17 10:55:08)


Mining diamonds, mining diamonds, mining diamonds...

Offline

 

#13 2012-06-17 16:40:43

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: Block Descriptions

I made a project with a bunch of these a while back.  If I haven't dug it up and posted here by Thursday, come bother me on one of my projects  tongue .

EDIT for above scratcher:

change [variable v] by (10)

Last edited by LiquidMetal (2012-09-27 22:26:30)

Offline

 

#14 2012-06-17 17:35:13

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: Block Descriptions

The

move [10] steps
blocks allows a sprite to move 10 steps in the direction it is facing. It is different from both the "Change x by []" and "Change y by []"  because it will not move ten steps in just one direction, unless the abs of the degree is a multiple of 90. It will use it's direction to find a ratio of "x change" and "y change" for it to move by. It is used in nearly all types of projects, such as animations, games, or simulations.


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#15 2012-07-16 15:14:01

sauhaardac
Scratcher
Registered: 2011-12-21
Posts: 2

Re: Block Descriptions

Sauhaarda,
The answer block-
This blocks stores the answer to a question the user asked earlier

Offline

 

#16 2012-07-16 15:16:18

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Block Descriptions

sauhaardac wrote:

Sauhaarda,
The answer block-
This blocks stores the answer to a question the user was asked earlier

That's actually a really important part.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

#17 2012-07-16 15:17:22

Sauhaarda
New Scratcher
Registered: 2012-07-10
Posts: 2

Re: Block Descriptions

The Answer block is a Sensing block and a Reporter block. The block holds the most recent text imputed with the Ask () and Wait block. When nothing has been imputed yet, the value will hold nothing.

Offline

 

#18 2012-07-16 15:21:04

Sauhaarda
New Scratcher
Registered: 2012-07-10
Posts: 2

Re: Block Descriptions

The Mouse X block is a Sensing block and a Reporter block. The block holds the mouse-pointer's current X position.

Offline

 

#19 2012-07-16 18:20:50

Nathanator1416J
Scratcher
Registered: 2012-02-21
Posts: 100+

Re: Block Descriptions

You really shouldn't make others do the hard work for you.


http://wiki.scratch.mit.edu/images/Ptp.gif PEPPERTREE  Productions (PtP)
Tourmaline Scientific Research Programs

Offline

 

#20 2012-08-22 17:10:57

tbfg32
Scratcher
Registered: 2012-02-13
Posts: 35

Re: Block Descriptions

I want to help! Well, I can't help with most of the descriptions of the sensing, Varible and Operator blocks, as I don't understand them much myself, but I would like to help with Examples of some of the blocks, as I didn't see any when I was checking the project out. I love your project, by the way!

Offline

 

#21 2012-08-23 10:21:32

Spyderblade
Scratcher
Registered: 2012-07-13
Posts: 100+

Re: Block Descriptions

think [Hmm...] for (2) secs
this block is usually used for animations, when a character is thinking something. It appears on the presentation screen as a cloud-like speech bubble.


http://i48.tinypic.com/2pzbc5x.jpg
Am I online? http://blocks.scratchr.org/API.php?user=Spyderblade&amp;action=onlineStatus&amp;type=circle And, check out my Challenge Mission 2!!

Offline

 

#22 2012-08-24 18:25:36

tbfg32
Scratcher
Registered: 2012-02-13
Posts: 35

Re: Block Descriptions

Can I have some help? I want to help with this, but I can't figure out the Scratch Blocks in your posts, and the Wiki thing wasn't enough. Can someone explain it to me? Then I can actually help!

Offline

 

#23 2012-08-24 18:29:30

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Block Descriptions

bluecat600 wrote:

<loud?>
This boolean reports if it's loud.

Example:

when [space v] key pressed
forever if <loud?>
 say [It's loud!] for (5) secs
end
stop all

Loud means above 30 loudness.

Nathanator1416J wrote:

You really shouldn't make others do the hard work for you.

He/she's not MAKING them do it, its entirely voluntary.

Last edited by Molybdenum (2012-08-24 18:30:38)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#24 2012-08-24 18:34:41

tbfg32
Scratcher
Registered: 2012-02-13
Posts: 35

Re: Block Descriptions

Well, I can't do the blocks thing, but I have a description for one anyways! (Which may not be too good. Leaning towards REALLY bad...) The block I am doing is the "Change ______ effect by __" block. I am gonna call it the change something block. Well, not something but you get it.

The change _____ effect block has seven things to chose from: Color, Whirl, Fisheye, Pixelate, Mosiac, Brightness, and Ghost. The color one changes the sprites color by whatever number you put there, so if you put 1, it will change the shade by 1.


So, I just forgot everything else I was going to say, so thats all. Sorry!

Offline

 

#25 2012-09-04 21:57:03

tpaley
Scratcher
Registered: 2011-05-22
Posts: 100+

Re: Block Descriptions

tbfg32 wrote:

Well, I can't do the blocks thing, but I have a description for one anyways! (Which may not be too good. Leaning towards REALLY bad...) The block I am doing is the "Change ______ effect by __" block. I am gonna call it the change something block. Well, not something but you get it.

The change _____ effect block has seven things to chose from: Color, Whirl, Fisheye, Pixelate, Mosiac, Brightness, and Ghost. The color one changes the sprites color by whatever number you put there, so if you put 1, it will change the shade by 1.


So, I just forgot everything else I was going to say, so thats all. Sorry!

instead of shade, I think hue would actually be a better word

Last edited by tpaley (2012-09-04 21:57:42)


http://i49.tinypic.com/2z82h3d.gif

Offline

 

Board footer