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

#151 2009-04-11 10:54:32

fuzzwuzz
Scratcher
Registered: 2008-06-24
Posts: 87

Re: ITopic: Build Your Own Blocks (BYOB)

Hey jens, i have a few questions:

1. how did you mod scratch to make BYOB.
2. how DO YOU mod scratch, could you maybe make a tut. on a few ways to change it?
3. BYOB is GREAT!!!
4.whats a reporter and boolean type when your making a custom block
pleez reply soon i reely want to be able to mod scratch!!!

tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue   tongue


Ready for the next generation of scratch??? Try Jaguar!
Add grob the slime to your signature to help him take over the world! http://img709.imageshack.us/img709/3252/gobanim2.gif

Offline

 

#152 2009-04-11 17:56:51

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

Re: ITopic: Build Your Own Blocks (BYOB)

Hi piko_12,

you cannot share a BYOB project on the Scratch website, because BYOB is an unofficial prototype for procedures which are currently unsupported by Scratch. You can, however, convert your project into an .exe file and share it in that form with your friends.


Jens Mönig

Offline

 

#153 2009-04-11 22:13:33

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

fuzzwuzz wrote:

Hey jens, i have a few questions:

1. how did you mod scratch to make BYOB.

You have to modify the Source Code, which you can find here: http://scratch.wik.is/Source_Code. You need Squeak Smalltalk to modify it: http://www.squeak.org/Download/. I think you can also use Elements by downloading the "For Scratch" version which includes the Scratch source code.

fuzzwuzz wrote:

2. how DO YOU mod scratch, could you maybe make a tut. on a few ways to change it?

Here's his first and only tutorial.

fuzzwuzz wrote:

3. BYOB is GREAT!!!

Not a question >:C

fuzzwuzz wrote:

4.whats a reporter and boolean type when your making a custom block

A Reporter is like a variable: It gives the script a number. Let's say you want to make a block named "pi". Create a reporter block. In the "report (--)" field you type what it reports to the script. Since the number Pi is equal to 3.14159265 (rounded up to 8 decimals, good for a Scratch script) write that. Then press OK, and you'll be able to use Pi in the script. You can also put anything else, such as other round (reporter) blocks.

A boolean is a true/false state. You could make a "Key Space RELEASED?" block by making a boolean which reports:

[blocks]<<  <not> <key[ space ]pressed?> >>[/blocks].

Hope this helped.  smile

Last edited by technoguyx (2009-04-11 22:13:48)


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#154 2009-04-15 08:03:08

piko_12
Scratcher
Registered: 2009-03-15
Posts: 37

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

Hi piko_12,

you cannot share a BYOB project on the Scratch website, because BYOB is an unofficial prototype for procedures which are currently unsupported by Scratch. You can, however, convert your project into an .exe file and share it in that form with your friends.

Thank you for reply, Jens. Can you tell me how can I convert it into .exe????

Offline

 

#155 2009-04-15 08:06:12

piko_12
Scratcher
Registered: 2009-03-15
Posts: 37

Re: ITopic: Build Your Own Blocks (BYOB)

Thank you for reply, Jens. Today I saw you replied me. Can you tell me how can I convert a project into .exe in BYOB????
                                                                                            Piko_12

Last edited by piko_12 (2009-04-15 08:11:25)

Offline

 

#156 2009-04-15 12:05:07

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

Re: ITopic: Build Your Own Blocks (BYOB)

Hi piko_12, in BYOB there's an internal compiler in the Extras-menu.


Jens Mönig

Offline

 

#157 2009-04-15 12:48:33

SmartIrishKid
Scratcher
Registered: 2008-07-19
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

Hi piko_12, in BYOB there's an internal compiler in the Extras-menu.

I can't get that function to work, for some reason.


Discuss future Scratch RPGs, online games, and more!

Offline

 

#158 2009-04-15 22:23:30

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

SmartIrishKid wrote:

Jens wrote:

Hi piko_12, in BYOB there's an internal compiler in the Extras-menu.

I can't get that function to work, for some reason.

Hmmm... I'll try it. I never noticed it  tongue

