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

#1801 2011-08-03 09:10:48

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

Re: ITopic: Welcome to your local block library!

1800th post!


the the the the the

Offline

 

#1802 2011-08-03 09:32:54

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

Re: ITopic: Welcome to your local block library!

Flashgocrazy, I like some of your blocks, but...

These four seem a little pointless.

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

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

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

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

These two are already in the library.

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

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

Your pause script is great.

http://dl.dropbox.com/u/37086280/aaa.gif

But your play sound don't work. It stops all sounds after it's done.

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

This block was requested by me. It's not what I was looking for. This is a description of what I want. I think that this is another pointless block.

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

Sorry that I shot down your blocks.


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

Offline

 

#1803 2011-08-03 09:37:26

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

Re: ITopic: Welcome to your local block library!

Do at same time was already made my Floppy_gunk.


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

Offline

 

#1804 2011-08-03 09:43:11

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

Re: ITopic: Welcome to your local block library!

ssss wrote:

I reckon you should hire me as a librarian.  tongue   smile 
As I am online when almost no-one is, I can update the blocks and stuff, and save you guys some effort!  tongue   smile

scratcher7_13 wrote:

Maybe you can hire us both?

flashgocrazy wrote:

Can I be a librarian for the block library for the BYOB section? here is all the blocks i have made

I believe Sparks is ultimately the decider. I doubt anyone will become a librarian soon. We already have 6.


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

Offline

 

#1805 2011-08-03 09:51:31

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

Re: ITopic: Welcome to your local block library!

@ greenatic here:

rookwood101 wrote:

LiquidMetal wrote:

Why not have a dropdown that you can select from either sum, difference, product, or quotient?

I would say the same with mean, median and mode, as they are all types of averages.

+1

Last edited by LiquidMetal (2011-08-03 09:52:02)

Offline

 

#1806 2011-08-03 09:52:39

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ITopic: Welcome to your local block library!

SSBBM wrote:

Flashgocrazy, I like some of your blocks, but...

These four seem a little pointless.

These two are already in the library.

Your pause script is great.

But your play sound don't work. It stops all sounds after it's done.

This block was requested by me. It's not what I was looking for. This is a description of what I want. I think that this is another pointless block.

Sorry that I shot down your blocks.

that's okay, I have more blocks and I have hundreds, look at the post when I asked to be librarian. (I lost almost all my blocks when my computer broke) also saying there pointless is mean, so look at all my blocks before you decide they are pointless  mad

Last edited by flashgocrazy (2011-08-03 09:53:59)


◕‿◕

Offline

 

#1807 2011-08-03 10:01:08

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

Re: ITopic: Welcome to your local block library!

@BothPostersWhoSuggestedDropdowns:  I would have, but I knew that Squeak was running out of unused letters to use in dropdowns.  You think that I should use up two more?

Offline

 

#1808 2011-08-03 10:10:30

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ITopic: Welcome to your local block library!

