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

#526 2010-11-26 17:52:24

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

Re: Welcome to the OLD local block library!

[REQUEST]

Scratch Block
(last broadcasted)

its in bingo but i cant tranfer it to scratch as it just makes it a temp

so could someone please make it

Offline

 

#527 2010-11-26 19:18:27

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

Re: Welcome to the OLD local block library!

blockspec:

('do nothing' #- #doNothing)

Code:

doNothing
^ self

TESTED

Actually, EVERY block has a code, sometimes the code is already there.


Marzipan11 must learn to not spoil

Offline

 

#528 2010-11-27 06:29:20

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Welcome to the OLD local block library!

http://www.mediafire.com/imgbnc.php/7bcf3a2cd8f0df1e2b8a85ca592826aef0c976792866a2b5a646ce9d0c3dce7c6g.jpg

[url=http://www.mediafire.com/imgbnc.php/81af29ff74e20a9fc133ed475f7eed1a9f7132025a822945e15d9f2e2f345fb56g.jpg][img]http://www.mediafire.com/imgbnc.php/63c0f2642c2ee831ebc933fdfb5f22e6a5328715b79
e963bf0732352b2a292e36g.jpg[/img][/url]

http://www.mediafire.com/imgbnc.php/702d7c759559f919ab1a010e618bf4d9303253f8147ee902fcaf28ca08a17dfd6g.jpg

BYOB blocks

Scratch won't obey my BBCode!  mad

Last edited by rdococ (2010-11-27 06:44:10)

Offline

 

#529 2010-11-27 10:16:22

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

Re: Welcome to the OLD local block library!

Here's a nice BYOB block:

http://img534.imageshack.us/img534/8840/asdff.gif


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

Offline

 

#530 2010-11-28 02:46:01

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Welcome to the OLD local block library!

We should have a page on conventional custom menus.

i.e. %S could be convention for menu for single stepping speed, etc.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#531 2010-11-28 03:08:48

Guinea_Pig_Girl
Scratcher
Registered: 2010-08-25
Posts: 100+

Re: Welcome to the OLD local block library!

Block Addition!
The Command Error Block!
http://lh3.ggpht.com/_MRv2zxg8oVs/TPIMQjPeWmI/AAAAAAAAAZM/6ArGnDYf06s/s800/Errorblock.PNG
How to make it:
http://lh4.ggpht.com/_MRv2zxg8oVs/TPIMRFABekI/AAAAAAAAAZQ/GgakKD1NIiQ/s800/Errorblockmake.PNG
Based on the reporter error block by SSBBM  smile

Also, that's a nice block ScratchReallyROCKS!  smile


http://img841.imageshack.us/img841/783/misstdd.png
Put this in your siggy if you miss The_Dancing_Donut!

Offline

 

#532 2010-11-28 04:24:51

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

Re: Welcome to the OLD local block library!

Hardmath123, I don't understand what you mean by a conventional menu? (p.s. %S is used in Scratch to create a dropdown list of all the sprites in a block)

GPG, not sure I understand the use of error blocks  tongue  Oh well, I'll add then anyway!

SRR, I don't read BYOB block code very well, but isn't your block above just an [ask [what's your name?] and wait] block?


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

Offline

 

#533 2010-11-28 07:15:34

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Welcome to the OLD local block library!

sparks wrote:

Hardmath123, I don't understand what you mean by a conventional menu? (p.s. %S is used in Scratch to create a dropdown list of all the sprites in a block)

Ok, %s then?

And it would be helpful for common menus (single stepping, common constants like π, +/-/÷/*/mod/^, etc.). The idea is so if custom menus catch on, we wouldn't waste time and space repeating the same codes.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#534 2010-11-28 12:06:57

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

Re: Welcome to the OLD local block library!

sparks wrote:

SRR, I don't read BYOB block code very well, but isn't your block above just an [ask [what's your name?] and wait] block?

It's a reporter that reports the answer immediately rather than using an "answer" reporter.


Yawn.

Offline

 

#535 2010-11-28 13:22:19

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

Re: Welcome to the OLD local block library!

Hardmath123 wrote:

sparks wrote:

Hardmath123, I don't understand what you mean by a conventional menu? (p.s. %S is used in Scratch to create a dropdown list of all the sprites in a block)

Ok, %s then?

And it would be helpful for common menus (single stepping, common constants like π, +/-/÷/*/mod/^, etc.). The idea is so if custom menus catch on, we wouldn't waste time and space repeating the same codes.

Sparks: oh, I get what you mean. %s represents a String argument already.


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

Offline

 

#536 2010-11-28 13:35:59

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

Re: Welcome to the OLD local block library!

meowmeow55 wrote:

sparks wrote:

SRR, I don't read BYOB block code very well, but isn't your block above just an [ask [what's your name?] and wait] block?

It's a reporter that reports the answer immediately rather than using an "answer" reporter.

Yep. I find it WAY more useful than the current one.


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

Offline

 

#537 2010-11-28 13:53:49

coupdegrace
Scratcher
Registered: 2009-12-02
Posts: 42

Re: Welcome to the OLD local block library!

i dont know if anyone has posted this yet, but here's the "go forward ( ) layers" block:
put this in scratchspritemorph under block specs:

Code:

 ('go forward %n layers' #- #goFwdByLayers: 1)

and put this under looks ops:

Code:

 goFwdByLayers: t1 
    owner ifNil: [^ self].
    self layer: (owner submorphs indexOf: self)
            - t1 truncated

hope this helps!  big_smile


[CENTER]http://www.nodiatis.com/pub/11.jpg[/CENTER]

Offline

 

#538 2010-11-28 14:09:49

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

Re: Welcome to the OLD local block library!

owetre18, I really like your blocks, mainly the drag and drop one. Great ideas!

meowmeow55 wrote:

Must be something I messed with then. I don't think I made any changes that would affect this, but whatever. So, can you or someone else download the BYOB Block Library project, put in the code in the block, and upload it to Mediafire or somewhere? I'll upload it back to my site then.

I'll do it.
EDIT: Oops, you allready did it. Oh well here it is (opens in new window, how do I fix that?). I added the new blocks.

Sparks, You added an f on the link to my new make line block. Also why haven't you added any sub-cads?

Last edited by SSBBM (2010-11-29 08:53:26)


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

Offline

 

#539 2010-11-28 19:40:34

coupdegrace
Scratcher
Registered: 2009-12-02
Posts: 42

Re: Welcome to the OLD local block library!

The "add variable" block doesn't work, but this version of it that I made does:
In Block Specs:

Code:

('add variable %s' #- #addVar: 'variable)

and under variables (in instance):

Code:

addVar: t1 
    | t2 t3 |
    (t2 _ self ownerThatIsA: ScratchFrameMorph) ifNil: [^ self beep].
    t1 size = 0 ifTrue: [^ self].
    t3 _ t1 asUTF8.
    (t2 workPane variableNameInUse: t3)
        ifTrue: 
            [self beep.
            DialogBoxMorph warn: 'That variable name is already in use'.
            ^ self].
    t2 workPane addVariable: t3.
    t2 viewerPane categoryChanged: 'variables'.
    self addWatcherForNewVariable: t3 withScope: t2 workPane

will you use this version?

Last edited by coupdegrace (2010-11-28 20:23:38)


[CENTER]http://www.nodiatis.com/pub/11.jpg[/CENTER]

Offline

 

#540 2010-11-29 08:45:29

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Welcome to the OLD local block library!

sparks wrote:

%s represents a String argument already.

*sigh*


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#541 2010-11-29 10:20:44

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

Re: Welcome to the OLD local block library!

SSBBM, fixed your link, no idea how that f got there, sorrty  hmm
What's a sub-cad?

Coupdegrace, yes, I'll use your "add variable" block next time I do an update  smile


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

Offline

 

#542 2010-11-29 10:47:28

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Welcome to the OLD local block library!

Block Request:
Draw quadrilaterial at X: Y: to X: Y:

I would like it made in Panther


You can now reach me on Twitter @johnnydean1_

Offline

 

#543 2010-11-29 16:52:07

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

Re: Welcome to the OLD local block library!

sparks wrote:

SSBBM, fixed your link, no idea how that f got there, sorrty  hmm
What's a sub-cad?

Ha. I had a feeling you wouldn't know what I ment, but I was too lazy  tongue , it means sub-category. List/other is the sub-category.

johnnydean1 wrote:

Block Request:
Draw quadrilateral at X: Y: to X: Y:

I would like it made in Panther

I could make that for BYOB

Last edited by SSBBM (2010-11-29 17:35:03)


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

Offline

 

#544 2010-11-29 17:00:31

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Welcome to the OLD local block library!

^ If you could make it in BYOB, I could change it into Panther


You can now reach me on Twitter @johnnydean1_

Offline

 

#545 2010-11-29 17:35:10

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

Re: Welcome to the OLD local block library!

Made it, but you can't draw a quadrilateral with two point it has to be four.

http://img230.imageshack.us/img230/6326/drawquad.gif
http://img542.imageshack.us/img542/9268/drawrec.gif


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

Offline

 

#546 2010-11-30 05:28:20

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

Re: Welcome to the OLD local block library!

Ohhhh! A sub-cat not a sub-cad which is what you wrote  tongue  I have not got a list or other catagory because Scratch puts it's list blocks in with the variables, as do the other two mods, and none of them have an other catagory either...


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

Offline

 

#547 2010-11-30 08:08:35

subzerostig
Scratcher
Registered: 2010-09-08
Posts: 100+

Re: Welcome to the OLD local block library!

You can make a rectangle if you know 2 points, but not a quadralateral


There are 10 types of people people in this world, those that understand binary and those that do not: My latest Project: Present catcher V2                          06/12/2012

Offline

 

#548 2010-11-30 08:25:57

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

Re: Welcome to the OLD local block library!

sparks wrote:

Ohhhh! A sub-cat not a sub-cad which is what you wrote  tongue  I have not got a list or other catagory because Scratch puts it's list blocks in with the variables, as do the other two mods, and none of them have an other catagory either...

Oops, typo. I can see your point, but BYOB has 10 options when making a block not 8.


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

Offline

 

#549 2010-11-30 16:17:42

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

Re: Welcome to the OLD local block library!

Alright, I'll do an update tomorrow  smile  remember to keep an eye out for requested blocks you might be able to code, people!  smile


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

Offline

 

#550 2010-11-30 16:21:51

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Welcome to the OLD local block library!

SSBBM wrote:

Made it, but you can't draw a quadrilateral with two point it has to be four.

http://img230.imageshack.us/img230/6326/drawquad.gif

That what I mean but I want the inside shaded aswell.


You can now reach me on Twitter @johnnydean1_

Offline

 

Board footer