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

#26 2008-10-25 20:18:43

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

Re: ITopic: Build Your Own Blocks (BYOB)

Fabulous!

Is there a way for sprite 1 to call the built block of another sprite (for any subset of command, reporter, or boolean)? I could not find one.

Not sure about concurrency/interleaving. Perhaps Reporters and Booleans should be called synchronously and atomically, while Commands should be just like a narrow-cast equivalent of the current broadcast event.

Thanks - Sophie

Offline

 

#27 2008-10-26 03:09:57

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

Re: ITopic: Build Your Own Blocks (BYOB)

Hi Sophie,

thanks for testing the prototype! At the moment sprites can only access their own custom blocks, and not call other sprite's procedures/functions. I agree that this might be beneficial for e.g. a "math-services" sprite or so. I'm just not sure how to integrate something like it into the current Scratch blocks paradigm. Do you have any ideas on this?


Jens Mönig

Offline

 

#28 2008-10-26 04:40:58

likegames
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

Songheadstudios wrote:

I am having a problem, I have Broken out of scratch 1.3 and made some changes,
now I want to get back into "user mode" but how do I?

click on the background then "open" then "scratch"


There are 10 types of people in this world: Those who understand trinary, those who don't, and those who think this is the same old signature.
Three lines! (and base three!)

Offline

 

#29 2008-10-27 04:48:03

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

Re: ITopic: Build Your Own Blocks (BYOB)

jcubed wrote:

you cant type numbers into the blocks

Hmm, I just checked and, yes, you should be able to type in numbers into the parameter-fields of any custom block you made (also into the "report" field in the block editor). Could you perhaps explain what you're missing a little more in detail? Thanks!


Jens Mönig

Offline

 

#30 2008-10-27 16:15:18

jcubed
Scratcher
Registered: 2008-07-23
Posts: 65

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

jcubed wrote:

you cant type numbers into the blocks

Hmm, I just checked and, yes, you should be able to type in numbers into the parameter-fields of any custom block you made (also into the "report" field in the block editor). Could you perhaps explain what you're missing a little more in detail? Thanks!

hit make a block and type the number 1 then hit ok, I also see that you can't hack this like you can scratch  > sad

Last edited by jcubed (2008-10-27 18:31:56)


Jcubed
Proud founder of Icdzat Productions.

Offline

 

#31 2008-10-28 03:20:08

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

Re: ITopic: Build Your Own Blocks (BYOB)

Aha, now I see what you mean. The first character in the block spec needs to be a non-numerical one. After that you can use numbers. Thanks for finding this out, jcubed!


Jens Mönig

Offline

 

#32 2008-10-29 06:18:04

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

Re: ITopic: Build Your Own Blocks (BYOB)

i was hoping for the making oooooooooooooooooooooooooooooofffffffffffffffffffffffff hat blocks?  big_smile


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

Offline

 

#33 2008-11-06 14:32:34

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

Re: ITopic: Build Your Own Blocks (BYOB)

[update]

