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

#76 2008-12-22 02:57:03

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

Hi NXTGeek,

you can find the download links in the first post of this thread. Enjoy!


Jens Mönig

Offline

 

#77 2008-12-22 15:36:13

ferret10
Scratcher
Registered: 2008-04-21
Posts: 58

Re: ITopic: Build Your Own Blocks (BYOB)

fullmoon wrote:

Doesn't "BYOB" stand for "Bring Your Own Beer"?

BYOB stands for a lot of things.


A must-see animation about the Scratch cat! http://scratch.mit.edu/projects/ferret10/364723 ¡uʍopǝpısdn ǝdʎʇ uɐɔ ı

Offline

 

#78 2008-12-22 18:38:58

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

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

Hi henley,

I'm not sure if I understand your request right. You can already build your own boolean blocks by selecting the "boolean" checkbox in the block editor, but you cannot - as of now - define boolean parameters for custom blocks, nor create custom loops or event-hats. Could you perhaps give me an example of a use case for these ideas? I'm curious how this could help expanding BYOB. Thank you!

i mean something such as the " if < >" block shaped like a C the part that looks like < > is what i want on BYOB, i also what the "C Block"  hmm

Last edited by henley (2008-12-22 18:41:25)


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

Offline

 

#79 2008-12-23 05:01:13

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

henley, which blocks would you like to snap into the < > parameter placeholder, and what would you like to do with it in the procedure's body which you cannot already do using the if-block?


Jens Mönig

Offline

 

#80 2008-12-23 17:04:19

NXTGeek
Scratcher
Registered: 2008-03-27
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

Hi NXTGeek,

you can find the download links in the first post of this thread. Enjoy!

lol,  smile  I looked, but I guess not hard enough...

..I have been know to miss things under my nose.

Offline

 

#81 2008-12-23 18:47:24

ferret10
Scratcher
Registered: 2008-04-21
Posts: 58

Re: ITopic: Build Your Own Blocks (BYOB)

I exited BYOB and now I need a certain picture file or I can't get back in!  What's the file?


A must-see animation about the Scratch cat! http://scratch.mit.edu/projects/ferret10/364723 ¡uʍopǝpısdn ǝdʎʇ uɐɔ ı

Offline

 

#82 2008-12-23 18:49:34

ferret10
Scratcher
Registered: 2008-04-21
Posts: 58

Re: ITopic: Build Your Own Blocks (BYOB)

Never mind, I fixed it.


A must-see animation about the Scratch cat! http://scratch.mit.edu/projects/ferret10/364723 ¡uʍopǝpısdn ǝdʎʇ uɐɔ ı

Offline

 

#83 2008-12-23 22:57:56

buthead
Scratcher
Registered: 2007-12-12
Posts: 7

Re: ITopic: Build Your Own Blocks (BYOB)

the compile button doesn't work

Offline

 

#84 2008-12-24 12:35:00

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

Re: ITopic: Build Your Own Blocks (BYOB)

I tried using BYOB but all I can really do with it is make shortcuts: i can put a whole script into one block. Is that what its meant for?  Or is there a way to make REAL new blocks like the ones in my project http://scratch.mit.edu/projects/illusionist/213984


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

Offline

 

#85 2008-12-24 13:34:11

ferret10
Scratcher
Registered: 2008-04-21
Posts: 58

Re: ITopic: Build Your Own Blocks (BYOB)

I tried to make the much wanted <[ ]received> block, but I couldn't make it report the right thing.  I guess it's impossible to make after all.


A must-see animation about the Scratch cat! http://scratch.mit.edu/projects/ferret10/364723 ¡uʍopǝpısdn ǝdʎʇ uɐɔ ı

Offline

 

#86 2008-12-24 14:46:54

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

Re: ITopic: Build Your Own Blocks (BYOB)

It has to be boolean. a <[] recieved> block isn't.

Offline

 

#87 2008-12-27 15:20:26

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

illusionist wrote:

I tried using BYOB but all I can really do with it is make shortcuts: i can put a whole script into one block. Is that what its meant for?  Or is there a way to make REAL new blocks like the ones in my project http://scratch.mit.edu/projects/illusionist/213984

Well, you CAN make recursive blocks, which you can't do with just scripts. And you can have multiple instances of the block running at the same time, with unlimited block variables. you can make a "pause all for _ seconds" block (maybe) or something using the atomic feature. or a simple function to cut down scripts a lot. or maybe a Sub-program.

Offline

 

#88 2008-12-27 15:41:46

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

henley wrote:

Jens wrote:

Hi henley,

I'm not sure if I understand your request right. You can already build your own boolean blocks by selecting the "boolean" checkbox in the block editor, but you cannot - as of now - define boolean parameters for custom blocks, nor create custom loops or event-hats. Could you perhaps give me an example of a use case for these ideas? I'm curious how this could help expanding BYOB. Thank you!

i mean something such as the " if < >" block shaped like a C the part that looks like < > is what i want on BYOB, i also what the "C Block"  hmm

