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

#451 2010-11-10 01:38:23

me450
Scratcher
Registered: 2009-03-31
Posts: 56

Re: Welcome to the OLD local block library!

[REQUEST]

could someone please make a import and export list block

Thanks

Offline

 

#452 2010-11-10 01:39:30

me450
Scratcher
Registered: 2009-03-31
Posts: 56

Re: Welcome to the OLD local block library!

[Tutorial - Compile to exe with custom blocks]
1. Download latest BYOB
2. go to BYOB folder
3. Look for BYOB Development.BAT
4. change shortcut to open that file
5. open BYOB via shortcut of batch file
6. Shift click edit
7. turn fill screen off
8. add all your custom blocks and use BYOBS compiler to compile your projects

Offline

 

#453 2010-11-10 08:12:30

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Welcome to the OLD local block library!

chippo wrote:

you know, I think that in the next scratch there should be only one hat block, which would be: _________
             /              \___________
            | When <  >___________|
                 \_/

and then all the other hat blocks would be condensed into Boolean.

for example, to use [blocks]<when green flag clicked>[/blocks]
you would put a <Green Flag Clicked?> Boolean into the only hat block.

If you look, in blockspecs, there is a type of block for that (as in W, b, etc.) but it says it is obsolete.  hmm


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#454 2010-11-10 11:27:37

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

Re: Welcome to the OLD local block library!

I've seen this kind of block all over the place as a request, and I think it would be very useful. I do, however think that it could cause a lot of problems in the same way as a "when stop sign clicked" hat - especially in a mod like Panther, where you could open a project and the moment it opens, a "when <not<mouse down?>>" hat activates a script that creates a ton of clones or starts clearing files on your computer or runs some other deviously malicious block before you have the chance to read through the code.


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

Offline

 

#455 2010-11-10 15:30:57

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

Re: Welcome to the OLD local block library!

Make a function that does not allow evaluation until the green flag is pressed once!  big_smile


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

Offline

 

#456 2010-11-10 16:03:42

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

Re: Welcome to the OLD local block library!

or maybe a "when < > and other scripts running" hat?


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

Offline

 

#457 2010-11-16 11:16:28

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

Re: Welcome to the OLD local block library!

Hi guys! Sorry for not doing anything on here for a while. What are people's thoughts to having a block requests section to this thread?

◙ If you are a block coder - would you consider making blocks that people have requested?

◙ If you are a library user, would you like to be able to request blocks?

Thanks, yout input helps me make improvements to the library  smile


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

Offline

 

#458 2010-11-16 13:58:10

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

Re: Welcome to the OLD local block library!

sparks wrote:

Hi guys! Sorry for not doing anything on here for a while. What are people's thoughts to having a block requests section to this thread?

◙ If you are a block coder - would you consider making blocks that people have requested?

◙ If you are a library user, would you like to be able to request blocks?

Thanks, yout input helps me make improvements to the library  smile

Great idea! I'll help with anyone who has BYOB block.


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

Offline

 

#459 2010-11-16 14:11:41

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

Re: Welcome to the OLD local block library!

excellent  smile  I'll start thinking about that and implement it to the library soonish  smile


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

Offline

 

#460 2010-11-16 17:40:29

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

Re: Welcome to the OLD local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle2.png

Requested blocks
http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

Here's a list of blocks people have asked for! If you think you can make one of them work, help fill the library with useful blocks by submitting the code as a comment! If you want to request a block or vote for a block that's already there, post a comment with a name and description and if there's no problem with it, I'll post it here for all to see!
http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

Previously answered and solved requests:[4]

block name:
|Run]
|
|but if < >, pause]

Requested for:
BYOB


block name:
<saying [s]?>
Requested for:
Scratch

block name:
(last broadcast sent)
Requested for:
Scratch

block name:
[save costume (n) to file: [s]]
Requested for:
Panther

________________________________
^ home

Last edited by sparks (2011-01-03 13:41:18)


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

Offline

 

#461 2010-11-16 18:33:08

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

Re: Welcome to the OLD local block library!

[set single stepping] I made!

blockspec:

