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

#1 2010-06-22 17:01:47

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

BYOB3(2.99A) Block Tutorials

http://cs.berkeley.edu/~bh/gobol3.gif

To pimp your BYOB project, you can use blocks made from tutorials right here, In this thread! Here are the official BYOB links: (credit to Lucario621 for the first four links)

Warning: If you don't like links, then skip the following to the section titled: "Blocks"

Links
-BYOB3 Trailer as a Scratch Project (short) Bharvey's trailer to BYOB3 as a Scratch Project. It was shortened, because it was put online.
-BYOB3 Trailer as a Scratch Project (long) This is a download link because the file was to big to put online. To download, right click it, then select "Download linked file" or "Download linked file as..." to name it.
-The official BYOB website Here you can download the latest versions, report bugs, get the BYOB3 Trailers in Quicktime Movie form, and more!
-BYOBug Report form. A place where you can report bugs, or suggest future features to Jens or bharvey/brian/brain. Your eMail is required.
-BYOB 3 - Discussion Thread [official] By Lucario621; The official discussion thread for BYOB3. The title is pretty much self-explanatory.
-A Beginner's guide to BYOB3 By soupoftomato; places to learn to build your own blocks.
-Build Your Own Blocks (BYOB) [official] By Jens. The first, and official BYOB thread.

Blocks (you can stop skipping now)

All you have to do in this thread is post blocks that are makable in BYOB3/2.99A. It is suggested that you post pictures, but it is fine if you post text blocks. You can, but it is frowned up on to use the Forum Blocks. They are too messy.

Here is an example:

http://i46.tinypic.com/15yvfb9.gif
Oh, and by the way, for you cheaters out there, this doesn't work. There are 4 blocks missing.



Now, post your own!

Last edited by henley (2010-06-23 08:07:18)


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#2 2010-06-23 08:06:15

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

Bump.

Hello? Doesn't ANYONE know how to make a BYOB block!?


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#3 2010-06-23 11:50:04

illusionist
Retired Community Moderator
Registered: 2008-07-02
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

henley wrote:

Bump.

Hello? Doesn't ANYONE know how to make a BYOB block!?

lol no. xD

I came here to learn.  smile


http://i.imgur.com/8LX1NrV.png

Offline

 

#4 2010-06-23 14:04:38

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

I do! I'll post it in a sec.


Yawn, another boring text signature. I should really make something better.

Offline

 

#5 2010-06-23 15:43:50

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

illusionist wrote:

henley wrote:

Bump.

Hello? Doesn't ANYONE know how to make a BYOB block!?

lol no. xD

I came here to learn.  smile

You just use the blocks from scratch, to tell what the block will do.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#6 2010-06-24 07:58:20

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

Bump.

Wow. I thought this thread was a good idea. Evidently not.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#7 2010-06-24 07:59:27

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

I know how to...

Offline

 

#8 2010-06-24 08:42:42

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

The-Whiz wrote:

I know how to...

Please, share a block with us, let us learn!


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#9 2010-06-24 09:48:16

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

Re: BYOB3(2.99A) Block Tutorials

henley wrote:

The-Whiz wrote:

I know how to...

Please, share a block with us, let us learn!

I have a dictionary class ... do you want it?

I'll probably develop a bunch of nice, fast data structures and post them here. I'm not saying the dictionary one is fast, though...

Last edited by nXIII (2010-06-24 09:48:53)


nXIII

Offline

 

#10 2010-06-24 10:18:52

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

henley wrote:

http://i46.tinypic.com/15yvfb9.gif

Hi. henley!

I don't understand your block.  What's with the SIZE-1 sometimes?  If it's going to be a square, I think the distance left has to equal the distance right, etc.  In Scratch you can make a square with

REPEAT 4 [
    MOVE 100 STEPS
    TURN RIGHT 90 DEGREES
]

... not 100 sometimes and 99 sometimes.

I think posting blocks here is a great idea -- I hope you don't mind that sometimes it results in people picking apart your blocks.  smile

P.S. If you just replace the "100" above with an input variable, you get a simpler square block, and it has the extra advantage that it can draw squares at angles:

REPEAT 8 [
    SQUARE 100
    TURN RIGHT 45 DEGREES
]

This idea, drawing with sprite-relative motions (MOVE and TURN) instead of coordinate-system-relative motions, is called "turtle geometry" (because the first sprite was called a turtle, because it was built as a screen representation of an actual robot that ran over the floor that had a hemispherical shell like a turtle) and it's what made Logo (the predecessor of Scratch) famous.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#11 2010-06-24 12:32:39

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

bharvey wrote:

henley wrote:

http://i46.tinypic.com/15yvfb9.gif

Hi. henley!

I don't understand your block.  What's with the SIZE-1 sometimes?  If it's going to be a square, I think the distance left has to equal the distance right, etc.  In Scratch you can make a square with

REPEAT 4 [
    MOVE 100 STEPS
    TURN RIGHT 90 DEGREES
]

... not 100 sometimes and 99 sometimes.

I think posting blocks here is a great idea -- I hope you don't mind that sometimes it results in people picking apart your blocks.  smile

P.S. If you just replace the "100" above with an input variable, you get a simpler square block, and it has the extra advantage that it can draw squares at angles:

REPEAT 8 [
    SQUARE 100
    TURN RIGHT 45 DEGREES
]