I've been thinking about things like that too. I have thought up whole things where you physically build your own block- kind of like a Realbasic editor or something. And it has something like where you can make a block with a selectable group of windows, and you can choose what options there are in the thing, and it can include specific things, like the drop-down menu for "( {abs,sqrt,sin,cos,tan,asin,acos,atan,ln,log,e^,10^} of (0) )", or something with special variables, like a certain sprite, a variable, or something that you can choose what to include or not include, very complex. And also, to have several special types of variables: numerical, string, boolean, color, or the complex sprite, variable, costume, etc. variables that can be made so that, in the end, it is possible to make a "<color {|color var|, any} of sprite {|sprite var|, stage, any} is touching color {|color var|, any} of sprite {|sprite var|, stage, any}>" block. or, especially useful, some kind of block that can sort a certain list, or even the "[point in direction {0 up, 90 right, -90 left, 180 down}]" block. You can, also, make a block shaped special ways. just, something that would be able ot replicate any of the current blocks. although this is a very unlikely idea...

Offline

 

#89 2008-12-27 19:08:11

Coolyouth79
Scratcher
Registered: 2008-10-31
Posts: 68

Re: ITopic: Build Your Own Blocks (BYOB)

This blew my mind!!! Incredible! big_smile


http://localhostr.com/files/e608b2/siggy.png
I can't remember the last time I produced something.... jk.

Offline

 

#90 2008-12-27 21:03:41

techy
Scratcher
Registered: 2008-12-17
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

What do the blocks do?


Guppy Inc. making projects famous!
http://web-geeks.com/techy.gifhttp://web-geeks.com/grid.gifhttp://web-geeks.com/challenge.gif

Offline

 

#91 2008-12-29 07:53:41

eurocracy
Scratcher
Registered: 2008-12-29
Posts: 12

Re: ITopic: Build Your Own Blocks (BYOB)

Variables should be able to hold strings!


I remember 35 Digits of pi off my head.
3.1415926535897932384626433832795088

Offline

 

#92 2008-12-29 08:06:37

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

eurocracy wrote:

Variables should be able to hold strings!

Variables can hold strings in Scratch (since version 1.3). You can write anything - including a string like your name - into the "set variable to ___" command block. In BYOB you can pass  a string as parameter to a custom block by first assigning it to a variable. You can also let a custom block return a string by similarly assigning such a string to an answered variable.


Jens Mönig

Offline

 

#93 2008-12-29 11:07:03

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

Personally to me, BYOB is a great scratch add-on, but with experimenting, I've realized that for the most part, your just shortening your script.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#94 2008-12-31 22:43:07

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

I Can't Read The "PDF Read Through" Cause It Opens In WordPad. But Can You Tell Me How To Fix It or Could You Make It In WordPad or Is The A Topic/Post I Can Read?
Thank You For You Help Everyone.

Offline

 

#95 2009-01-01 19:16:29

itsme213
Scratcher
Registered: 2007-07-08
Posts: 38

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

I'm delighted by your suggestion to let other sprites access certain custom blocks. That way something like a sprite-based library system could be experimented with. In fact, it might be a nice start to only enhance the already existing block you mentioned which "senses" the variables of another sprite so that you can select any of the other sprites custom-defined reporter blocks. This would fit in nicely with the existing Scratch blocks while allowing sprites to gently expand their "public interface". I would also expect this to be very easy to understand by beginners and thus intuitive to use.

What do you think, could this (sensing custom reporters) be enough, or do sprites really need to directly execute other sprites' custom command blocks as well?

I think that would be a great start! It would "gently" and "greatly" expand things.

I do think access to custom command blocks would also be very good, but can be treated as a quite separate project.

Sophie

Offline

 

#96 2009-01-04 20:50:08

mathguy
Scratcher
Registered: 2008-11-20
Posts: 19

Re: ITopic: Build Your Own Blocks (BYOB)

i found a glitch; if you make tons of % like this %%%%%%%%%%%%%%%%%f you get tons of boxes and then a <> slot or other assorted things (once i got a math dropdown box *shiver*) and it gives you an "internal error" and if you play with it some you get a " **system error handling failed** "

Offline

 

#97 2009-01-05 02:56:44

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

Hi mathguy, you're right about percent character clusters doing funny things in BYOB. That's because we fixed the percent-character bug in Scratch 1.3.1 only after I released the current version of BYOB (which is based on Scratch 1.3). The next version of BYOB will fix that issue. Thanks for your report!


Jens Mönig

Offline

 

#98 2009-01-05 17:15:53

mathguy
Scratcher
Registered: 2008-11-20
Posts: 19

Re: ITopic: Build Your Own Blocks (BYOB)

thanks for listening i'll put up some screenshots of it up and give a link

Offline

 

#99 2009-01-09 10:43:49

NXTGeek
Scratcher
Registered: 2008-03-27
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

is there a way to make a block (that kinda looks like a loop block) that sets the execution speed for the coding inside it, AKA you could make a repeat script run as fast as possible or ultra slow depending on what number/setting you input...?

Offline

 

#100 2009-01-09 22:06:45

terminator355
Scratcher
Registered: 2008-07-31
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

is there a mac version?


No new stuff for now guys  wink  join me for some Black Ops on xbox: termhn or for some rock band on PS3: rocket232

Offline

 

Board footer