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

#26 2011-03-16 16:21:43

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Sound
http://scratch.mit.edu/redirect/url?link=http://i54.tinypic.com/9j0lcg.jpg

http://scratch.mit.edu/redirect/url?link=http://www.weebly.com/uploads/4/0/7/6/4076678/2844713.gifShared by Sparks
Block number: [16]    [view source] [What is this?]
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://www.weebly.com/uploads/4/0/7/6/4076678/279508.gifShared by PlayWithFire
Block number: [17]    [view source] [What is this?]
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

^ Back to Panther Blocks
^ Back to Contents

Last edited by YourLocalBlockLib (2011-07-11 12:06:37)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#27 2011-03-16 16:22:51

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Operators
http://scratch.mit.edu/redirect/url?link=http://i56.tinypic.com/261km15.jpg

http://scratch.mit.edu/redirect/url?link=http://www.weebly.com/uploads/4/0/7/6/4076678/6816507.gifShared by nXIII
Block number: [18]    [view source] [What is this?]
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/negative.gifShared by bbeb
Block number: [19]    [view source] [What is this?]
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/string.gifShared by Sparks
Block number: [20]    [view source] [What is this?]
Notes:
This block reports it's contents. Useful for dropping into areas that normally don't accept text.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://img98.imageshack.us/img98/5135/45595913.gifConverted from Scratch to Panther by Sparks
Block number: [21]    [view source] [What is this?]
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/6253707.gifShared by MathWizz
Block number: [43]    [view source] [What is this?]
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/1303492.gifShared by MathWizz
Block number: [46]    [view source] [What is this?]
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/265037.gifShared by Sparks
Block number: [55]    [view source] [What is this?]
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/3445196.gif?346Shared by Sparks
Block number: [59]    [view source] [What is this?]
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

^ Back to Panther Blocks
^ Back to Contents

Last edited by YourLocalBlockLib (2011-07-11 12:07:05)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#28 2011-03-16 16:23:55

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Pen
http://scratch.mit.edu/redirect/url?link=http://i52.tinypic.com/2mi16w3.jpg

http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/2626699.gif?426Shared by MathWizz
Block number: [44]    [view source] [What is this?]
________________________________________________________________________________

http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/3045448.gif?717Shared by MathWizz
Block number: [45]    [view source] [What is this?]
________________________________________________________________________________

http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/3991118.gif?343Shared by MathWizz
Block number: [50]    [view source] [What is this?]
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

^ Back to Panther Blocks
^ Back to Contents

Last edited by YourLocalBlockLib (2011-07-11 12:07:14)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#29 2011-03-16 16:25:08

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Variables
http://scratch.mit.edu/redirect/url?link=http://i51.tinypic.com/21j38ra.jpg

http://scratch.mit.edu/redirect/url?link=http://www.weebly.com/uploads/4/0/7/6/4076678/6271504.gif?345Shared by nXIII
Block number: [22]    [view source] [What is this?]
Notes:
This block is very useful for changing the background color of any variable watcher! Get rid of that horrible orange color and go with something that compliments your project's color scheme!
________________________________________________________________________________

http://scratch.mit.edu/redirect/url?link=http://img15.imageshack.us/img15/3083/98225614.gifShared by johnnydean1
Block number: [23]    [view source] [What is this?]
Notes:
Reports which line of a list contains the string.
________________________________________________________________________________

http://scratch.mit.edu/redirect/url?link=http://img230.imageshack.us/img230/8711/37513197.gifShared by johnnydean1
Block number: [24]    [view source] [What is this?]
Notes:
Reports a list as a single string with a chosen breaker separating lines.
________________________________________________________________________________

http://scratch.mit.edu/redirect/url?link=http://img405.imageshack.us/img405/7517/88678216.gifShared by johnnydean1
Block number: [25]    [view source] [What is this?]
Notes:
Converts a string to a list, starting a new line using a chosen breaker as a marker.
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

^ Back to Panther Blocks
^ Back to Contents

Last edited by YourLocalBlockLib (2011-07-11 12:07:23)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#30 2011-03-16 16:26:09

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Files
http://scratch.mit.edu/redirect/url?link=http://i51.tinypic.com/20ql8ck.jpg

