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

#151 2010-09-03 14:34:10

kinker
Scratcher
Registered: 2010-08-01
Posts: 100+

Re: Welcome to the OLD local block library!

iCode-747 wrote:

OMG!  yikes

Awesome, Sparks! You're a genius!  big_smile

Really cool, thanks so much for doing this!  smile

HOW ABOUT MY TOPIC!? I WANT MY TOPIC TO GET FAMOUS TOO!  mad


Put in the weirdness: http://i54.tinypic.com/zl6fph.pnghttp://img821.imageshack.us/i/gobanim2.gif/kinker style! [url]http://internetometer.com/image/16724.png[/url]♬♫ 92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature. ♫♪

Offline

 

#152 2010-09-03 15:02:43

kinker
Scratcher
Registered: 2010-08-01
Posts: 100+

Re: Welcome to the OLD local block library!

rdococ wrote:

New block! ([text input] reversed) - go in BYOB blocks - category Operators.

I just got a internal error


Put in the weirdness: http://i54.tinypic.com/zl6fph.pnghttp://img821.imageshack.us/i/gobanim2.gif/kinker style! [url]http://internetometer.com/image/16724.png[/url]♬♫ 92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature. ♫♪

Offline

 

#153 2010-09-03 17:04:58

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

Re: Welcome to the OLD local block library!

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  smile  I'm back online  smile


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

Offline

 

#154 2010-09-03 17:51:29

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Welcome to the OLD local block library!

kinker wrote:

iCode-747 wrote:

OMG!  yikes

Awesome, Sparks! You're a genius!  big_smile

Really cool, thanks so much for doing this!  smile

HOW ABOUT MY TOPIC!? I WANT MY TOPIC TO GET FAMOUS TOO!  mad

Be quiet.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#155 2010-09-04 10:45:16

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

Re: Welcome to the OLD local block library!

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.  big_smile


Yawn.

Offline

 

#156 2010-09-04 17:18:56

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Welcome to the OLD local block library!

This may have been said before but the:

"save project as..." block Shared by Billybob-Mario
type: http://wiki.scratch.mit.edu/images/The_shape_of_a_Stack_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

?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#157 2010-09-05 12:38:59

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Welcome to the OLD local block library!

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)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#158 2010-09-05 21:38:46

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: Welcome to the OLD local block library!

Please Add my import sound block to panther blocks

Code:

[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

Code:

[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


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#159 2010-09-06 18:19:20

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Welcome to the OLD local block library!

A BYOB block: Pick Random of []
It picks a random part and reports it.
http://img710.imageshack.us/img710/155/pickrandomof.gif
Code:

http://img84.imageshack.us/img84/5144/pickrandomofcode.gif

Last edited by bbbeb (2010-09-06 18:19:35)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#160 2010-09-11 08:37:42

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Welcome to the OLD local block library!

Congratulations - you've been ITopic'd!

Offline

 

#161 2010-09-11 08:42:09

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: Welcome to the OLD local block library!

ITopic'd! YAY  big_smile

Offline

 

#162 2010-09-11 09:20:09

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

Re: Welcome to the OLD local block library!

Congrats!  smile


nXIII

Offline

 

#163 2010-09-11 13:00:37

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

Re: Welcome to the OLD local block library!

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  smile

Thanks again,


Sparks


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

Offline

 

#164 2010-09-11 13:08:24

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

Re: Welcome to the OLD local block library!

Updated blocks and finally linked meowmeow55's BYOB project in the library!


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

Offline

 

#165 2010-09-11 16:19:41

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

Re: Welcome to the OLD local block library!

Yay, this thread got ITopic'd and my BYOB block library got in the topic post!!  big_smile

I updated the block library project to include bbbeb's "pick random of [...]" reporter.  smile


Yawn.

Offline

 

#166 2010-09-11 19:01:00

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: Welcome to the OLD local block library!

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

Last edited by floppy_gunk (2010-09-11 20:09:37)


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

#167 2010-09-11 19:13:07

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

Re: Welcome to the OLD local block library!

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:

Code:

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

Done with the blockspec. Here is the edited code:

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)


Marzipan11 must learn to not spoil

Offline

 

#168 2010-09-11 19:30:58

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Welcome to the OLD local block library!

Author: (I don't know who but I like making this block by myself)
Type: http://wiki.scratch.mit.edu/images/The_shape_of_a_Boolean_block.png
Block spec:

Code:

            ('hidden?'                        b    isHidden)

Tested on: Scratch 1.4 Source

Last edited by ThePCKid (2010-09-13 17:51:45)

Offline

 

#169 2010-09-11 20:43:00

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Welcome to the OLD local block library!

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.  smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#170 2010-09-12 20:01:06

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Welcome to the OLD local block library!

Congratulations, Sparks!! I feel so happy that you got ITopic'd! Thats awesome!


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#171 2010-09-12 20:39:21

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

Re: Welcome to the OLD local block library!

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.


Yawn.

Offline

 

#172 2010-09-13 17:50:52

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Welcome to the OLD local block library!

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.  smile

Whoops! I used the wrong image. Thanks for finding that!

Offline

 

#173 2010-09-14 16:41:41

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

Re: Welcome to the OLD local block library!

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!


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

Offline

 

#174 2010-09-14 16:53:24

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Welcome to the OLD local block library!

i want an if GHOST=X block

<forever>
<if><(looking  <=>true>
<say[ Anyone? ]for(10 )secs>  )>

Last edited by ssss (2010-09-14 16:53:41)


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#175 2010-09-14 17:00:36

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

Re: Welcome to the OLD local block library!

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!  yikes


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

Offline

 

Board footer