Uh, I can't find it. I'm using version 1.0.2, probably it was updated.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#159 2009-04-18 11:38:39

Heliosa
Scratcher
Registered: 2007-07-24
Posts: 86

Re: ITopic: Build Your Own Blocks (BYOB)

I like this program. But the problem is it runs a little slowly on my virtual pc (unsurprisingly) so I was wondering if there is the possibility of a mac version?


What are you looking at?

Offline

 

#160 2009-04-18 11:45:48

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

Re: ITopic: Build Your Own Blocks (BYOB)

Heliosa wrote:

I like this program. But the problem is it runs a little slowly on my virtual pc (unsurprisingly) so I was wondering if there is the possibility of a mac version?

Heliosa, I believe you can just drop the .image file into a Scratch shortcut/The actual program.

Offline

 

#161 2009-04-19 08:52:01

piko_12
Scratcher
Registered: 2009-03-15
Posts: 37

Re: ITopic: Build Your Own Blocks (BYOB)

Jens wrote:

Hi piko_12, in BYOB there's an internal compiler in the Extras-menu.

Hmmmm...... I didn't found it :'(

Offline

 

#162 2009-04-19 11:54:54

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

piko_12 wrote:

Jens wrote:

Hi piko_12, in BYOB there's an internal compiler in the Extras-menu.

Hmmmm...... I didn't found it :'(

Found out what's the problem. You're using BYOB 1.0.2 or earlier. BYOB 1.0.3 (I just updated to it) has a "Compile" button near "Save As", where "Share" should go.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#163 2009-04-19 23:39:43

Heliosa
Scratcher
Registered: 2007-07-24
Posts: 86

Re: ITopic: Build Your Own Blocks (BYOB)

Whenever I compile a project, and  attempt to open the new file it asks for the squeak image. Help please.


What are you looking at?

Offline

 

#164 2009-04-20 04:12:48

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

Re: ITopic: Build Your Own Blocks (BYOB)

Hi Heliosa,

There seem to be two issues you're running into using BYOB. One is how to run it on Mac, the other is about the internal pseudo-compiler. As Magnie pointed out, you can just use the BYOB image together with your current Scratch environment. However, if you do that within the same folder that you're running regular Scratch from, Scratch will ask you to specify a Squeak image at every launch. So, the solution for this problem would be to create a separate folder for BYOB with a copy of all the Scratch files in it, and then to replace the file named Scratch.image with the one named BYOB.image.

The internal fake-compiler is still somewhat experimental and does not work correctly on every setup. There are especiall some constellations in combination with accented characters in pathnames which lead to problems. I'm also not sure if it (or the files it creates) works at all in a Windows emulator on a Mac.


Jens Mönig

Offline

 

#165 2009-04-20 15:23:38

Heliosa
Scratcher
Registered: 2007-07-24
Posts: 86

Re: ITopic: Build Your Own Blocks (BYOB)

Thanks. I'll try that. And a quick question about Chirp. Does it have network connections that let you use it with python and other programs.


What are you looking at?

Offline

 

#166 2009-04-20 16:24:04

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

Re: ITopic: Build Your Own Blocks (BYOB)

Chirp 1.2 is Scratch 1.2 but allows you to have the projects as Screen Savers. So I don't think so.

Offline

 

#167 2009-04-26 08:00:22

Dibbo222
Scratcher
Registered: 2007-11-03
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

i noticed that when you make a normal variable in BYOB, you can HIDE AND SHOW THEM!!! i hope this is in the next version of scratch!! and BYOB is awesome!

EDIT:
if BYOB was added to a new version of scratch, well, i'd be very happy!  big_smile

Last edited by Dibbo222 (2009-04-26 08:01:47)


The biggest tower defense game on Scratch?
http://scratch.mit.edu/projects/Dibbo222/929092

Offline

 

#168 2009-04-26 09:28:08

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

Re: ITopic: Build Your Own Blocks (BYOB)

Dibbo222 wrote:

i noticed that when you make a normal variable in BYOB, you can HIDE AND SHOW THEM!!! i hope this is in the next version of scratch!! and BYOB is awesome!

EDIT:
if BYOB was added to a new version of scratch, well, i'd be very happy!  big_smile

You can already hide and show variables in Scratch. Are you sure you're using 1.3 or 1.3.1?

Offline

 

#169 2009-04-26 12:19:01

DawnLight
Scratcher
Registered: 2009-04-25
Posts: 500+

Re: ITopic: Build Your Own Blocks (BYOB)

coolstuff wrote:

Dibbo222 wrote:

i noticed that when you make a normal variable in BYOB, you can HIDE AND SHOW THEM!!! i hope this is in the next version of scratch!! and BYOB is awesome!

EDIT:
if BYOB was added to a new version of scratch, well, i'd be very happy!  big_smile

You can already hide and show variables in Scratch. Are you sure you're using 1.3 or 1.3.1?

I think Dibbo222 is using 1.2 (Scratch version).You should download the newest version of Scratch here: Click Here!

Last edited by DawnLight (2009-04-26 12:35:30)

Offline

 

#170 2009-04-26 12:29:44

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

Re: ITopic: Build Your Own Blocks (BYOB)

DawnLight wrote:

coolstuff wrote:

Dibbo222 wrote:

i noticed that when you make a normal variable in BYOB, you can HIDE AND SHOW THEM!!! i hope this is in the next version of scratch!! and BYOB is awesome!

EDIT:
if BYOB was added to a new version of scratch, well, i'd be very happy!  big_smile

You can already hide and show variables in Scratch. Are you sure you're using 1.3 or 1.3.1?

I think Dibbo222 is using 1.3 (Scratch version).You should download the newest version of Scratch here: Click Here!

1.3 still has hide/show variables.

Offline

 

#171 2009-04-26 12:35:10

DawnLight
Scratcher
Registered: 2009-04-25
Posts: 500+

Re: ITopic: Build Your Own Blocks (BYOB)

coolstuff wrote:

DawnLight wrote:

coolstuff wrote:


You can already hide and show variables in Scratch. Are you sure you're using 1.3 or 1.3.1?

I think Dibbo222 is using 1.3 (Scratch version).You should download the newest version of Scratch here: Click Here!

1.3 still has hide/show variables.

Sorry I meant 1.2!
Me and my mistakes!  hmm

Offline

 

#172 2009-04-28 04:24:19

Dibbo222
Scratcher
Registered: 2007-11-03
Posts: 100+

Re: ITopic: Build Your Own Blocks (BYOB)

DawnLight wrote:

coolstuff wrote:

DawnLight wrote:


I think Dibbo222 is using 1.3 (Scratch version).You should download the newest version of Scratch here: Click Here!

1.3 still has hide/show variables.

Sorry I meant 1.2!
Me and my mistakes!  hmm

woopsss!!!! ive got 1.3 - and yeh i can show and hid variables but i never noticed i could. lol, and i use variables alot!


The biggest tower defense game on Scratch?
http://scratch.mit.edu/projects/Dibbo222/929092

Offline

 

#173 2009-05-05 05:40:34

Thilo
Scratcher
Registered: 2009-03-31
Posts: 24

Re: ITopic: Build Your Own Blocks (BYOB)

Sometimes I also use a lot of variables, which have to be shown in the project. Does anybody have an idea how to set all variables to zero at the beginning? I want to create a block with BYOB, but I don't know how.

Offline

 

#174 2009-05-05 05:44:36

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: ITopic: Build Your Own Blocks (BYOB)

Thilo wrote:

Sometimes I also use a lot of variables, which have to be shown in the project. Does anybody have an idea how to set all variables to zero at the beginning? I want to create a block with BYOB, but I don't know how.

The only way I know is to set up a Green Flag script and set each variable to zero explicitly.

[blocks]
<when green flag clicked>
<set{ X1  }to(  0
<set{ X2  }to(  0
...and so on
[/blocks]

It's also a very good idea to put a short wait at the start of your other scripts that might be depending on the values being zero to give the project time to set them to zero.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#175 2009-05-05 06:22:10

Thilo
Scratcher
Registered: 2009-03-31
Posts: 24

Re: ITopic: Build Your Own Blocks (BYOB)

Well, that's the way I did it before. Thanks anyway  smile .

Offline

 

Board footer