http://scratch.mit.edu/redirect/url?link=http://img528.imageshack.us/img528/2118/71476312.gif Shared by johnnydean1
Block number: [26]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img576.imageshack.us/img576/6280/63883026.gif Shared by johnnydean1
Block number: [27]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img686.imageshack.us/img686/5114/74862736.gif Shared by johnnydean1
Block number: [28]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img508.imageshack.us/img508/3200/32841312.gif Shared by johnnydean1
Block number: [29]    [view source] [What is this?]
Notes:
Creates a new file. Note: due to a glitch in the Panther code, the "clear file $String$ block that comes with Panther can also be used if a non-existent file is entered into the block.
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img222.imageshack.us/img222/4151/35194256.gif Shared by johnnydean1
Block number: [30]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img844.imageshack.us/img844/8761/71715601.gif Shared by johnnydean1
Block number: [31]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img140.imageshack.us/img140/8386/32670156.gif Shared by johnnydean1
Block number: [32]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img258.imageshack.us/img258/1914/89928114.gif Shared by johnnydean1
Block number: [33]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://img146.imageshack.us/img146/4064/58076145.gif Shared by johnnydean1
Block number: [34]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/151875.gif Shared by MathWizz
Block number: [42]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/7400881.gif Shared by nXIII
Block number: [48]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/2511239.gif Shared by MathWizz
Block number: [52]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/9681398.gif Shared by MathWizz
Block number: [53]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/4839356.gif Shared by MathWizz
Block number: [54]    [view source] [What is this?]
________________________________________________________________________________
http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/3575220.gif [57] and http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/8578847.gif[58] Shared by Johnnydean
Block numbers:
[57]    [view source] [What is this?]
[58]    [view source] [What is this?]
What these blocks do
These blocks are a special set that use a MySQL server hosted by Johnnydean to save variables online. Use the first block to read them and the second to write/create variables. As a courtesy, so that when you create a variable for your game you do not accidentally overwrite someone else's with the same name, put your name, the project name or some other unique factor in front of all your variables such as sparks_variable or blocklib_score or 146423_coins. This will also stop other people accidentally overwriting your variables.

Please note: all data you store online with this system is viewable to all. The block library strongly advises against sharing any personal information or passwords you use elsewhere. Responsibility for this lies with you, the user, and johnydean1 is responsible for running this project.

View the database and site for this here.
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

^ Back to Panther Blocks
^ Back to Contents

Last edited by YourLocalBlockLib (2011-07-11 12:08:05)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#31 2011-03-16 16:27:12

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Colors
http://scratch.mit.edu/redirect/url?link=http://i52.tinypic.com/dza328.jpg

http://scratch.mit.edu/redirect/url?link=http://img818.imageshack.us/img818/3711/58099317.gif Shared by johnnydean1
Block number: [35]    [view source] [What is this?]
Notes:
Turns a binary number into a color.
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png
^ Back to Panther Blocks
^ Back to Contents

Last edited by YourLocalBlockLib (2011-07-11 12:08:17)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#32 2011-03-16 16:28:41

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png
^Back to Panther blocks

Downloading a Panther block

Download the block
or follow the tutorial:

To download a Panther block from the library, follow these steps:

Open Panther and go to the variables tab. Scroll down and select "make a block". A popup box will appear asking for the block name. paste in this code:

Code:

download block $Number$ from block library

http://scratch.mit.edu/redirect/url?link=http://img805.imageshack.us/img805/6205/78060984.png

Click OK. A new window will appear with several boxes in it. The top one has the text you just entered. Choose a color from the color swatch in the top right corner, and copy this code into the large box:

Code:

|maker link t2 t3 t4|
link_'http://dl.dropbox.com/u/6273449/', t1 asString, '.txt'.
maker_self readLine: 1 FromUrl: link.
t1_self readLine: 2 FromUrl: link.
t2_self readLine: 3 FromUrl: link.
t4_self readLine: 4 FromUrl: link.
t4_self stringAsColor: t4.
t3_self readLine: 5 FromUrl: link.

createdBlocks at: t1 put: {t1. t1. '-'. ''. self class blockColorFor: 'custom'}.createdBlocks at: t1 put: {t1. t1. t2. t3. t4}.(t4 _ self ownerThatIsA: ScratchFrameMorph) ifNotNil: [t4 viewerPane categoryChanged: 'variables'].