some of my blocks:
http://i.imgur.com/cMWic.gif
http://i.imgur.com/89nJm.gif
download this block
and:
http://dl.dropbox.com/u/37086280/aaa.gif
http://db.tt/vJprJEF
download this block
also:
http://i.imgur.com/JVWfc.gif
http://i.imgur.com/O8mjj.gif
download this block
and:
http://i.imgur.com/XlaGN.gif
http://i.imgur.com/xoumh.gif
download this block
one of my very best:  smile
http://i.imgur.com/tVdLJ.gif
http://i.imgur.com/OknWx.gif
download this block
OMG!:
http://i.imgur.com/llFTi.gif
http://i.imgur.com/6EAKZ.gif
download this block
Requested from the block library:
http://i.imgur.com/jBnYM.gif
http://i.imgur.com/BrdKf.gif
download this block
NOTE: YOU NEED THE PAUSE SCRIPT BLOCK (SEE ABOVE) FOR THE BLOCK TO WORK (THE PAUSE SCRIPT BLOCK IS INCLUDED IN THE DOWNLOAD ABOVE.
Based on the panther block: {when camera open, do :}
http://i.imgur.com/S1OVA.gif
http://i.imgur.com/ESfwi.gif
download this block
based on the: [self] block in slash:
http://i.imgur.com/QiLlL.gif
http://i.imgur.com/GLw1W.gif
download this block
http://i.imgur.com/Gvmxe.gif
http://i.imgur.com/E9qWs.gif
download this block

http://i.imgur.com/vW8G8.gif
http://i.imgur.com/tlD4P.gif
download this block
CHECK BACK HERE FOR MORE BLOCKS!!


◕‿◕

Offline

 

#1809 2011-08-03 10:13:16

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

Re: ITopic: Welcome to your local block library!

flashgocrazy wrote:

that's okay, I have more blocks and I have hundreds, look at the post when I asked to be librarian. (I lost almost all my blocks when my computer broke) also saying there pointless is mean, so look at all my blocks before you decide they are pointless  mad

I'm confused about the fact you first said 'that's okay' then said 'also saying there pointless is mean...  mad ' I hope that the last bit was sarcasm and your not  mad  at me.
I was looking at the blocks from you librarian post right before I started typing this. I'm sorry to say a lot of them were pointless. Other were already in the library. After deleting those blocks I ended up with:
http://i.imgur.com/egh6B.gif
Again I'm sorry I have to be a little mean, but blocks that can be made with little to no effort, such as the <hidden> block are pointless.


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

Offline

 

#1810 2011-08-03 10:14:33

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

Re: ITopic: Welcome to your local block library!

flashgocrazy,
Please don't repost your blocks.


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

Offline

 

#1811 2011-08-03 10:54:07

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

Re: ITopic: Welcome to your local block library!

Hello everzone, did zou know that the swiss kezboards have the z and the y swapped around? So lots been going on huh? I love the versitility of Grenatic's blocks and would strongly suggest creating a dropdown for them  smile

We're not hiring any more libarians at the moment, I'm sorry everyone! In fact, some of our current librarians haven't been doing much recently...

I'm back monday and may not be on again until then!


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

Offline

 

#1812 2011-08-03 11:02:41

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

Hello everzone, did zou know that the swiss kezboards have the z and the y swapped around? So lots been going on huh? I love the versitility of Grenatic's blocks and would strongly suggest creating a dropdown for them  smile

We're not hiring any more libarians at the moment, I'm sorry everyone! In fact, some of our current librarians haven't been doing much recently...

I'm back monday and may not be on again until then!

Interesting fact Sparks. While your on, I would like another librarian's input about blocks this.
Grrr, your offline.

Last edited by SSBBM (2011-08-04 10:31:17)


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

Offline

 

#1813 2011-08-03 15:39:30

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

Re: ITopic: Welcome to your local block library!

@Everyone-Who-Suggested-That-I-Implement-Dropdowns:
Let me make sure I understand what you want.
{ sum difference product quotient }
{mean median mode }
and maximum, minimum, and range as seperate blocks?  Or should I put those in the second dropdown as well?  Whatever you guys want  smile

Offline

 

#1814 2011-08-03 15:41:22

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

@Everyone-Who-Suggested-That-I-Implement-Dropdowns:
Let me make sure I understand what you want.
{ sum difference product quotient }
{mean median mode }
and maximum, minimum, and range as seperate blocks?  Or should I put those in the second dropdown as well?  Whatever you guys want  smile

put them in a seperate drop down aswell. Yes, you understand us fully (or at least you understand me)


http://i.imgur.com/zeIZW.png

Offline

 

#1815 2011-08-04 11:04:40

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

Re: ITopic: Welcome to your local block library!

rookwood101 wrote:

Greenatic wrote:

@Everyone-Who-Suggested-That-I-Implement-Dropdowns:
Let me make sure I understand what you want.
{ sum difference product quotient }
{mean median mode }
and maximum, minimum, and range as seperate blocks?  Or should I put those in the second dropdown as well?  Whatever you guys want  smile

put them in a seperate drop down aswell. Yes, you understand us fully (or at least you understand me)

Three dropdowns?  :S

Offline

 

#1816 2011-08-05 09:22:19

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

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

rookwood101 wrote:

Greenatic wrote:

@Everyone-Who-Suggested-That-I-Implement-Dropdowns:
Let me make sure I understand what you want.
{ sum difference product quotient }
{mean median mode }
and maximum, minimum, and range as seperate blocks?  Or should I put those in the second dropdown as well?  Whatever you guys want  smile

put them in a seperate drop down aswell. Yes, you understand us fully (or at least you understand me)

Three dropdowns?  :S

That just wastes space. How about

Code:

'mean' 'median' 'mode' '-' 'maximum' 'minimum' 'range'

for the second dropdown?


http://goo.gl/RDqKF

Offline

 

#1817 2011-08-05 10:11:57

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

Re: ITopic: Welcome to your local block library!

OK, so what dropdown characters (%something) are still available?

Offline

 

#1818 2011-08-05 11:30:27

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

Re: ITopic: Welcome to your local block library!

OK, as I stated above, I need to know what %somethings aren't already being used.

Anyway, 3 more blocks:

http://www.freewebs.com/polyeztahpuppies/costumeamount.gif
NOTE: I noticed after making this block that Hardmath123 had already made it.  However, unlike his, this block has no glitches as its code is completely different.  I'm not sure if you want to call this a new block (you have two "close scratch" blocks), an improvement, or whatever.

Code:

('number of costumes' #r #CostumeAmount)

Code:

CostumeAmount
    | t1 |
    t1 _ 0.
    media do: [:t2 | t2 isImage ifTrue: [t1 _ t1 + 1]].
    ^ t1

And the other two:
http://www.freewebs.com/polyeztahpuppies/backgroundamount.gif

Code:

('number of backgrounds' #r #BackgroundAmount)

Code:

BackgroundAmount
    | t1 |
    t1 _ 0.
    media do: [:t2 | t2 isImage ifTrue: [t1 _ t1 + 1]].
    ^ t1

http://www.freewebs.com/polyeztahpuppies/soundamount.gif
This block reports the number of sounds in the background/sprite, not the total number.

Code:

 ('number of sounds' #r #SoundAmount)

Code:

SoundAmount
    | t1 |
    t1 _ 0.
    media do: [:t2 | t2 isSound ifTrue: [t1 _ t1 + 1]].
    ^ t1

These are all very useful if you use blocks like paint new costume or record sound.

Offline

 

#1819 2011-08-05 13:26:21

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

Re: ITopic: Welcome to your local block library!

Code:

('%n is even?' #b #even:) 
even:t1
t1/2 = t1/2 rounded ifTrue: [^'true'].
^'false'

Code:

('a:%n b:%n c:%n is Pythagorean triplet?' #b #py: 3 4 5 th:ag:)
py:t1:th:t2:ag:t3
t1*t1 + t2*t2 = t3*t3 ifTrue: [^'true'].
^'false'

http://goo.gl/RDqKF

Offline

 

#1820 2011-08-05 13:30:35

mr_fish_fish
Scratcher
Registered: 2009-11-12
Posts: 52

Re: ITopic: Welcome to your local block library!

I have an idea for a scratch block for motion.


[if x: ( ) y: ( ) , go to x: ( ) y: ( )]

Blockspec:

('if x: %n y: %n , go to x: %n y: %n' #- #ifx:y:gox:y: 0 0 10 10)

Code:

ifx: t1 y: t2 gox: i1 y: i2 
    self xpos = t1
        ifTrue: [self ypos = t2 ifTrue: [self gotoX: i1 y: i2]]

I am sorry that I don't have a picture of the block.


/\/\ ® _ |= 1 § |-| _ |= 1 § |-|

Offline

 

#1821 2011-08-05 13:31:33

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

Re: ITopic: Welcome to your local block library!

TuragaTreeko wrote:

Code:

('a:%n b:%n c:%n is Pythagorean triplet?' #b #py: 3 4 5 th:ag:)
py:t1:th:t2:ag:t3
t1*t1 + t2*t2 = t3*t3 ifTrue: [^'true'].
^'false'

TuragaTreeko, your block reports string values.  To make it a true boolean block, change the last two lines to:

Code:

  t1*t1 + t2*t2 = t3*t3 ifTrue: [^true].
^false

Notice how I removed the quotation marks, since you want to report true, not the letters "true".

Offline

 

#1822 2011-08-05 13:46:50

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

Re: ITopic: Welcome to your local block library!

I really need an answer as to what %somethings are available.

BTW, although I'm sure we've all accidentally made one at some point, I think I've discovered the simplest possible code for a "freeze scratch" block.  Do you guys want it?

Possible uses?  Er...I know!  A "you lose" screen!  Nothing says "you lose" better than a complete freeze  tongue

Offline

 

#1823 2011-08-05 14:44:29

poemon1
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

I really need an answer as to what %somethings are available.

BTW, although I'm sure we've all accidentally made one at some point, I think I've discovered the simplest possible code for a "freeze scratch" block.  Do you guys want it?

Possible uses?  Er...I know!  A "you lose" screen!  Nothing says "you lose" better than a complete freeze  tongue

i want it  tongue


http://i47.tinypic.com/rrqe13.gif

Offline

 

#1824 2011-08-05 14:59:30

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

Re: ITopic: Welcome to your local block library!

OK poemon1  smile   Created and tested the hard way  tongue   
IMPORTANT: the only way to end Scratch after a freeze is to end the task under Ctrl-Alt-Delete on Windows and end the task (I'm not sure how to do it on a Mac).  You will lose all unsaved data in any project, and the block.  Save the image first, and use with caution (or as a prank >:D )!
http://www.freewebs.com/polyeztahpuppies/freezescratch.gif

Code:

 ('freeze scratch' #- #FreezeScratch)

Method code:

Code:

FreezeScratch
    [0 = 0] whileTrue

Scratch-Blocks > CommandBlockMorph > accessing > isStop
Add to the end of the method:

Code:

| (selector = #FreezeScratch)

As I said earlier in this post, use caution with this block.

200TH POST!!!   big_smile   big_smile   big_smile

Last edited by Greenatic (2011-08-05 15:00:49)

Offline

 

#1825 2011-08-05 15:27:24

poemon1
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

OK poemon1  smile  Created and tested the hard way  tongue  IMPORTANT: the only way to end Scratch after a freeze is to end the task under Ctrl-Alt-Delete on Windows and end the task (I'm not sure how to do it on a Mac). You will lose all unsaved data in any project, and the block. Save the image first, and use with caution (or as a prank >:D )! http://www.freewebs.com/polyeztahpuppie … cratch.gif

Code:

 ('freeze scratch' #- #FreezeScratch)

Method code:

Code:

FreezeScratch [0 = 0] whileTrue

Scratch-Blocks > CommandBlockMorph > accessing > isStop Add to the end of the method:

Code:

| (selector = #FreezeScratch)

As I said earlier in this post, use caution with this block. 200TH POST!!!  big_smile   big_smile   big_smile

congrats on your 200th post!!! thx ps will this block ruin a scratch modification?


http://i47.tinypic.com/rrqe13.gif

Offline

 

Board footer