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

#1326 2011-06-23 14:09:18

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

I believe someone has already tried to share this block. We turned it down on the basis that it can be done with single existing blocks  hmm

I see why you would say that, however, that is like taking off the move () steps block, without it using the scripts it not only takes more space, but will not run smoothly and take longer. There are more blocks on the library that are easily done without, but we put them on, the ({Scramble^} [hello world]) for example. I don't think it is very fair to turn this down but not the others. And BTW, I believe PF was the one who tried to share it.  wink  It didn't work before because it used # rather than self.

PAGE 117!

Last edited by Pecola1 (2011-06-23 14:10:10)


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

 

#1327 2011-06-23 14:35:02

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Fair enough, that was only my opinion and if others' think it's worth adding then I revise my view  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#1328 2011-06-23 14:42:53

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

jslomba wrote:

also, %z is already taken by the fraction menu.

I believe only %Z was shared not %z.

No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)


the the the the the

Offline

 

#1329 2011-06-23 20:35:49

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

Re: ITopic: Welcome to your local block library!

jslomba wrote:

Pecola1 wrote:

jslomba wrote:

also, %z is already taken by the fraction menu.

I believe only %Z was shared not %z.

No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)

Great idea! We can change pf's to %Z then.

All it is is:
%j %T %G %X %z

Ones not added %Z
There may be more that are not added, I am a bit busy now, I don't know if something as small as this should require a whole post.

OPEN:
%B, %E, %F, %J, %K, %y, and %Y

Last edited by Pecola1 (2011-06-24 12:16:07)


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

 

#1330 2011-06-23 20:45:09

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

jslomba wrote:

Pecola1 wrote:


I believe only %Z was shared not %z.

No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)

Great idea! I will start putting that up. We can change pf's to %Z then.

thanks!


the the the the the

Offline

 

#1331 2011-06-23 20:45:54

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

Re: ITopic: Welcome to your local block library!

jslomba wrote:

Pecola1 wrote:

jslomba wrote:


No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)

Great idea! I will start putting that up. We can change pf's to %Z then.

thanks!

I can't put it up yet, but I have the list above your post.  wink


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

 

#1332 2011-06-23 20:52:03

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

add %X, because that was one that was used. also, %B, %E, %F, %J, %K, %y, and %Y are open

Last edited by jslomba (2011-06-24 09:08:57)


the the the the the

Offline

 

#1333 2011-06-24 10:29:53

oleole
Scratcher
Registered: 2010-01-24
Posts: 10

Re: ITopic: Welcome to your local block library!

