iCode-747 wrote:
OMG!
Awesome, Sparks! You're a genius!
Really cool, thanks so much for doing this!
HOW ABOUT MY TOPIC!? I WANT MY TOPIC TO GET FAMOUS TOO!
Offline
rdococ wrote:
New block! ([text input] reversed) - go in BYOB blocks - category Operators.
I just got a internal error
Offline
Hey guys, I managed to get my internet back after my provider couldn't source the problem by uninstalling my dongle and installing an old fossil of a PCI card into the back of my PC that I found in a drawer but works a treat all the same I'm back online
Offline
kinker wrote:
iCode-747 wrote:
OMG!
Awesome, Sparks! You're a genius!
Really cool, thanks so much for doing this!HOW ABOUT MY TOPIC!? I WANT MY TOPIC TO GET FAMOUS TOO!
Be quiet.
Offline
Can you put a link to my BYOB Block Library project in the topic post, please? It'd be a good thing to get if you didn't want to have to build all those blocks if you wanted them.
Offline
This may have been said before but the:
"save project as..." block Shared by Billybob-Mario
type:
blockspec:
'save project' #- #saveProj
code:
saveProj
| t1 |
t1 _ self ownerThatIsA: ScratchFrameMorph.
t1 saveScratchProject
What it does:
opens the save project as dialog and lets you save it!
block, can't that just be done with
'save project' #- #saveScratchProject
?
Offline
markyparky56 wrote:
This may have been said before but the:
"save project as..." block Shared by Billybob-Mario
type: http://wiki.scratch.mit.edu/images/The_ … _Block.png
blockspec:
'save project' #- #saveProj
code:
saveProj
| t1 |
t1 _ self ownerThatIsA: ScratchFrameMorph.
t1 saveScratchProject
What it does:
opens the save project as dialog and lets you save it!block, can't that just be done with
Code:
'save project' #- #saveScratchProject?
I dont think so, because there isnt a spec in the instance ops. So you have to do this so the block knows what to do.
(I didnt check. yet.)
Last edited by bbbeb (2010-09-05 12:39:38)
Offline
Please Add my import sound block to panther blocks
[b]"Import sound" Block shared by: PlayWithFire[/b] [u]box 1:[/u] [quote]Record sound[/quote] [u]box 2[/u] [quote]-[/quote] [u]box 3[/u] [quote]self importSound[/quote] [b]What this block does:[/b] this block allows you to import a sound.
also please add this to scratch blocks
[b]"Import sound" block Shared by PlayWithFire[/b] type: [img]http://wiki.scratch.mit.edu/images/The_shape_of_a_Stack_Block.png[/img] [b]blockspec:[/b] [quote]'import sound' #- #importSound[/quote] [i]no code needed[/i] [b]What this block does:[/b] this block allows you to import a sound.
note it's untested but it should work.
the top one is tested
Offline
Offline
Wow! Thank you so much for getting this ITopic'd! I couldn't have done it without all the brilliant submissions, so thanks you guys!
To commemorate this moment I plan to redesign the entire first post that is the block library to make it easier to find blocks and their code
Thanks again,
Sparks
Offline
Yay, this thread got ITopic'd and my BYOB block library got in the topic post!!
I updated the block library project to include bbbeb's "pick random of [...]" reporter.
Offline
Here's one!
Pretty self explanatory.
The code:
And more:
Code:
Last edited by floppy_gunk (2010-09-11 20:09:37)
Offline
I have another block from another forum topic, so give credit to whoever created this block. Please do not reply to this! It is the graphic effect reporter. Alright, but I gave a little editing to it.
Here is the blockspec:
('%g effect' #r #getEffect: 'color')
Done with the blockspec. Here is the edited code:
getEffect: t1 filterPack ifNil: [^ 0]. '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]. 'ghost' = t1 ifTrue: [^ self transparency]. 'whirl' = t1 ifTrue: [^ filterPack whirl]
All done! Please check the looks section for the defference.
Last edited by zorket (2010-09-11 19:13:45)
Offline
Author: (I don't know who but I like making this block by myself)
Type:
Block spec:
('hidden?' b isHidden)
Tested on: Scratch 1.4 Source
Last edited by ThePCKid (2010-09-13 17:51:45)
Offline
ThePCKid wrote:
Author: (I don't know who but I like making this block by myself)
Type: http://wiki.scratch.mit.edu/images/The_ … _Block.png
Block spec:Code:
('hidden?' b isHidden)Tested on: Scratch 1.4 Source
It's boolean, not a reporter block.
Offline
floppy_gunk wrote:
Here's one!
http://i56.tinypic.com/deml9d.gif
Pretty self explanatory.
The code:
http://i51.tinypic.com/2eg8nf5.gif
And more:
http://i55.tinypic.com/s5xw5l.gif
Code:
http://i55.tinypic.com/8vs0i0.gif
Nice blocks! The "turn () degrees in () seconds" block has already been submitted, but there does seem to be a difference between that one and this one... Oh, what the heck, I'll include it in the BYOB block library project anyways and see what other people think.
Offline
Jwosty wrote:
ThePCKid wrote:
Author: (I don't know who but I like making this block by myself)
Type: http://wiki.scratch.mit.edu/images/The_ … _Block.png
Block spec:Code:
('hidden?' b isHidden)Tested on: Scratch 1.4 Source
It's boolean, not a reporter block.
Whoops! I used the wrong image. Thanks for finding that!
Offline
You will hopefully notice some improvements to the library, namely images of all the blocks which should make browsing easier.
Got an idea that will make the block library easier to use? I'd love to hear about it!
Offline
you know what this thread needs? collapsable sections! That would make this so much neater! Oh well, I'm still thankful for all the things bb code does let me do!
In the bbcode list, there are instructions for creating email links even though you're not allowed to do emails in the forums!
Offline