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.
Offline
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)
Offline
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.
Offline
sparks wrote:
ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu?
So the time block is either LS or Billyedward?
Can you listen to me for once.
I said the time block was by LS97.
Offline
zorket wrote:
sparks wrote:
ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu?
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.
Offline
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.
Offline
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,
Offline
( (Color) effect)
By: LS97
blockspec:
('%g effect' #r #getEffect: 'color')
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.
Offline
zorket wrote:
( (Color) effect)
By: LS97blockspec:
('%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
Offline
nXIII wrote:
zorket wrote:
( (Color) effect)
By: LS97blockspec:
('%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
You made everything first!
Offline
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:
(reports the text typed in it, in case this wasn't obvious)
An improvement upon the (average of () and ()) block, allowing it to find the average of any amount of of numbers:
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:
Last edited by meowmeow55 (2010-10-08 18:11:33)
Offline
Absorbed panther blocks to scratch.
Clone me
blockspec:
('clone me' #- #cloneMe)
cloneMe self duplicateNoAttach
Delete me
blockspec:
('delete me' #- #deleteMe)
deleteMe self undoableDeleteSprite
I'm not POSITIVE you need the code, but you might.
Offline
ScratchReallyROCKS wrote:
nXIII wrote:
zorket wrote:
( (Color) effect)
By: LS97Code:
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
You made everything first!
Oh.
Offline
sparks wrote:
zorket wrote:
sparks wrote:
ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu?
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... It may seem i'm lying...
Offline
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
Offline
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
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:)
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' )
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)
Offline
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 the blocks:
negative of $Number$ (Need to change picture)
report $String$
(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)
Offline
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)
Offline
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
Offline