('set single stepping' #- #setSpeed)

Code:

setSpeed
    | t1 t2 |
    t1 _ CustomMenu new title: 'Single-step speed?'.
    t1 add: 'Turbo speed' action: 0.
    t1 add: 'Normal' action: 1.
    t1 add: 'Flash blocks (fast)' action: 30.
    t1 add: 'Flash blocks (slow)' action: 200.
    t2 _ t1 localize startUp.
    t2 ifNil: [^ self].
    ScratchProcess blockHighlightMSecs: t2

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

What it does: It opens a drop down of single step speeds. You select it, and the program switches to that mode.

Last edited by zorket (2010-11-16 18:43:21)


Marzipan11 must learn to not spoil

Offline

 

#462 2010-11-16 19:24:21

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

Re: Welcome to the OLD local block library!

I think we should have a convention for blocks, as follows:
[ and ] denote command block start/finish
    ex: [if on edge, bounce]
( and ) denote reporter block start/finish (when used at lowest level)
    ex: (mouse x)
< and > denote predicate start/finish
    ex: <true>
( and ) denote argument start/end
    ex: [wait (Time:Number=1) secs]
(ArgName:Type=Default) denotes an argument with name ArgName, type Type and default value Default
    ex: [wait (Time:Number=1) secs]
(ArgName:Opt1, Opt2, Op3=Default) denotes a dropdown (enumerated) argument with Opt1, Opt2, and Opt3 items and default value Default
    ex: [switch to cursor (CursorName:Normal, Busy, None=Normal)]
(ArgName:Type:Opt1, Opt2, Op3=Default) denotes a dropdown + editable argument of type Type with Opt1, Opt2, and Opt3 items and default value Default
    ex: [delete (Item:Number:all, first, last, any=1) of (ListName:List)]

List of types: (tell me if I forgot any)
Attribute
Boolean
Color (accepts additional argument Palette (=Palette/Screen), i.e. (C:Color:Palette))
Drum
Event
Sensor
BooleanSensor
Instrument
Key
List
Costume
Sprite
String
Number
Note
Sound
Var
Scene

You can add some if you have custom types, for example a Boolean reporter slot might be Predicate. You might want to include a description of the type if you do this.


nXIII

Offline

 

#463 2010-11-16 19:34:23

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Welcome to the OLD local block library!

sparks wrote:

I've seen this kind of block all over the place as a request, and I think it would be very useful. I do, however think that it could cause a lot of problems in the same way as a "when stop sign clicked" hat - especially in a mod like Panther, where you could open a project and the moment it opens, a "when <not<mouse down?>>" hat activates a script that creates a ton of clones or starts clearing files on your computer or runs some other deviously malicious block before you have the chance to read through the code.

? you can do that in squeak?


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#464 2010-11-17 05:26:50

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

Re: Welcome to the OLD local block library!

Zorket, thanks for filling out one of the request blocks, I will add it to the scratch section. You should have noted, however, that the block was requested for Panther not scratch  smile  It's still useful though, I'll have a go at converting it to Panther too  smile

nXIII, It is useful to have a standard and conventional method for representing a block, however a lot of users won't understand the post above  tongue  It's pretty complicated. A lot of people use that layout anyway  smile  Thanks for the post.

16skittles, Yes, Squeak can do things like clear files on your computer, potentially very dangerous, which is why I check all the projects submitted to the site before posting them up  smile


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

Offline

 

#465 2010-11-17 05:34:35

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

Re: Welcome to the OLD local block library!

Ok, I have turned the stepping speed block by Zorket into three Panther blocks (as custom blocks in Panther don't support dropdowns.

[turn on turbo speed]
ScratchProcess blockHighlightMSecs: 0

[turn off turbo speed]
ScratchProcess blockHighlightMSecs: 1

[set stepping speed to (number=10)]
ScratchProcess blockHighlightMSecs: t1

The last one can essentially replace the first two, but hey. also, using nXIII's block layout, I would normally put number=1 for the number argument but panther seems to default all custom block number arguments to 10  tongue


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

Offline

 

#466 2010-11-17 06:10:37

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

Re: Welcome to the OLD local block library!

Zorket's scratch block added, my versions of it for panther added  smile  requests removed from request section ^.^


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

Offline

 

#467 2010-11-17 06:14:30

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

Re: Welcome to the OLD local block library!

actually, you know what, nXIII, I think I might link your "how to lay out a block" post if you could turn it into more of a tutorial  smile  It would be very useful for everyone to use the same method  smile


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

Offline

 

#468 2010-11-17 13:21:05

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

Re: Welcome to the OLD local block library!

http://dl.dropbox.com/u/6273449/BlockLibraryTitle2.png
^home

Block Library Statistics.

GREEN numbers are shared blocks, PURPLE numbers are shared blocks that were requested. so in this example: "User [3] [2]", the person has shared a total of 5 blocks.
http://dl.dropbox.com/u/6273449/BlockLibDiv2.png
http://www.weebly.com/uploads/4/0/7/6/4076678/1104109.gif

Blocks
total blocks: [82]
http://i53.tinypic.com/29wri81.jpg Motion [4]
http://i51.tinypic.com/2yvj4w5.jpg Control [13]
http://i54.tinypic.com/1555368.jpg Looks [13]
http://i55.tinypic.com/rc3i41.jpg Sensing [3]
http://i54.tinypic.com/9j0lcg.jpg Sound [2]
http://i56.tinypic.com/261km15.jpg Operators [17]
http://i52.tinypic.com/2mi16w3.jpg Pen [4]
http://i51.tinypic.com/21j38ra.jpg Variables [1]

Contributors
total Scratch block contributors: [18]
MarioBlender [1]
sparks [2]
Billybob-Mario [1]
bbeb [1]
Zorket [10] [2]
rubiks_cube_guy238 [1]
midnightleopard [1]
Jwosty [3]
sonicjosh [1]
LS97 [1]
PlayWithFire [1]
nXIII [1]
jonathanpb [1]
Hardmath123 [6]
Pecola1 [20]
coupdegrace [1]
ESN [1]
MathWizz [1]
Jens Mönig [1]

Top Scratch blocks Contributor: Pecola1 [20]


^home
http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

http://www.weebly.com/uploads/4/0/7/6/4076678/732043.gif

Blocks
total blocks: [73]
http://i53.tinypic.com/29wri81.jpg Motion [7]
http://i51.tinypic.com/2yvj4w5.jpg Control [11]
http://i54.tinypic.com/1555368.jpg Looks [12]
http://i55.tinypic.com/rc3i41.jpg Sensing [7]
http://i54.tinypic.com/9j0lcg.jpg Sound [1]
http://i56.tinypic.com/261km15.jpg Operators [20]
http://i52.tinypic.com/2mi16w3.jpg Pen [8]
http://i51.tinypic.com/21j38ra.jpg Variables [5]

Contributors
total BYOB block contributors: [17]

jonathanpb [5]
PlayWithFire [8]
SSBBM [25]
Guinea_Pig_Girl [2]
midnightleopard [2]
meowmeow55 [6]
TheSuccessor [1]
rdococ [4]
bbeb [1]
Chrischb [2]
nXIII [1]
owetre18 [3]
subzerostig [4]
ScratchReallyROCKS [2]
sid_the_great [4]
Sparks [3]
Pecola1 [1]

Top BYOB Block Contributor: SSBBM [25]

^home
http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

http://www.weebly.com/uploads/4/0/7/6/4076678/9986755.jpg

Blocks
total blocks: [35]
http://i53.tinypic.com/29wri81.jpg Motion [0]
http://i51.tinypic.com/2yvj4w5.jpg Control [10]
http://i54.tinypic.com/1555368.jpg Looks [1]
http://i55.tinypic.com/rc3i41.jpg Sensing [4]
http://i54.tinypic.com/9j0lcg.jpg Sound [2]
http://i56.tinypic.com/261km15.jpg Operators [4]
http://i52.tinypic.com/2mi16w3.jpg Pen [0]
http://i51.tinypic.com/21j38ra.jpg Variables [4]
http://i51.tinypic.com/20ql8ck.jpg Files [9]
http://i52.tinypic.com/dza328.jpg Colors [1]

Contributors
total Panther block contributors: [6]

Sparks [7] [3]
BillyEdward [1]
Billybob-Mario [1]
PlayWithFire [1]
nXIII [2]
bbeb [1]
johnnydean1 [15] [2]


Top Panther Block Contributor: johnnydean1 [17]

http://dl.dropbox.com/u/6273449/BlockLibDiv2.png

^home

Last edited by sparks (2011-01-03 13:41:28)


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

Offline

 

#469 2010-11-17 13:24:56

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

Re: Welcome to the OLD local block library!

^ new block library statistics post showing top contributors and more! What do you guys think?


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

Offline

 

#470 2010-11-17 13:52:34

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Welcome to the OLD local block library!

I'm gonna make some blocks!  big_smile


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#471 2010-11-17 13:57:47

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

Re: Welcome to the OLD local block library!

sounds good! I'm sure you'll come up with some pretty nifty blocks! What're you thinking?

Last edited by sparks (2010-11-17 14:33:46)


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

Offline

 

#472 2010-11-17 15:01:23

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

Re: Welcome to the OLD local block library!

.                              http://img528.imageshack.us/img528/4416/66858359.gif

Scratch blocks added: [1]
[set stepping speed to [turbo speed]] Shared by Zorket


Panther blocks added: [3]
[set stepping speed to (1)] Shared by Sparks
[turn on turbo speed] Shared by Sparks
[turn off turbo speed] Shared by Sparks

Other Updates:

♦ New update posts! Woo!

Block requests section added! (see first post for permanent link)

New Block Library Statistics section added! (see first post for permanent link and simple stats)


_____________________________________________________________________________
^home
^updates archive

Last edited by sparks (2010-11-19 05:27:45)


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

Offline

 

#473 2010-11-17 16:28:03

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

Re: Welcome to the OLD local block library!

Alright sparks, Now I have brought along a bunch of rage on making blocks, now I'm gonna be blowing blocks down the streets! Please prepare yourself, while I prepare the army!


Marzipan11 must learn to not spoil

Offline

 

#474 2010-11-17 16:32:15

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

Re: Welcome to the OLD local block library!

sounds good Zorket  smile  You're already top scratch block contributor!

here's a challange for you, can you make any of these?

[clear line (n) or file [s]]

[write [s] to line (n) in file [s]]

wink


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

Offline

 

#475 2010-11-17 16:37:14

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

Re: Welcome to the OLD local block library!

sparks wrote:

sounds good Zorket  smile  You're already top scratch block contributor!

here's a challange for you, can you make any of these?

[clear line (n) or file [s]]

[write [s] to line (n) in file [s]]

wink

Oh, you got me. But I'm gonna be working on blocks like [if touching [sprite], delete self]


Marzipan11 must learn to not spoil

Offline

 

Board footer