self showInformDialog: 'Sucess!' withText: 'The block has been added to your variables tab.', '
', 'The "', t1, '" block', '
', ' was shared by ', maker

So it looks like this:
http://scratch.mit.edu/redirect/url?link=http://img149.imageshack.us/img149/1879/87130624.png

Click OK and you should find a new block in the variables tab at the bottom that looks like this:
http://scratch.mit.edu/redirect/url?link=http://img818.imageshack.us/img818/7799/48678810.gif

Once you have this block, you can browse the Panther section of the block library for a block you want, and then enter the "block number" next to it into your download block. Double click the block to make it work and the new block will be added to the variables tab along with the rest. Click here to start browsing Panther blocks.

http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png
^Back to Panther blocks

Last edited by YourLocalBlockLib (2011-08-23 14:55:40)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#33 2011-03-16 16:30:10

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Requested blocks
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

Here's a list of blocks people have asked for! If you think you can make one of them work, help fill the library with useful blocks by submitting the code as a comment! If you want to request a block or vote for a block that's already there, post a comment with a name and description and if there's no problem with it, we'll post it here for all to see!
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

Previously answered and solved requests: [6]

Block name:
|Run]
|
|but if < >, pause]

What this should do

Requested for:
BYOB


Block name:
<saying [s]?>
Requested for:
Scratch

Block name:
(last broadcast sent)
Requested for:
Scratch

Block name:
[turn costume (n) into new sprite]
Requested for:
Panther

Block name:
(average color of pixels in square x:(n) y:(n) to x:(n) y:(n))
requested for
Panther

________________________________
home

Last edited by YourLocalBlockLib (2011-09-11 10:49:33)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#34 2011-03-16 16:31:22

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png
^home

Block Library Statistics.

GREEN numbers are shared blocks, PURPLE numbers are shared blocks that were requested. BLUE numbers are improvements made. So in this example: "User [3] [1] [2] ", User has shared a total of 4 blocks and has made 2 improvements.
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/scratch1.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/s1.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/s5.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/s8.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/scratch2.gif

http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=17&amp;type=stack&amp;color=motion Motion
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=22&amp;type=stack&amp;color=control Control
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=25&amp;type=stack&amp;color=looks Looks
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=22&amp;type=stack&amp;color=sensing Sensing
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=6&amp;type=stack&amp;color=sound Sound
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=55&amp;type=stack&amp;color=operators Operators
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=6&amp;type=stack&amp;color=pen Pen
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=14&amp;type=stack&amp;color=variables Variables

Contributors
Total Scratch block contributors: [25]
MarioBlender [1]
Sparks [2]
Billybob-Mario [1]
bbbeb [1]
Zorket [12] [2] [1]
rubiks_cube_guy238 [1]
midnightleopard [1]
Jwosty [3]
sonicjosh [1]
LS97 [2] [1]
PlayWithFire [1]
nXIII [1]
Jonathanpb [1]
Hardmath123 [34] [1]
Pecola1 [37] [1]
coupdegrace [1]
ESN [1]
MathWizz [1]
Jens Mönig (Jens) [1]
hello12345678910 [1]
ProgrammingFreak [1]
Scimonster [4] [7]
jslomba [1]
meew0 [1]
jslomba [9] (1 with Greenatic)
SSSS [2]
TuragaTreeko [3]
poemon1 [1]
Baderous [2] [2]
Greenatic [38] (1 with jslomba) [4] [1]
owetre18 [1]

Top Scratch Blocks Contributor: Greenatic [38] (1 with jslomba) [4] [1]


^home
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/byob1.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/b1.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/b4.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/b3.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/byob2.gif

http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=15&amp;type=stack&amp;color=motion Motion
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=18&amp;type=stack&amp;color=control Control
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=12&amp;type=stack&amp;color=looks Looks
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=10&amp;type=stack&amp;color=sensing Sensing
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=1&amp;type=stack&amp;color=sound Sound
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=53&amp;type=stack&amp;color=operators Operators
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=15&amp;type=stack&amp;color=pen Pen
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=9&amp;type=stack&amp;color=variables Variables
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=6&amp;type=stack&amp;color=888888 Other

Contributors
Total BYOB block contributors: [30]