('host mesh' #startHostingScratchSession)
('join mesh' #joinScratchSession)
('leave mesh' #exitScratchSession)
('show IP address' #showNetworkAddress)
No changes needed. I have a question: DId you already upload a block library for scratch to download and import with this block importer tool?

Offline

 

#1334 2011-06-24 12:30:24

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

I have a block for BYOB:
http://i55.tinypic.com/2v8k4kj.gif

Last edited by joefarebrother (2011-06-24 12:31:07)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#1335 2011-06-25 08:14:28

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

jslomba wrote:

johnnydean1 wrote:

What is the point of sharing that, as it can be made using very basic scripts - and it only useful for certain games?

It's a faster script to save dragging all those 'if' blocks.

use a broadcast.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#1336 2011-06-25 08:58:53

TuragaTreeko
Scratcher
Registered: 2011-04-24
Posts: 100+

Re: ITopic: Welcome to your local block library!

jslomba wrote:

Pecola1 wrote:

jslomba wrote:

also, %z is already taken by the fraction menu.

I believe only %Z was shared not %z.

No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)

That is a wonderful idea. Like, a little chart that goes

%s    string
%n   number
%g   effect
ect. ....
It would help people who are confused about which is which. (like me)


http://goo.gl/RDqKF

Offline

 

#1337 2011-06-25 09:01:29

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

TuragaTreeko wrote:

jslomba wrote:

Pecola1 wrote:


I believe only %Z was shared not %z.

No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)

That is a wonderful idea. Like, a little chart that goes

%s    string
%n   number
%g   effect
ect. ....
It would help people who are confused about which is which. (like me)

no, it's so two blocks that don't have the same dropdowns that share %z won't get glitched if someone uses both of them.


the the the the the

Offline

 

#1338 2011-06-25 09:22:29

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

Re: ITopic: Welcome to your local block library!

TuragaTreeko wrote:

jslomba wrote:

Pecola1 wrote:


I believe only %Z was shared not %z.

No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)

That is a wonderful idea. Like, a little chart that goes

%s    string
%n   number
%g   effect
ect. ....
It would help people who are confused about which is which. (like me)

Sparks has something like that, it shows panther and scratch, IDK where it is though... sparks?


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

 

#1339 2011-06-25 09:24:22

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

Re: ITopic: Welcome to your local block library!

jslomba wrote:

TuragaTreeko wrote:

jslomba wrote:


No, it was %z. Maybe you could add a section to the library that has all the %somethings so nobody gets
Confused. (sent from iPhone)

That is a wonderful idea. Like, a little chart that goes

%s    string
%n   number
%g   effect
ect. ....
It would help people who are confused about which is which. (like me)

no, it's so two blocks that don't have the same dropdowns that share %z won't get glitched if someone uses both of them.

all it would do is use the first one on the list of droppdowns. It would skip the second, so if you put one that had s as it letter, it would just turn into a string insert because the string insert is the first on the list in uncoloredArgMorphFor:.


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

 

#1340 2011-06-25 12:37:08

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

Re: ITopic: Welcome to your local block library!

Hello Everyone!
I just got back from camp so I haven't been at my computer for a week. I doesn't look like I missed much that I care about.

Joefarebrother,
Great block I'll have to test this out!


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

Offline

 

#1341 2011-06-25 13:06:17

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: ITopic: Welcome to your local block library!

Welcome Back!!

Also, I have some new blocks:

http://postimage.org/image/adu2k8lg/<---Don't know why it's not working.
http://s1.postimage.org/adz16a2s/yhfthf.gif

Blockspec:

Code:

('%n max %n' #r #val:max: #- 10)
('%n min %n' #r #val:min: #- 0)

Code:

Code:

val: t1 max: t2 
    t2 > t1 ifTrue: [^ t1].
    ^ t2

Code:

val: t1 min: t2 
    t2 < t1 ifTrue: [^ t1].
    ^ t2

Simple, yet useful.

Last edited by hello12345678910 (2011-06-25 13:07:04)


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#1342 2011-06-25 13:21:20

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

Re: ITopic: Welcome to your local block library!

hello12345678910 wrote:

Welcome Back...

Thanks!
Do those just report the number that's greater or smaller?


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

Offline

 

#1343 2011-06-25 14:55:41

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

hello12345678910 wrote:

Welcome Back!!

Also, I have some new blocks:

http://postimage.org/image/adu2k8lg/<---Don't know why it's not working.
http://s1.postimage.org/adz16a2s/yhfthf.gif

Blockspec:

Code:

('%n max %n' #r #val:max: #- 10)
('%n min %n' #r #val:min: #- 0)

Code:

Code:

val: t1 max: t2 
    t2 > t1 ifTrue: [^ t1].
    ^ t2

Code:

val: t1 min: t2 
    t2 < t1 ifTrue: [^ t1].
    ^ t2

Simple, yet useful.

these are the same as the 'greater of %n and %n' and 'lesser of %n and %n' blocks.


the the the the the

Offline

 

#1344 2011-06-25 18:33:36

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

jslomba and I made a new block:

http://polyeztahpuppies.webs.com/goinbetween.gif

blockspec:

Code:

('go in between x: %n y: %n and x: %n y: %n' #- #betweenX:Y:X:Y:)

code:

Code:

betweenX: t1 Y: t2 X: t3 Y: t4
| newX newY |

newX_ (t1 + t3) / 2.
newY_ (t2 + t4) / 2.
self referencePosition: newX @ newY

EDIT 6-26-11:  Fixed code!  The t2 and t3 were swapped by accident.

Last edited by Greenatic (2011-06-26 12:30:10)

Offline

 

#1345 2011-06-26 02:34:41

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

Re: ITopic: Welcome to your local block library!

hello12345678910 wrote:

Welcome Back!!

Also, I have some new blocks:

http://s1.postimage.org/adu2k8lg/costume.gif<---Don't know why it's not working.
http://s1.postimage.org/adz16a2s/yhfthf.gif

Blockspec:

Code:

('%n max %n' #r #val:max: #- 10)
('%n min %n' #r #val:min: #- 0)

Code:

Code:

val: t1 max: t2 
    t2 > t1 ifTrue: [^ t1].
    ^ t2

Code:

val: t1 min: t2 
    t2 < t1 ifTrue: [^ t1].
    ^ t2

Simple, yet useful.

Fixed the image.  wink

Offline

 

#1346 2011-06-26 06:01:33

whizzer
Scratcher
Registered: 2008-05-27
Posts: 500+

Re: ITopic: Welcome to your local block library!

I've installed the block importer, but how do you use it to import a block?


http://i46.tinypic.com/33df6me.png I'm whizzer0 for all things Minecraft.

Offline

 

#1347 2011-06-26 06:49:23

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

Re: ITopic: Welcome to your local block library!

whizzer wrote:

I've installed the block importer, but how do you use it to import a block?

We haven't figured out how to import a block yet, sorry. If you can, that would be greatly appreciated!

Offline

 

#1348 2011-06-26 16:56:29

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: Welcome to your local block library!

whizzer wrote:

I've installed the block importer, but how do you use it to import a block?

What block importer are you talking about?

Offline

 

#1349 2011-06-26 17:19:02

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

YourLocalBlockLib wrote:

http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png
.       
.                                     http://www.weebly.com/uploads/5/4/1/3/5 … 826509.gif
.                             http://www.weebly.com/uploads/5/4/1/3/5 … 041909.gif
.                                    http://www.weebly.com/uploads/5/4/1/3/5 … 428862.gif

Welcome to your block library! One of the most important and beloved features of Scratch are the blocks, and a great deal of time and effort has gone into making the blocks you see. When building Scratch, the team specifically designed the code so that it would be as easy as possible to add new blocks, and many people have done just that! This topic aims to bring together a collection of useful block code for experimenting Scratchers to try out and learn from, embracing the program and share parts of the Scratch Motto and hopefully letting users use what they learn here to imagine their own blocks!

Just click on one of the block images below to find blocks for Scratch, BYOB and Panther!

http://www.weebly.com/uploads/5/4/1/3/5 … 942334.gif


http://www.weebly.com/uploads/4/0/7/6/4 … 732043.gif


http://www.weebly.com/uploads/5/4/1/3/5 … 967135.gif

So to all you curious Scratchers and viewers alike, I bid you welcome. Welcome to the Library!

http://www.weebly.com/uploads/5/4/1/3/5 … 841103.gif

Your Local Block Library Block Count:
http://dl.dropbox.com/u/6273449/scratch1.gifhttp://dl.dropbox.com/u/6273449/s1.gifhttp://dl.dropbox.com/u/6273449/s1.gifhttp://dl.dropbox.com/u/6273449/s3.gifhttp://dl.dropbox.com/u/6273449/scratch2.gif       http://dl.dropbox.com/u/6273449/byob1.gifhttp://dl.dropbox.com/u/6273449/b1.gifhttp://dl.dropbox.com/u/6273449/b2.gifhttp://dl.dropbox.com/u/6273449/b6.gifhttp://dl.dropbox.com/u/6273449/byob2.gif         http://dl.dropbox.com/u/6273449/panther1.gifhttp://dl.dropbox.com/u/6273449/p5.gifhttp://dl.dropbox.com/u/6273449/p9.gifhttp://dl.dropbox.com/u/6273449/panther2.gif
_________________________________
Want to add to the library? Please do! Comment below for it to be added.
_________________________________
Librarians
o Sparks About Sparks
o SSBBM About SSBBM
o TheSuccessor About TheSuccessor
o Pecola1 About Pecola1
o Scimonster About Scimonster
o Meowmeow55

Special thanks to coolstuff for pushing to get this Itopic'd, fullmoon for helping with the account, nXIII for doing a lot of the excellent graphics and everyone who posted their block code and asked for this to be Itopic'd, we couldn't have done it without you!

Read Also: Our Wiki Page

This must of taken a long time to make!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#1350 2011-06-26 17:43:29

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

WindowsExplorer wrote:

This must of taken a long time to make!

It's been continuously updated with new features since it started on July 15th, 2010  smile

Actually, that makes it almost a year since the block library started! Librarians and contributors, any thoughts on something to do to commemorate/celebrate? A title competition is always fun  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

Board footer