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

#301 2010-10-06 17:01:17

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Welcome to the OLD local block library!

ScratchReallyROCKS wrote:

nXIII wrote:

ScratchReallyROCKS wrote:


No, I mean don't need to use the (the () block) block.

You mean I could just use an OSlot (gray border)? I don't like that shortcut, (the () block) is short enough for me (it's a shortening of (the script (report ())))

Yeah. Why don't you like it?

It's harder to read at a glance.


nXIII

Offline

 

#302 2010-10-06 17:47:12

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Welcome to the OLD local block library!

nXIII wrote:

ScratchReallyROCKS wrote:

nXIII wrote:

You mean I could just use an OSlot (gray border)? I don't like that shortcut, (the () block) is short enough for me (it's a shortening of (the script (report ())))

Yeah. Why don't you like it?

It's harder to read at a glance.

Oh. That makes sense.

Last edited by ScratchReallyROCKS (2010-10-06 17:47:44)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#303 2010-10-06 18:01:08

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Welcome to the OLD local block library!

sparks wrote:

SBBM< what catagory does your ERROR block go under?

It goes under the "Other" category in BYOB ("Other" blocks just get put at the bottom of "Variables" in the block palette). You should probably just add an "Other" category to the block library, because I'm going to make a block which goes in there as well.


Yawn.

Offline

 

#304 2010-10-07 05:57:14

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

Re: Welcome to the OLD local block library!

ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu?  smile

So the time block is either LS or Billyedward?


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

Offline

 

#305 2010-10-07 07:37:07

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Welcome to the OLD local block library!

sparks wrote:

ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu?  smile

So the time block is either LS or Billyedward?

Can you listen to me for once.

I said the time block was by LS97.


Marzipan11 must learn to not spoil

Offline

 

#306 2010-10-07 09:53:29

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

Re: Welcome to the OLD local block library!

zorket wrote:

sparks wrote:

ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu?  smile

So the time block is either LS or Billyedward?

Can you listen to me for once.

I said the time block was by LS97.

Zorket I can't help but feel you're being a little rude at the moment... I do listen to you, and I take time out of my day to answer questions and update this thread. Moreover, I did explain that I had no internet, and couldn't add your new blocks, I'm sure it wasn't life threatening or career changing that I failed to update it for a few days. I can only ask that you are a little more polite, I do try hard to keep this and Panther and my emails, and two websites and all my school work going.


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

Offline

 

#307 2010-10-07 10:31:56

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

Re: Welcome to the OLD local block library!

sparks wrote:

SBBM< what catagory does your ERROR block go under?

It would go in other, but you don't have a category for that (Nor does BYOB). I think shouold put it in variables, that's where is would be in BYOB.


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

Offline

 

#308 2010-10-07 13:13:02

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

Re: Welcome to the OLD local block library!

SSBBM wrote:

sparks wrote:

SBBM< what catagory does your ERROR block go under?

It would go in other, but you don't have a category for that (Nor does BYOB). I think shouold put it in variables, that's where is would be in BYOB.

ok, variables it is, though I think I shall try and get nXIII to make a new catagory image for BYOB,


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

Offline

 

#309 2010-10-07 18:05:19

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

Re: Welcome to the OLD local block library!

sparks wrote:

ok, variables it is, though I think I shall try and get nXIII to make a new catagory image for BYOB,

I could try to do it if you want.


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

Offline

 

#310 2010-10-07 19:42:29

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Welcome to the OLD local block library!

( (Color) effect)

By: LS97

blockspec:

('%g effect' #r #getEffect: 'color')

Code:

getEffect: t1 
    filterPack ifNil: [^ 0].
    'blur' = t1 ifTrue: [^ filterPack blur].
    'brightness' = t1 ifTrue: [^ filterPack brightnessShift].
    'fisheye' = t1 ifTrue: [^ filterPack fisheye].
    'color' = t1 ifTrue: [^ filterPack hueShift].
    'mosaic' = t1 ifTrue: [^ filterPack mosaicCount].
    'pixelate' = t1 ifTrue: [^ filterPack pixelateCount].
    'pointillize' = t1 ifTrue: [^ filterPack pointillizeSize].
    'saturation' = t1 ifTrue: [^ filterPack saturationShift].
    'whirl' = t1 ifTrue: [^ filterPack whirl]

You can add three more effects, blur, saturation, and pointillize. This is why the code is three strips lower. You can add the effects some way.


Marzipan11 must learn to not spoil

Offline

 

#311 2010-10-07 20:01:31

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Welcome to the OLD local block library!

zorket wrote:

( (Color) effect)

By: LS97

blockspec:

('%g effect' #r #getEffect: 'color')

Code:

getEffect: t1 
    filterPack ifNil: [^ 0].
    'blur' = t1 ifTrue: [^ filterPack blur].
    'brightness' = t1 ifTrue: [^ filterPack brightnessShift].
    'fisheye' = t1 ifTrue: [^ filterPack fisheye].
    'color' = t1 ifTrue: [^ filterPack hueShift].
    'mosaic' = t1 ifTrue: [^ filterPack mosaicCount].
    'pixelate' = t1 ifTrue: [^ filterPack pixelateCount].
    'pointillize' = t1 ifTrue: [^ filterPack pointillizeSize].
    'saturation' = t1 ifTrue: [^ filterPack saturationShift].
    'whirl' = t1 ifTrue: [^ filterPack whirl]

You can add three more effects, blur, saturation, and pointillize. This is why the code is three strips lower. You can add the effects some way.

I made it first  sad


nXIII

Offline

 

#312 2010-10-07 20:04:08

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Welcome to the OLD local block library!

nXIII wrote:

zorket wrote:

( (Color) effect)

By: LS97

blockspec:

('%g effect' #r #getEffect: 'color')

Code:

getEffect: t1 
    filterPack ifNil: [^ 0].
    'blur' = t1 ifTrue: [^ filterPack blur].
    'brightness' = t1 ifTrue: [^ filterPack brightnessShift].
    'fisheye' = t1 ifTrue: [^ filterPack fisheye].
    'color' = t1 ifTrue: [^ filterPack hueShift].
    'mosaic' = t1 ifTrue: [^ filterPack mosaicCount].
    'pixelate' = t1 ifTrue: [^ filterPack pixelateCount].
    'pointillize' = t1 ifTrue: [^ filterPack pointillizeSize].
    'saturation' = t1 ifTrue: [^ filterPack saturationShift].
    'whirl' = t1 ifTrue: [^ filterPack whirl]

You can add three more effects, blur, saturation, and pointillize. This is why the code is three strips lower. You can add the effects some way.

I made it first  sad

You made everything first!  lol


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#313 2010-10-08 13:39:47

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

Re: Welcome to the OLD local block library!

^ true


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

Offline

 

#314 2010-10-08 18:10:38

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Welcome to the OLD local block library!

Alright, I finally got the BYOB Block Library project updated (in which I optimized a few blocks) and have a couple blocks of mine (and one that's not mine) to add (as well as an improvement upon the (average of () and ()) block).
Here's some blocks:
Mine:

http://i56.tinypic.com/2mo9ht2.gif (reports the text typed in it, in case this wasn't obvious)

http://i54.tinypic.com/20f87rp.gif

An improvement upon the (average of () and ()) block, allowing it to find the average of any amount of of numbers:

http://i55.tinypic.com/2d1mnio.gif

And you should probably add this block by nxIII (nxIII posted the content of the block for optimizing the (join [] ↔) block); this block is a list block, so this calls for a List section in the block library:

http://i53.tinypic.com/jzcojn.gif

Last edited by meowmeow55 (2010-10-08 18:11:33)


Yawn.

Offline

 

#315 2010-10-08 19:39:14

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Welcome to the OLD local block library!

Absorbed panther blocks to scratch.

Clone me

blockspec:

('clone me' #- #cloneMe)

Code:

cloneMe
self duplicateNoAttach

Delete me

blockspec:

('delete me' #- #deleteMe)

Code:

deleteMe
self undoableDeleteSprite

I'm not POSITIVE you need the code, but you might.


Marzipan11 must learn to not spoil

Offline

 

#316 2010-10-08 19:42:12

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Welcome to the OLD local block library!

ScratchReallyROCKS wrote:

nXIII wrote:

zorket wrote:

( (Color) effect)

By: LS97

Code:

getEffect: t1 
    filterPack ifNil: [^ 0].
    'blur' = t1 ifTrue: [^ filterPack blur].
    'brightness' = t1 ifTrue: [^ filterPack brightnessShift].
    'fisheye' = t1 ifTrue: [^ filterPack fisheye].
    'color' = t1 ifTrue: [^ filterPack hueShift].
    'mosaic' = t1 ifTrue: [^ filterPack mosaicCount].
    'pixelate' = t1 ifTrue: [^ filterPack pixelateCount].
    'pointillize' = t1 ifTrue: [^ filterPack pointillizeSize].
    'saturation' = t1 ifTrue: [^ filterPack saturationShift].
    'whirl' = t1 ifTrue: [^ filterPack whirl]

You can add three more effects, blur, saturation, and pointillize. This is why the code is three strips lower. You can add the effects some way.

I made it first  sad

You made everything first!  lol

Oh.  hmm


Marzipan11 must learn to not spoil

Offline

 

#317 2010-10-09 20:01:45

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Welcome to the OLD local block library!

sparks wrote:

zorket wrote:

sparks wrote:

ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu?  smile

So the time block is either LS or Billyedward?

Can you listen to me for once.

I said the time block was by LS97.

Zorket I can't help but feel you're being a little rude at the moment... I do listen to you, and I take time out of my day to answer questions and update this thread. Moreover, I did explain that I had no internet, and couldn't add your new blocks, I'm sure it wasn't life threatening or career changing that I failed to update it for a few days. I can only ask that you are a little more polite, I do try hard to keep this and Panther and my emails, and two websites and all my school work going.

Sorry! I'm trying real hard...  sad  It may seem i'm lying... http://t3.gstatic.com/images?q=tbn:c9MjGbo20-k4FM:http://wantmyplaylist.com/wp-content/uploads/tdomf/122/sad.png&amp;t=1


Marzipan11 must learn to not spoil

Offline

 

#318 2010-10-10 12:14:18

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

Re: Welcome to the OLD local block library!

don't worry about it, Zorket  smile

SHOCK! HORROR!

Today I demonstrated the block library to a friend.

"Here! look how easy it is! you just open Panther and copy these two bits off the library into the boxes and.... oh."

It didn't work! The offending block in question was the "set background color of $Variable$ to $Color$ block. It turns out that the quote function I used showed only a few of the lines of the code, hiding the last two!

so, I plan to put a little "Tested" icon next to tested blocks to assure users that the block does work. (anyone want to design that?). If you have used any block library blocks, let me know if they worked so we can label them as tested. Thanks  big_smile


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

Offline

 

#319 2010-10-10 12:41:13

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Welcome to the OLD local block library!

YAY!
Ew, drop shadow fail  sad
http://i53.tinypic.com/5bqjxh.jpg
There we go.

Last edited by nXIII (2010-10-10 12:42:33)


nXIII

Offline

 

#320 2010-10-10 12:45:37

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Welcome to the OLD local block library!

sparks wrote:

don't worry about it, Zorket :)

SHOCK! HORROR!

Today I demonstrated the block library to a friend.

"Here! look how easy it is! you just open Panther and copy these two bits off the library into the boxes and.... oh."

It didn't work! The offending block in question was the "set background color of $Variable$ to $Color$ block. It turns out that the quote function I used showed only a few of the lines of the code, hiding the last two!

so, I plan to put a little "Tested" icon next to tested blocks to assure users that the block does work. (anyone want to design that?). If you have used any block library blocks, let me know if they worked so we can label them as tested. Thanks :D

The reason that I have blocks flying is that I'm ULTRA EXTREMLY good at squeak codes. I can even translate BYOB codes into scratch!

There are blocks from the cool custom blocks in scratch that generates blocks faster than a plane. They  shoot blocks out like http://1.bp.blogspot.com/_61wwTWruWg4/SXOgK87M8GI/AAAAAAAAGP4/wkB9R3PwRZ4/s320/Copy-cat-machine.bmp

That keeps a little but of my block boost.

Block: (^) () Sound strange? It may look like (reverse) (hello) Get it?

Blockspec:

('%T %s' #r #do:to:)

Code:

do: t1 to: t2
t1 = 'reverse' ifTrue: [^ t2 reversed].
t1 = 'shuffle' ifTrue: [^ t2 shuffled].
t1 = 'uppercase' ifTrue: [^ t2 asUppercase].
t1 = 'lowercase' ifTrue: [^ t2 asLowercase].
t1 = 'report' ifTrue: [^ t2].

Scratch blocks> commandBlockMorph> all> uncoloredArgMorphFor: add a strip:

$T = t2 ifTrue: [^ ChoiceOrExpressionArgMorph new getOptionsSelector: #mixingNames;
choice: 'reverse'].

Scratch objects> scriptableScratchMorph> LOW then press class> otherOps:

mixingNames
    ^ #('lowercase' 'uppercase' 'reverse' 'shuffle' 'report' )

http://i53.tinypic.com/5bqjxh.jpg

You will 95% likely enjoy this block if you made it. It's very useful in some cases.

Last edited by zorket (2010-10-10 18:00:23)


Marzipan11 must learn to not spoil

Offline

 

#321 2010-10-10 13:24:30

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

Re: Welcome to the OLD local block library!

sparks wrote:

I plan to put a little "Tested" icon next to tested blocks to assure users that the block does work. (anyone want to design that?). If you have used any block library blocks, let me know if they worked so we can label them as tested)

I have http://i53.tinypic.com/5bqjxh.jpg the blocks:
http://www.weebly.com/uploads/4/0/7/6/4076678/6374911.gif
http://www.weebly.com/uploads/4/0/7/6/4076678/6951651.gif
http://www.weebly.com/uploads/4/0/7/6/4076678/8380635.gif
http://www.weebly.com/uploads/4/0/7/6/4076678/2618828.gif
http://www.weebly.com/uploads/4/0/7/6/4076678/5957626.gif
http://www.weebly.com/uploads/4/0/7/6/4076678/6816507.gif
negative of $Number$ (Need to change picture)
report $String$
http://www.weebly.com/uploads/4/0/7/6/4076678/279508.gif
http://www.weebly.com/uploads/4/0/7/6/4076678/279508.gif (works but box 1 is wrong)
(All of them are in Panther)
I'll test some more soon.

And by the way the Panther page doesn't have a home button.

Last edited by SSBBM (2010-10-10 14:02:13)


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

Offline

 

#322 2010-10-10 13:35:59

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Welcome to the OLD local block library!

No, my includes is correct. Maybe you typed it wrong?


nXIII

Offline

 

#323 2010-10-10 13:48:27

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: Welcome to the OLD local block library!

nXIII wrote:

No, my includes is correct. Maybe you typed it wrong?

who did what?

Who did what?

WHO DID WHAT?

WHO DID WHAT???


WHO DID WHAT?????????? Not being mean, just being hyper. But please answer.

Last edited by zorket (2010-10-10 13:49:28)


Marzipan11 must learn to not spoil

Offline

 

#324 2010-10-10 13:58:11

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

Re: Welcome to the OLD local block library!

nXIII wrote:

No, my includes is correct. Maybe you typed it wrong?

Opps, I did. I forgot that 'b' in box 2. I updated my tests up there.

Last edited by SSBBM (2010-10-10 14:02:47)


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

Offline

 

#325 2010-10-10 17:13:03

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

Re: Welcome to the OLD local block library!

excellent, the tested icons are in place, thanks again to nXIII for the superbe graphics!

coming soon: latest news bulletin in first post to let you guys know what's going on without reading through from where you left off  big_smile


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

Offline

 

Board footer