Jonathanpb [5]
PlayWithFire [8]
SSBBM [38] [3]
Guinea_Pig_Girl [3]
midnightleopard [2]
meowmeow55 [8]
TheSuccessor [1]
rdococ [2]
bbbeb [1]
Chrischb [2]
nXIII [1]
owetre18 [3] [1]
subzerostig [6]
ScratchReallyROCKS [2]
sid_the_great [4]
Sparks [3]
Pecola1 [6] [1]
beary605 [5]
floppy_gunk [16] [1] [4]
jman13 [1]
ESN [1]
MathWizz [5]
thecrazyguy [1]
Spongelove [2]
ProgrammingFreak [1]
Scimonster [5] [1]
Matty3414 [1]
joefarebrother [3] [2]
roijac [2]
Flashgocrazy [6]
Sidharth [1]

Top BYOB Blocks Contributor: SSBBM [38] [3]

^home
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/panther1.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/p6.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/p0.gifhttp://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/panther2.gif

http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=0&amp;type=stack&amp;color=motion Motion
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=11&amp;type=stack&amp;color=control Control
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=3&amp;type=stack&amp;color=looks Looks
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=12&amp;type=stack&amp;color=sensing Sensing
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=2&amp;type=stack&amp;color=sound Sound
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=8&amp;type=stack&amp;color=operators Operators
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=3&amp;type=stack&amp;color=pen Pen
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=4&amp;type=stack&amp;color=variables Variables
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=16&amp;type=stack&amp;color=files Files
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=1&amp;type=stack&amp;color=colors Colors

Contributors
Total Panther block contributors: [10]

Sparks [11] [5][4]
BillyEdward [1]
Billybob-Mario [1]
PlayWithFire [1]
nXIII [3]
bbeb [1]
johnnydean1 [20] [2]
floppy_gunk 2
MathWizz [10]
Pecola1 [1]


Top Panther Blocks Contributor: johnnydean1 [22]

http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

home

Last edited by YourLocalBlockLib (2011-12-17 22:05:43)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#35 2011-03-16 16:32:22

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Glossary

Report
: The answer to a block. The http://wiki.scratch.mit.edu/images/X_Position.png block reports the X position.

Argument: Any space where you can type, drop other blocks or select from a dropdown is called an argument. When people talk about a block, they use a $ symbol to indicate where the argument is (Panther blocks) or a % symbol for Scratch blocks.
Panther says: "if $Boolean$ then $String$ else $String$"
Scratch says: "if %b then %s else %s"

Boolean: The pointy shaped block that reports true or false when clicked.

String: A white, rectangular area in a block where you can type text. (Such as the http://wiki.scratch.mit.edu/images/Say_%28%29.png block.)

Number (argument): A white, oval shaped area in a block where you can type numbers, commas/periods, and the negative sign, but no other keyboard symbols. (Such as thehttp://wiki.scratch.mit.edu/images/%28%29_plus_%28%29.png block.)  Here is what can be typed: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, -, ,, ..

Run: This basically means the block or script is doing what it does. There will be a white line around the blocks when they are running.

Instance: Commonly misunderstood word... not sure what it means myself, please do post a lamen's terms explanation for this!

Method/Code: The term 'method' is more correct. A method is any code in Scratch. A code is a method, and a method is a code, when making a block, usually people will tell you the blockspec, and the method/code. The blockspec obviously goes under blockspecs but what about the method/code? The method or code, unless told otherwise, should usually go under: ScratchObjects >> ScriptableScratchMorph instance >> other ops.

No Stage monitor: The checkbox can be removed from next to a block by going to Scratch-Blocks >> CommandBlockMorph >> private >> canBecomeWatcher. Add #yourSelector:GoesHere: before ") includes: selector)". Accept.

Making a cap block: 1) Go to Scratch-Blocks >> CommandBlockMorph >> accessing >> isStop
2) Add the following code:

| (selector = #whatYourMethodIsCalled)

http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

home

Last edited by YourLocalBlockLib (2011-08-23 14:56:53)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#36 2011-03-16 16:33:24

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png
                                    http://scratch.mit.edu/redirect/url?link=http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/292223741.gif

Previous block library updates:

[17 Dec 11] Blocks:[9] Other updates: [1]

[9 Sept 11] Blocks: [26] Other updates: [5]

[30 Aug 11] Blocks: [5] Other updates: [0]

[08 Aug 11] Blocks: [7] Other updates: [1]

[28  July  11] Blocks: [3] Other updates: [0]

[21  July  11] Blocks: [1] Other updates: [0]

[21  July  11] Blocks: [26] Other updates: [8]

[11  July  11] Blocks: [11] Other updates: [1]

[09  July  11] Blocks: [2] Other updates: [2]

[17  June  11] Blocks: [11] Other updates: [0]

[10  June  11] Blocks: [1] Other updates: [0]

[03  June  11] Blocks: [1] Other updates: [2]

[01  June  11] Blocks: [2] Other updates: [2]

[31   May  11] Blocks: [1] Other updates: [0]

[29   May  12] Blocks: [2] Other updates: [1]

[29   May  11] Blocks: [2] Other updates: [1]

[27   May  11] Blocks: [4] Other updates: [0]

[26   May  11] Blocks: [3] Other updates: [0]

[05   May  11] Blocks: [2] Other updates: [0]

[04   May  11] Blocks: [4] Other updates: [3]

[02   May  11] Blocks: [1] Other updates: [1]

[26   Apr   11] Blocks: [15] Other updates: [1]

[26   Apr   11] Blocks: [2] Other updates: [0]

[21   Apr   11] Blocks: [7] Other updates: [2]

[17   Apr   11] Blocks: [2] Other updates: [1]

[10   Apr   11] Blocks: [2] Other updates: [0]

[10   Apr   11] Blocks: [2] Other updates: [0]

[17   Mar   11] Blocks: [5] Other updates: [1]

[14   May   11] Blocks: [2] Other updates: [0]

Note: The below dates will take you to the old topic.

[14   Dec   10] Blocks: [31] Other updates: [4]

[08   Dec   10] Blocks: [17] Other updates: [3]

[24   Nov   10] Blocks: [4] Other updates: [7]

[18   Nov   10] Blocks: [4] Other updates: [3]

[17   Nov   10] Blocks: [19] Other updates: [1]
________________________________________________________________________________
home

Last edited by YourLocalBlockLib (2011-12-17 22:07:49)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#37 2011-03-16 16:34:32

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png
^Back to BYOB blocks


Making a BYOB block from the library

1) Open BYOB and go to the bottom of the variables tab. Click on the "make a block" button. OR right-click and press 'make a block'
http://scratch.mit.edu/redirect/url?link=http://img704.imageshack.us/img704/6202/byob1.png

2) A window appears. Type the name of the block into the text box. Select the category and type of block then click OK
http://scratch.mit.edu/redirect/url?link=http://img526.imageshack.us/img526/1447/byob2.png

3)A new window appears. Drag the blocks (like you would do for a normal script) that are in the library.
http://scratch.mit.edu/redirect/url?link=http://img412.imageshack.us/img412/3628/byob3.png

4) To add variables...
  A) Add the block 'script variables () >' to add some that the user can not see or change (unless changing other vars)
  B) Click + next to any text for some like http://scratch.mit.edu/redirect/url?link=http://i56.tinypic.com/2mo9ht2.gif
http://scratch.mit.edu/redirect/url?link=http://img99.imageshack.us/img99/7290/byob4.png http://scratch.mit.edu/redirect/url?link=http://img258.imageshack.us/img258/6726/byob5.png

5) With any luck you can drag out the new block and use it! If you take a block from the library that does not have a http://scratch.mit.edu/redirect/url?link=http://i53.tinypic.com/5bqjxh.jpg image next to it, do post in this thread and share whether it worked or not!

____________________________________
^Back to BYOB blocks

Last edited by YourLocalBlockLib (2011-08-23 14:57:27)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#38 2011-03-16 16:35:39

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png
^Back to BYOB blocks


Donating a BYOB block to the library

1) Make your block!

2) Place your block in in the script area alone.

http://scratch.mit.edu/redirect/url?link=http://img403.imageshack.us/img403/482/blockn.png

3) Right click, then click save picture of scripts.

http://scratch.mit.edu/redirect/url?link=http://img88.imageshack.us/img88/4011/savepicofscripts.png

3) Right click on your block and then click edit. Save a picture of the scripts like you did your the single block

4)Upload the pictures somewhere. (Note: Due to some sites being blocked by parents we may change the domain.)