This idea, drawing with sprite-relative motions (MOVE and TURN) instead of coordinate-system-relative motions, is called "turtle geometry" (because the first sprite was called a turtle, because it was built as a screen representation of an actual robot that ran over the floor that had a hemispherical shell like a turtle) and it's what made Logo (the predecessor of Scratch) famous.

You are right, I made the block wrong. But, I think you got something wrong too.

I didn't want to do any turning, so that says ( (size) * (-1) )

Not +.  tongue

EDIT: Oh yeah, here is the WORKING block:

http://i45.tinypic.com/6f5pw2.gif

Last edited by henley (2010-06-24 13:20:30)


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#12 2010-06-24 22:45:41

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

Here's my block:

http://img35.imageshack.us/img35/5808/byobblock2.gif


Yawn, another boring text signature. I should really make something better.

Offline

 

#13 2010-06-24 23:06:48

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

henley wrote:

I didn't want to do any turning, so that says ( (size) * (-1) )

Not +.  tongue

Oops!  You're right, of course -- I misread that completely.  My apologies.

But what do you have against turning?  Your way, you're stuck with squares, but with turning you can generalize to any regular polygon.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#14 2010-06-24 23:10:16

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

jackrulez wrote:

Here's my block:

Nice.  You know, I'm constantly showing people the generic regular polygon (360/SIDES) and I'm constantly showing people the squiral (92), but it never occurred to me to combine the two ideas in a single procedure!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#15 2010-06-25 08:09:29

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

bharvey wrote:

henley wrote:

I didn't want to do any turning, so that says ( (size) * (-1) )

Not +.  tongue

Oops!  You're right, of course -- I misread that completely.  My apologies.

But what do you have against turning?  Your way, you're stuck with squares, but with turning you can generalize to any regular polygon.

Well, I can still make rectangles with my method, but I would need to ask the user for both, height and width.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#16 2010-06-25 08:41:31

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

Here's my reporter block! This reports a section of a string between the two user-specified characters. (Inclusive) The second reporter block is also needed, as it is used in the first one. I guess this doesn't return an "argument," per say, but I'm too lazy too change it.
http://i46.tinypic.com/i6hxdh.jpg

Last edited by Harakou (2010-06-25 08:44:19)


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#17 2010-06-25 14:05:43

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

Harakou wrote:

Here's my reporter block! This reports a section of a string between the two user-specified characters. (Inclusive) The second reporter block is also needed, as it is used in the first one. I guess this doesn't return an "argument," per say, but I'm too lazy too change it.
http://i46.tinypic.com/i6hxdh.jpg

Woah! What version of BYOB are you using?


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#18 2010-06-25 15:37:21

ironmannn
Scratcher
Registered: 2010-02-20
Posts: 42

Re: BYOB3(2.99A) Block Tutorials

nice job jens, i think this new byob works better than 1.10 but heres a sugjestion.
you should let people put video onto projects and a compress but that  decompresses it when it is played if you can get aproval to add in an uploader
i think its great but you should make a lua to scratch converter on there. because i know some lua scripting. but basic stuff.

Offline

 

#19 2010-06-25 16:07:18

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

ironmannn wrote:

nice job jens, i think this new byob works better than 1.10 but heres a sugjestion.
you should let people put video onto projects and a compress but that  decompresses it when it is played if you can get aproval to add in an uploader
i think its great but you should make a lua to scratch converter on there. because i know some lua scripting. but basic stuff.

Jens hasn't posted here at all. I'm henley.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#20 2010-06-25 22:17:58

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

henley wrote:

Harakou wrote:

Here's my reporter block! This reports a section of a string between the two user-specified characters. (Inclusive) The second reporter block is also needed, as it is used in the first one. I guess this doesn't return an "argument," per say, but I'm too lazy too change it.
http://i46.tinypic.com/i6hxdh.jpg

Woah! What version of BYOB are you using?

2.0.2, why?

Last edited by Harakou (2010-06-25 22:27:18)


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#21 2010-06-25 22:42:15

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

Re: BYOB3(2.99A) Block Tutorials

Harakou wrote:

2.0.2, why?

There's a MUCH newer version of BYOB now. The one you're using is extremely limited...


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

Offline

 

#22 2010-06-25 22:53:31

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

ScratchReallyROCKS wrote:

Harakou wrote:

2.0.2, why?

There's a MUCH newer version of BYOB now. The one you're using is extremely limited...

I guess I'll have to upgrade then. I haven't checked for a new version in a long time. Where can I find it?


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#23 2010-06-25 23:08:41

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

Re: BYOB3(2.99A) Block Tutorials

Harakou wrote:

ScratchReallyROCKS wrote:

Harakou wrote:

2.0.2, why?

There's a MUCH newer version of BYOB now. The one you're using is extremely limited...

I guess I'll have to upgrade then. I haven't checked for a new version in a long time. Where can I find it?

Here: the BYOB site


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

Offline

 

#24 2010-06-26 11:43:28

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

Bump


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#25 2010-06-27 01:34:34

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: BYOB3(2.99A) Block Tutorials

bharvey wrote:

jackrulez wrote:

Here's my block:

Nice.  You know, I'm constantly showing people the generic regular polygon (360/SIDES) and I'm constantly showing people the squiral (92), but it never occurred to me to combine the two ideas in a single procedure!

Yay! A compliment!


Yawn, another boring text signature. I should really make something better.

Offline

 

Board footer