you should make it so on BYOB when you press share you can share online by having all of the costume blocks turn into the regular blocks and it will open in scratch so you can upload it!
*custom
sorry I typed that fast. what I mean is by making the custom blocks have all the blocks which are regular scratch blocks come out you can make it upload-able.
Why not make custom blocks local to another custom block?And if there's a "show/hide variable"block,why not have a "show/hide"list block?Anyway,how do you make a block with the elements editor?I hacked Scratch to make a block,so can I copy the text for that block spec into BYOB's source code?
jens im having trouble with my new mac os x. I tried to upload my project and it freezed and said please hold down the power button to restart and it got rid of scratch and i haft to download it again and it also did that with audacity. do you know what happend
the command window is supposed to go away again all by itself, then the Documents folder opens and in it you'll find an executable by the name of your project.
Yay! BYOB 3 has been out for a while! I absolutley ADORE it. :D Also, This is completely unrelated, but could you help me with this forum topic: (link to forums) ? I'd really appreciate it... But nice screenshot, anyway!
Jens, if you ever read this, what made you think of making BYOB. Are you a program maker or a hacker or something??? When i grow up I want to make things like BYOB but for other programs and stuff
Hi gaggerzon, I made BYOB simiply to find out if it could be done, and then people began to really like it, and Brian (he's the world's best programming teacher) taught me about first class procedures and we decided to try these also. Yes, I'm a programmer and a lawyer, and I think it's really cool that you want to programm nice things! Scratch definitely is the best place to start!
hey, Jens*, I saw that video of yours in youtube about these options you made in scratch like locking two sprites together and resizing a sprite. If you dont remember, heres the link- http://www.youtube.com/user/jmoenig
can you tell me what you edited to make the byob all of the edits so i could try to add to it and make it where you can actually share the projects to. like can you tell me what you did in the system browser i already know how to get there can you tell me what you typed?
Hey Jens, If You Didn't Already Read My Post In The Forums, I Need Help With The Blocks In BYOB. Is There ANY Way To Get The Blocks I Made In BYOB Onto The Scratch Website For People To Use In Thier Projects? Please Help!
I'm sorry, BYOB is an experimental prototype that's currently not supported by the Scratch online Java player. It's cool that you're trying BYOB, though!
I can't tell you about that, because I don't know. What I can tell you, however, is that there is going to be a new, exciting version of BYOB sometime in spring
hey, deine spiele und animationen sind echt toll.
aber ich habe ned frage: wenn ich eigene musik hochladen will, steht immer das format ist ungültig.
wie kann ich das ändern?
a translation into english: "hey, your games and animations are really great. But I have a question: when I try to load my own music, it always says that the format is not supported. how can I change this?"
alle formats sind nicht gultig fur Scratch, es verwandelt sie alle in mp3, aber alle formats kann es nich verwandeln also mussen sie ein software selber finden das dein lied format in mp3 verwandelt.
Oops I see the newlines in my message became spaces.
//// to vee / lt 45 / fd 50 / run pick [square star hex] / bk 50 / rt 90 / etc. /////// WHEN I RECEIVE SQUARE / SQUARE ///// :-)
.... when you get more than one level of recursion, the sprite gets lost and doesn't manage to return to its starting point, and the picture is weird. So there's something about BROADCAST AND WAIT that doesn't play well with recursion, is my guess. A single level of recursion (i.e., two levels of VEE) works fine. Thanks.
PS The ATOMIC box should be unchecked by default. My students keep getting hung irretrievably. And if the argument gets small enough, a Squeak debugging console appears
I tried this classic (Paul Goldenberg) Logo recursion:
to vee
left 45
forward 50
run pick [square star hexagon]
back 50
right 90
forward 50
run pick [square star hexagon]
back 50
left 45
end
except that since Scratch doesn't have RUN, I had to say
BROADCAST (ITEM ANY OF SHAPES) AND WAIT
where SHAPES is a list containing the elements
SQUARE
STAR
HEXAGON
and the sprite has scripts like
WHEN I RECEIVE SQUARE
SQUARE
and so on.
This works fine, but when you add VEE to the list of shapes,[cont.]
Hi, it's already done. I'll ask John if it's okay to post it now/sometime next week (because the official source code for Scrath 1.4 is not yet posted)
If you can't make it so that you can create a block with boolean inputs in BYOB, why not make a reporter block for BYOB that has a boolean input? The block could report 1 if the boolean is true, and 0 if the boolean is false.
The next version of BYOB will take any input, including text and boolean reporter blocks in every argument field. You'll be able to access the booleans within the block definition using the (round) parameter blocks from the block template
Thanks for you interest in my little experiments! Elements is the beginning of a new graphical programming language - or rather a graphical drag'n'drop user interface for Smalltalk. It lets you manipulate the Scratch source code almost like it was written in Scratch itself
Breaking out of a runaway recursion isn't working for me on my MacBook Pro. I *didn't* click on "atomic," so the stop sign should work, but it doesn't, and neither does esc-mouseclick.
Thanks for this bug-report. I'm just now adjusting BYOB to the upcoming Scratch release, and will try to figure out what's causing this (the esc-mouseclick really came as an afterthought and is somewhat kludgy). Could be related to Scratch not yielding to other processes until the innermost loop is completed, so stacking code in deeply nested loops seems to cause more hang-ups. You could try filling in some "timed" blocks (waits) and see what happens (I'd like to know). Thanks again!
Thanks for your help. I found a book about squeak and how to use it. Do you know of a book that starts explaining some of the code? I'll need it after I read the first book. Do you think the book I am reading now is a good start? Here is the link to it: http://www.squeakbyexample.org/
SBE is an excellent book to refer to, besides it's free, and I believe it comes with it's own environment in which to check out the examples. There's also an excllent and much shorter bank account tutorial somewhere on the Squeak site written by John Maloney, who's now the lead programmer for Scratch, and who invented and introduced the Morphic user interface paradigm to Squeak (which is central part of Scratch)
How did you learn how to do all of this stuff? I would like to learn how to do things like this but where do I start? Do you know of a web page that tells you how to do stuff like this in scratch?
Hi music_man, thanks for you interest in BYOB, Scratch, and programming in general! I love programming, and I guess whenever you truly love doing something it will eventually become easier. Scratch is programmed in Squeak, which is an open source variant of the Smalltlk programming language, and rather well documented (check squeak.org) Smalltalk is generally considered to be easy. However, there's a learning curve to Smalltalk, so be prepared to not immediately master super-complex stuff...
My mum's Vista ( which I'm on now ) won't work when I do the % thing. It says Subscript is out of bounds even when I I just do in the create your own block with the block name of "%"
Seems fairly limited to be, because you can only use blocks already in scratch to build your block, am I wrong?
Also, when is chirp going to be able to play 1.3 projects in screensavers!?
Do you think you could try to make a block that can save or load games? All you need to save is the variables and lists. Also, how do you do this stuff in scratch? Your like the master at making code for it.
actually, music_man, my prototype for lists (before they were introduced to Scratch)included file-access blocks for lists: http://www.chirp.scratchr.org/blog/?p=16
I know how this works but in a custom block how do you get a block like this; [Dragon__order__turn]? all I an get is one big block of [Dragon order turn] Please reply!
Ok now I understand. Thank you for telling me how to make it work on the iMac. Can you tell me some tips of how you can use this? Also, like the variables, can you make it have a drop down menu? If so, can you tell me how?
Why don't you have a look at the sample projects that come with this. You can look at how each is done by right clicking on it and selecting edit. This will give you some ideas how to get going. Also, there's a (too long, I know) pdf with a sort of user manual
That sounds cool. Do you think you could try to make it compatible with the iMac? Or is that o hard to do? I tried to download it to see what it dose, but it is an .exe.
Hi music_man, you can use BYOB on a Mac, just copy the file 'scratch.app' into the folder in which you extracted the download archive. Then drop the file named "byob.image" on "scratch.app", and you should be all set to go!
Hi music_man. This project shows what the "BYOB"-prototype does, which lets you build your own custom blocks in Scratch (rather than having to use Smalltalk), and how you can use a custom block within its own definition
Comments
You need to be logged in to post comments
Add a Comment
How did you make this?
Jens, do you know how to make a new block type in scratch 1.4? I'm making a variant of it called Dab.
Hey, i have this! :)
lol
The program is utterly amazing. O_o
you should make it so on BYOB when you press share you can share online by having all of the costume blocks turn into the regular blocks and it will open in scratch so you can upload it!
Or make a BYOB.mit.edu where you can post projects
*custom sorry I typed that fast. what I mean is by making the custom blocks have all the blocks which are regular scratch blocks come out you can make it upload-able.
(view all replies)Why not make custom blocks local to another custom block?And if there's a "show/hide variable"block,why not have a "show/hide"list block?Anyway,how do you make a block with the elements editor?I hacked Scratch to make a block,so can I copy the text for that block spec into BYOB's source code?
That's actually a great idea and something Brian keeps bugging me about, too, so we'll probably end up doing it at some time :)
(view all replies)jens im having trouble with my new mac os x. I tried to upload my project and it freezed and said please hold down the power button to restart and it got rid of scratch and i haft to download it again and it also did that with audacity. do you know what happend
I'm sorry, I don't own a Mac. But it sounds like there was something awry with your connection, not with the Scratch software
(view all replies)im going to make my own modification of scratch. I already know how to make a bunch of blocks but how do i make the actual modification?
Was messing around in Squeak the only thing required to make BYOB??
essentially yeah :-)
Whenever I click "compile this project"in BYOB,what do I do with the command windows that show up?(I have BYOB 3)
the command window is supposed to go away again all by itself, then the Documents folder opens and in it you'll find an executable by the name of your project.
(view all replies)Yay! BYOB 3 has been out for a while! I absolutley ADORE it. :D Also, This is completely unrelated, but could you help me with this forum topic: (link to forums) ? I'd really appreciate it... But nice screenshot, anyway!
I am modifying the scratch source code but I want to create a new scripts tab and block type. I tried to but it didn't work. Can you help me?
How can you modify Scratch to make .EXE files?
WIth BYOB you can(You know Cryteria's Area 42??He used BYOB to make all 3 parts to his series programs.I downloaded them:D)
...this could change things... alot... :D
Oh, it's done: BYOB
(view all replies)HOW DO I OPEN?! When I double-click, it says Please select an imige file... and I cant!
you and me both.
Jens, if you ever read this, what made you think of making BYOB. Are you a program maker or a hacker or something??? When i grow up I want to make things like BYOB but for other programs and stuff
Hi gaggerzon, I made BYOB simiply to find out if it could be done, and then people began to really like it, and Brian (he's the world's best programming teacher) taught me about first class procedures and we decided to try these also. Yes, I'm a programmer and a lawyer, and I think it's really cool that you want to programm nice things! Scratch definitely is the best place to start!
(view all replies)Hey, jens, can you give me a link to download BYOB 2.0?
sure: http://chirp.scratchr.org/dl/BYOB.ZIP
hey, Jens*, I saw that video of yours in youtube about these options you made in scratch like locking two sprites together and resizing a sprite. If you dont remember, heres the link- http://www.youtube.com/user/jmoenig
yes, they are in BYOB 2.0
(view all replies)can you tell me what you edited to make the byob all of the edits so i could try to add to it and make it where you can actually share the projects to. like can you tell me what you did in the system browser i already know how to get there can you tell me what you typed?
Hey Jens, If You Didn't Already Read My Post In The Forums, I Need Help With The Blocks In BYOB. Is There ANY Way To Get The Blocks I Made In BYOB Onto The Scratch Website For People To Use In Thier Projects? Please Help!
I'm sorry, BYOB is an experimental prototype that's currently not supported by the Scratch online Java player. It's cool that you're trying BYOB, though!
(view all replies)Hey, Jens, do you think its possible that BYOB will be built into the next version of scratch (if there will be one)? Thanks! :)
It's going to have BYOB like features! YAY though I'm not sure how to install BYOB help?
I can't tell you about that, because I don't know. What I can tell you, however, is that there is going to be a new, exciting version of BYOB sometime in spring
(view all replies)Any way, how did you make the "make a block" in scratch and not BYOB?
this looks like a teacher chat page!
You know, in a way it is, because some teachters are using this experimental feature in their classes
why is the flaag and red stop sign in circles like that? How did you get thta?
it's an old version of scratch. they looked like that from before around V 1.3
I'd be great if this was included in actual scratch.
*It'd
hey, deine spiele und animationen sind echt toll. aber ich habe ned frage: wenn ich eigene musik hochladen will, steht immer das format ist ungültig. wie kann ich das ändern?
a translation into english: "hey, your games and animations are really great. But I have a question: when I try to load my own music, it always says that the format is not supported. how can I change this?" alle formats sind nicht gultig fur Scratch, es verwandelt sie alle in mp3, aber alle formats kann es nich verwandeln also mussen sie ein software selber finden das dein lied format in mp3 verwandelt.
(view all replies)Oops I see the newlines in my message became spaces. //// to vee / lt 45 / fd 50 / run pick [square star hex] / bk 50 / rt 90 / etc. /////// WHEN I RECEIVE SQUARE / SQUARE ///// :-)
.... when you get more than one level of recursion, the sprite gets lost and doesn't manage to return to its starting point, and the picture is weird. So there's something about BROADCAST AND WAIT that doesn't play well with recursion, is my guess. A single level of recursion (i.e., two levels of VEE) works fine. Thanks. PS The ATOMIC box should be unchecked by default. My students keep getting hung irretrievably. And if the argument gets small enough, a Squeak debugging console appears
I tried this classic (Paul Goldenberg) Logo recursion: to vee left 45 forward 50 run pick [square star hexagon] back 50 right 90 forward 50 run pick [square star hexagon] back 50 left 45 end except that since Scratch doesn't have RUN, I had to say BROADCAST (ITEM ANY OF SHAPES) AND WAIT where SHAPES is a list containing the elements SQUARE STAR HEXAGON and the sprite has scripts like WHEN I RECEIVE SQUARE SQUARE and so on. This works fine, but when you add VEE to the list of shapes,[cont.]
Hi, can you say when the next release will be out? I have a summer class right now that's eager to build blocks that include ask/answer. Thanks!
Hi, it's already done. I'll ask John if it's okay to post it now/sometime next week (because the official source code for Scrath 1.4 is not yet posted)
If you can't make it so that you can create a block with boolean inputs in BYOB, why not make a reporter block for BYOB that has a boolean input? The block could report 1 if the boolean is true, and 0 if the boolean is false.
The next version of BYOB will take any input, including text and boolean reporter blocks in every argument field. You'll be able to access the booleans within the block definition using the (round) parameter blocks from the block template
(view all replies)I read your reply on the comment below...so...its kinda like a hack if I'm following right?And how did you get the screen shot?
Here's half the question: How to Take A Screen Shot: go to the page you want to take a screen shot of, and hit Print Screen on the keyboard (Windows)
(view all replies)I downloaded BOYB awhile ago, and I also went to your website and downloaded Elements. What exactly is Elements?
Thanks for you interest in my little experiments! Elements is the beginning of a new graphical programming language - or rather a graphical drag'n'drop user interface for Smalltalk. It lets you manipulate the Scratch source code almost like it was written in Scratch itself
Hi, since your on the Scratch team, I want say that dragging the scratch source into Scratch doesnt open the Squeak workspace.
Squeak is a whole different program. If you don't have it, you can't open Scratch in it!
(view all replies)Breaking out of a runaway recursion isn't working for me on my MacBook Pro. I *didn't* click on "atomic," so the stop sign should work, but it doesn't, and neither does esc-mouseclick.
Thanks for this bug-report. I'm just now adjusting BYOB to the upcoming Scratch release, and will try to figure out what's causing this (the esc-mouseclick really came as an afterthought and is somewhat kludgy). Could be related to Scratch not yielding to other processes until the innermost loop is completed, so stacking code in deeply nested loops seems to cause more hang-ups. You could try filling in some "timed" blocks (waits) and see what happens (I'd like to know). Thanks again!
I'm using it right now, its awesome. Wish I could share though! :)
wow, are u a computer scientist!!??
Not really, I'm a Smalltalk programmer turned lawyer and turned Smalltalk programmer-lawyer, lol!
(view all replies)Thanks for your help. I found a book about squeak and how to use it. Do you know of a book that starts explaining some of the code? I'll need it after I read the first book. Do you think the book I am reading now is a good start? Here is the link to it: http://www.squeakbyexample.org/
SBE is an excellent book to refer to, besides it's free, and I believe it comes with it's own environment in which to check out the examples. There's also an excllent and much shorter bank account tutorial somewhere on the Squeak site written by John Maloney, who's now the lead programmer for Scratch, and who invented and introduced the Morphic user interface paradigm to Squeak (which is central part of Scratch)
How did you learn how to do all of this stuff? I would like to learn how to do things like this but where do I start? Do you know of a web page that tells you how to do stuff like this in scratch?
Hi music_man, thanks for you interest in BYOB, Scratch, and programming in general! I love programming, and I guess whenever you truly love doing something it will eventually become easier. Scratch is programmed in Squeak, which is an open source variant of the Smalltlk programming language, and rather well documented (check squeak.org) Smalltalk is generally considered to be easy. However, there's a learning curve to Smalltalk, so be prepared to not immediately master super-complex stuff...
I'm Going To Try To Make A Block In BYOB thats <Pointing Towards | Sprite | > If Thats Possible..I'm Going To Try Though.
This looks cool, but it doesn't work on 's.
It does. Just double-click the image file (in 10.3 and over).
I dom't know if i should download BYOB it might couse virisis.
no it won't i didn't. did you get that idea by a warning on your browser?
1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1.3.1 very stange image file
image file "1.3.1" its strange if i do 1.3.1.3.1.3.1
My mum's Vista ( which I'm on now ) won't work when I do the % thing. It says Subscript is out of bounds even when I I just do in the create your own block with the block name of "%"
just '%' doesn't work (yet) in BYOB, because I fixed that bug in Scratch 1.3 only later (for 1.3.1). Use "%parameter" instead.
(view all replies)Seems fairly limited to be, because you can only use blocks already in scratch to build your block, am I wrong? Also, when is chirp going to be able to play 1.3 projects in screensavers!?
Is there a way to add drop down lists to blocks?
not yet, FoxDur. Which drop down lists would you be interested in?
(view all replies)Yay I just made my own block! I'm so excited! Thank you! :D
Do you think you could try to make a block that can save or load games? All you need to save is the variables and lists. Also, how do you do this stuff in scratch? Your like the master at making code for it.
actually, music_man, my prototype for lists (before they were introduced to Scratch)included file-access blocks for lists: http://www.chirp.scratchr.org/blog/?p=16
oh, wait i get it!
I know how this works but in a custom block how do you get a block like this; [Dragon__order__turn]? all I an get is one big block of [Dragon order turn] Please reply!
Spelling error; not an, get.
(view all replies)Ok now I understand. Thank you for telling me how to make it work on the iMac. Can you tell me some tips of how you can use this? Also, like the variables, can you make it have a drop down menu? If so, can you tell me how?
Why don't you have a look at the sample projects that come with this. You can look at how each is done by right clicking on it and selecting edit. This will give you some ideas how to get going. Also, there's a (too long, I know) pdf with a sort of user manual
That sounds cool. Do you think you could try to make it compatible with the iMac? Or is that o hard to do? I tried to download it to see what it dose, but it is an .exe.
double-click the image file
Hi music_man, you can use BYOB on a Mac, just copy the file 'scratch.app' into the folder in which you extracted the download archive. Then drop the file named "byob.image" on "scratch.app", and you should be all set to go!
(view all replies)Can you explain what this dose? I'm still confused.
Hi music_man. This project shows what the "BYOB"-prototype does, which lets you build your own custom blocks in Scratch (rather than having to use Smalltalk), and how you can use a custom block within its own definition
*so it is scratch-legal.
let's rather try to maybe incorporate something like this into real Scratch...
(view all replies)P.S I know it is scratch-illegal, make the share button make it upload it to a "BYOB projects" page of the chirp website.
Make a share button and a hat block feature and ability to put your blocks in categories also % options (like %n for numbers). Hope 1.1 is made soon!
Wow, that is really cool. Will BYOB be added into future version of main Scratch app?
Thanks for trying it, Lightnin! BYOB is as of now just an experimental prototype, nothing official
how do you share projects with it?
You can't share these projects on the website, but I embedded a compiler, so you can share them as .exe
(view all replies)