5)Post a reply with your block here.
____________________________________
^Back to BYOB blocks

Last edited by YourLocalBlockLib (2011-08-23 14:57:53)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#39 2011-03-16 16:36:56

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png
^Back to Scratch blocks
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png
http://scratch.mit.edu/redirect/url?link=http://weebly.com/uploads/8/1/3/6/8136364/3621999.png
http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

How to download a Scratch block
Credit to nXIII for his patcher, which this code was based on.

This is a way how you can make an "import block" item in the file menu so you can download and import blocks from the library.

Beware: this feature is untested! If you want to test it for us, great, but don't use this in your production environment yet!

The Importer
Installing the block importer is the hardest (but not very hard) thing you must do in order to import blocks. Simply follow these instructions:
Step 1: Open Scratch
Step 2: Press and hold the "shift" key while clicking the loop of the "R" in the Scratch logo
Step 3: Select "turn fill-screen off" from the popup menu which shows up
Not showing up? Make sure you're clicking inside the loop of the "R"; the "logo" referred to is the one that says "Scratch" in the top-left corner.
Step 4: Click anywhere in the "white space" which shows up at the bottom and right sides of the window
Step 5: Select "open..." from the popup menu
Step 6: Select "workspace" from the subsequent popup menu
Step 7: Copy the following text and paste it into the textbox-like window with (Windows) Alt+V or (Mac) Command+V, or by clicking the "-" button above the scrollbar (appears when the mouse is over the "workspace" window) and selecting "paste (v)"

Code:

'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 18 June 2010 at 5:06:17 pm'!

!ScratchFileChooserDialog methodsFor: 'initialization'!
createBlockFileChooserFor: t1 
    scratchFrame _ nil.
    readingScratchFile _ true.
    list _ ScratchFilePicker new extensions: #(#block ).
    self removeAllMorphs.
    bottomSpacer delete.
    bottomSpacer _ nil.
    mainColumn addMorphBack: list.
    self title: 'Import Block'.
    list scratchInfoClient: nil.
    mainColumn addMorphBack: (Morph new extent: 5 @ 9;
         color: Color transparent);
     addMorphBack: newTitleBin.
    fileInfoColumn addMorphBack: buttonRow.
    self addMorphBack: shortcutColumn;
     addMorphBack: mainColumn;
     addMorphBack: fileInfoColumn! !


!ScratchFrameMorph methodsFor: 'menu/button actions'!
addBlock
    | t1 t2 t3 t4 |
    t1 _ ScratchFileChooserDialog new createBlockFileChooserFor: self;
             type: #block.
    t2 _ t1 getUserResponse.
    t2 = #cancelled ifTrue: [^ self].
    t3 _ (FileDirectory forFileName: t2)
                oldFileNamed: t2.
    t4 _ t3 contentsOfEntireFile.
    (ReadWriteStream
        on: t4
        from: 1
        to: t4 size) fileIn! !

!ScratchFrameMorph methodsFor: 'menu/button actions'!
fileMenu: t1 
    | t2 |
    t2 _ CustomMenu new.
    t2 add: 'New' action: #newScratchProject.
    t2 add: 'Open' action: #openScratchProject.
    t2 add: 'Save' action: #saveScratchProjectNoDialog.
    t2 add: 'Save As' action: #saveScratchProject.
    t2 addLine.
    t2 add: 'Import Project' action: #importScratchProject.
    t2 add: 'Export Sprite' action: #exportSprite.
    t2 addLine.
    t2 add: 'Import Block' action: #addBlock.
    t2 addLine.
    t2 add: 'Project Notes' action: #editNotes.
    Sensor shiftPressed
        ifTrue: 
            [t2 addLine.
            t2 add: 'Write Project Summary' action: #writeSummaryFile.
            t2 add: 'Write Multiple Project Summaries' action: #writeMultipleSummaries].
    t2 addLine.
    t2 add: 'Quit' action: #quitScratch.
    t2 localize.
    #(2 4 5 6 7 8 ) do: [:t3 | t2 labels at: t3 put: ((t2 labels at: t3)
                copyFrom: 1 to: (t2 labels at: t3) size - 1)
                , ScratchTranslator ellipsesSuffix].
    t2 invokeOn: self at: t1 bottomLeft + (0 @ 10)! !