fixed a few bugs:
   - using tools on the template-block no longer has any effect
   - using tools on variables in the block editor no longer as any effect
   (you weren't going to try that anyway, were you?)

added an integrated compiler
   - you can now turn your projects into an .exe with a single click on a button
   (this works currently only, however, if there are no spaces in the paths)

the new version is 1.0.3
Enjoy!


Jens Mönig

Offline

 

#34 2008-11-06 16:07:19

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

Hey I just noticed, repeat blocks go instantly into it  smile

Offline

 

#35 2008-11-06 19:15:57

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

Re: ITopic: Build Your Own Blocks (BYOB)

amazing! It's turned Scratch into a real programming language! Now all we need are parameters!

Offline

 

#36 2008-11-06 19:24:52

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

Re: ITopic: Build Your Own Blocks (BYOB)

As I think, this project runs off of a Squeak VM. So, If I were to use the Mac version of Scratch and open it with this image, would I be able to use it? I'm using a Windows right now so I can't check

Offline

 

#37 2008-11-07 01:44:19

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

Re: ITopic: Build Your Own Blocks (BYOB)

Hi coolstuff,

certainly you can use BYOB on a Mac. Just copy a Scratch VM into the BYOB folder and drag the BYOB.image file onto it. The only thing not working will be the compiler, because it is Windows-specific.

I'm not sure what you mean by asking for parameters, could you explain that to me? You can create your own blocks, specify parameters and pass them along, you know. Are you perhaps referring to command line parameters for the .exe files? What would you do with these? I'd be interested to learn more about your ideas!


Jens Mönig

Offline

 

#38 2008-11-07 08:41:42

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

Re: ITopic: Build Your Own Blocks (BYOB)

Awsome! I love playing around with stuff like this....i wonder if I can make a block that shades a triangle.....hmmm

Offline

 

#39 2008-11-07 09:47:50

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

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

I'm not sure what you mean by asking for parameters, could you explain that to me? You can create your own blocks, specify parameters and pass them along, you know. Are you perhaps referring to command line parameters for the .exe files? What would you do with these? I'd be interested to learn more about your ideas!

Hi Jens,
I posted that before completely exploring the uses of BYOB and reading the ReadMe file. I didn't know that you could pass parameters. Thanks for your response!

Offline

 

#40 2008-11-15 05:30:07

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

Re: ITopic: Build Your Own Blocks (BYOB)

I downloaded the BYOB prototype, and I have one thing to say so far: It needs a "delete block" button! I can't get rid of a "panda" block that I don't want anymore! because it is too random! ok!

Offline

 

#41 2008-11-15 05:34:10

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

Re: ITopic: Build Your Own Blocks (BYOB)

I'm tired. because I'm up at 5:33 AM. so I can't think about this right now. goodbye.

Offline

 

#42 2008-11-15 05:41:50

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

Re: ITopic: Build Your Own Blocks (BYOB)

I have an Idea for a way to use them: to create an input screen for a string!

Offline

 

#43 2008-11-15 05:44:20

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

Re: ITopic: Build Your Own Blocks (BYOB)

keroro645 wrote:

I found out that byob stands for build your own bag

I wish I could build my own bag...

For the thing, it should have block lists as well as block variables. for if you want to have a reporter that is the input of a string that uses a list, then it would need it.

Offline

 

#44 2008-11-16 09:14:15

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

Re: ITopic: Build Your Own Blocks (BYOB)

Hi DarthPickley,

sorry if you're having problems with BYOB, and if I didn't make it all clear and obvious how you can get rid of unwanted custom blocks. Actually it's rather easy: Just right click (command click on a Mac) on the block you want to delete in the palette, and select "delete" from the pop-up menu.

I hope this helps. Thanks for testing the prototype and giving feedback!


Jens Mönig

Offline

 

#45 2008-11-16 17:44:05

AddZero
Scratcher
Registered: 2007-08-11
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

Brilliant!  I'm already spoiled using this.

(Growing up, BYOB always meant Bring Your Own Bottle- to the reverse osmosis water store, for me.)

Last edited by AddZero (2008-11-17 10:45:13)


http://scratch.mit.edu/static/icons/buddy/524717_med.png?t=2010-06-15+09%3A48%3A36

Offline

 

#46 2008-11-17 11:35:59

likegames
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

please make 1.1 or 1.1.1 asap


There are 10 types of people in this world: Those who understand trinary, those who don't, and those who think this is the same old signature.
Three lines! (and base three!)

Offline

 

#47 2008-11-17 11:37:13

likegames
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

ProgrammingLanguage is a changed scratch too! Cool!


There are 10 types of people in this world: Those who understand trinary, those who don't, and those who think this is the same old signature.
Three lines! (and base three!)

Offline

 

#48 2008-11-17 14:47:14

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

I notice that even on atomic speed it doesn't happen instantly, like most games do.

Offline

 

#49 2008-11-17 16:19:07

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

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

Hi DarthPickley,

sorry if you're having problems with BYOB, and if I didn't make it all clear and obvious how you can get rid of unwanted custom blocks. Actually it's rather easy: Just right click (command click on a Mac) on the block you want to delete in the palette, and select "delete" from the pop-up menu.

I hope this helps. Thanks for testing the prototype and giving feedback!

I know! I thought I deleted those posts... but I guess I didn't. I also need to say: You should have block arrays, and string input and output.

Offline

 

#50 2008-11-17 16:31:57

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

Re: ITopic: Build Your Own Blocks (BYOB)

And also, if, for example, you wanted to make an "< < > xor < > >" block ( or rather, just a <<  <or>  >> block maybe), you could make it so that  you can input a boolean variable? and also you could have it so that in the code, #numvar creates an numerical variable called numvar, $strvar creates a string variable called strvar, and Idk, %boovar creates a boolean variable called boovar. Some other blocks I would like to make are simple boolean blocks for: "#num1<=#num2", "#num1>=#num2", "#num1<>#num2", and "%bool1 XOR %bool2". And also a "#num1 is between #num2 and #num3" and "#num1 is between #num2 and #num3 inclusive" block. one thing that I find totally un-remakeable is a "#num1^#num2" block. you HAVE to include  this in Scratch 1.4! and please include the block editor, even if only accessible as a feature in the extras menu!

Offline

 

Board footer