Step 8: Select all the text by click-and-drag or by pressing (Windows) Alt+A or (Mac) Command+A
Step 9: File in the selection by clicking on the "-" in the top left corner; choosing "more...", then "file it in"
Step 10: Shift-click the loop of the "R" in the Scratch logo again and select "save image for end-user" then select "yes" when prompted. Scratch should close, and when restarted you will see a new option in the file menu: "Import Block..."

http://scratch.mit.edu/redirect/url?link=http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

^Back to Scratch blocks

Last edited by YourLocalBlockLib (2011-08-23 14:58:12)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#40 2011-03-16 16:38:01

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

I'm a mod developer thinking about using a block/blocks from the library, can I do this?

Absolutely! As Scratch is an open-source program you are welcome to use any block code from this library in your Scratch modification under the condition that you must remember to credit each block to the sharer here. Credit for each block should be presented in a place visible to users without entering the system browser such as a popup window or dropdown menu.
http://dl.dropbox.com/u/6273449/BlockLibDiv2.png
^home

Last edited by YourLocalBlockLib (2011-08-23 14:58:40)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#41 2011-03-16 16:40:38

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

This post is blank and reserved for any expansions the Block Library may need as we are constantly striving to improve this resource! If you have any suggestions for improvements and features don't hesitate to post here!

Last edited by YourLocalBlockLib (2011-03-16 17:44:02)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#42 2011-03-16 17:29:30

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Want me to remove those DO NOT POST messages?


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#43 2011-03-16 17:32:31

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

No, that's cool, I'm replacing them with block library contents as I go  tongue


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#44 2011-03-16 21:45:33

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Yay! I won't be able to edit till tomorrow. My SIS is hogging the computer so I am using my moms Android.

Last edited by Pecola1 (2011-03-16 21:46:53)


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#45 2011-03-16 21:48:38

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Hey sparks, should we make a place to keep track of the edits?


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#46 2011-03-17 02:14:03

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Did you get hit by the 60sr even though you waited?  tongue  I was posting.  wink

Offline

 

#47 2011-03-17 04:41:15

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

You missed BYOB sound and Panther motion!  yikes  Now I have to move alot down!  mad  at Sparks.  wink

Can you upload the BYOB other image and color?

Also, should we include a link to the old Library in the topic post? (Which is http://scratch.mit.edu/forums/viewtopic.php?pid=700164#p700164 not http://scratch.mit.edu/forums/viewtopic.php?pid=700165#p700165. The one you linked to is Scratch Blocks, and you linked home for Scratch Blocks.  roll  )

Thanks!
~~sci.

Last edited by YourLocalBlockLib (2011-03-17 07:13:24)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#48 2011-03-17 07:48:28

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

You were exactly right when you originally said 35 posts! We used 35. ~~sci

Last edited by YourLocalBlockLib (2011-03-17 07:48:38)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#49 2011-03-17 08:15:43

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ITopic: Welcome to your local block library!

YourLocalBlockLib wrote:

You missed BYOB sound and Panther motion!  yikes  Now I have to move alot down!  mad  at Sparks.  wink

Can you upload the BYOB other image and color?

Also, should we include a link to the old Library in the topic post? (Which is http://scratch.mit.edu/forums/viewtopic.php?pid=700164#p700164 not http://scratch.mit.edu/forums/viewtopic.php?pid=700165#p700165. The one you linked to is Scratch Blocks, and you linked home for Scratch Blocks.  roll  )

Thanks!
~~sci.

I moved them down, but now I have to correct the links. *sigh*  tongue  (No pun intended  lol )

EDIT: 1111th post!  big_smile

Last edited by scimonster (2011-03-17 08:18:34)

Offline

 

#50 2011-03-17 08:33:43

SSBBM
Scratcher
Registered: 2009-10-09
Posts: 100+

Re: ITopic: Welcome to your local block library!

http://scratch.mit.edu/forums/img/smilies/big_smile.pnghttp://scratch.mit.edu/forums/img/smilies/big_smile.pnghttp://scratch.mit.edu/forums/img/smilies/big_smile.pnghttp://scratch.mit.edu/forums/img/smilies/big_smile.pnghttp://scratch.mit.edu/forums/img/smilies/big_smile.png
I'm happy!


http://goo.gl/zVfAp http://goo.gl/laci8

Offline

 

Board footer