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

#851 2010-06-23 16:31:08

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

2.99.022, another bugfix release.

I think, im a bit behind...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#852 2010-06-23 23:16:12

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

Re: BYOB 3 - Discussion Thread

2.99.023, more bug fixes.

Jens wrote:

tonight's release completes most of the reported programming language bug fixes that I know how to fix, and some others that only I noticed. :-) Right-clicking in the block editor's scripts pane now triggers a somewhat extended context menu, that also lets you undo the last drop and "make a block"


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

Offline

 

#853 2010-06-24 08:07:49

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

Re: BYOB 3 - Discussion Thread

Wow. It's like you make a new one every day! I'm behind four, and I feel like I keep having to replace!


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

Offline

 

#854 2010-06-24 10:03:28

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

Re: BYOB 3 - Discussion Thread

henley wrote:

Wow. It's like you make a new one every day! I'm behind four, and I feel like I keep having to replace!

Jens was producing at this rate for half a year before we went public with 2.99!  The changes from one day to the next are relatively small now.  The good news is, if you miss a day, there won't be a quiz on it.  smile   Just update when you get a spare minute, or once a week, or only on those days when the announcement has the word "major" in it, or a lot of exclamation points!!!
smile


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

Offline

 

#855 2010-06-25 01:38:00

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Just a random crazy idea - what if on a site, there was a library of blocks you could make in BYOB? If you wanted to look at the blocks you could make or wanted to see how to make a block, you could look it up on the site.  smile

But that's a bit extreme...  tongue


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#856 2010-06-25 04:27:25

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

Jonathanpb wrote:

Just a random crazy idea - what if on a site, there was a library of blocks you could make in BYOB? If you wanted to look at the blocks you could make or wanted to see how to make a block, you could look it up on the site.  smile

But that's a bit extreme...  tongue

It's not complicated, see the example of my tutorial where I try to keep a trace of my exploration of Byob :

http://www.xleroy.net/ByobTuto/thumbnails.html

On the other hand, as it is possible to export one sprite -including its scripts - it would be easy to implement a bank of blocks. Mainly for highly specialized matters (multi-player for example).

But we still hope than soon the Scratch team will adopt and endorses Byob, because Scratch already provides an excellent solution by offering all the applications (more then one million !) with sources which can be downloaded by everyone to find models of scripts and borrow a lot of excellent ideas. !

Offline

 

#857 2010-06-25 10:50:18

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

Re: BYOB 3 - Discussion Thread

2.99.024, another bug fixing release.

Hi!


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

Offline

 

#858 2010-06-26 04:10:14

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

@ bharvey

I've an application where I need to save several lists of coordinates. I can now export them into a text file "manually" (right click etc). I would like to know if, and if yes how, Byob has one solution (*) to export/import text lists (by the way a list of list can't be exported like that, even manually. It gives a list of "pointers". It is not a problem as these coordinates can be transposed into a text file.



(*)
1 -  bharvey, you have already answered, see the "streams". But I've not at all understood how to use this to achieve what I'm asking for.
2 - you told that this issue is not so easy to implement, as it is related to the OS, OK for an interactive application, but probably not for an import/export feature.
3- It's just a question,nothing else, because I consider that -to play only with the available tools - is part of the game and of the discipline of programming in Scratch/Byob. I'm now looking how to transpose in Scratch applications initially developed in Byob. It can be long and tricky, but it is maneagable. The programming limits of Scratch and even more Scratch+Byob are already very, very high !!!

Offline

 

#859 2010-06-26 07:16:46

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: BYOB 3 - Discussion Thread

As I've said, two features that are necessary are a way to name a script, and on the (x position of sprite1) block, a way to access them.

Offline

 

#860 2010-06-26 09:27:37

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

Re: BYOB 3 - Discussion Thread

xly wrote:

I would like to know if, and if yes how, Byob has one solution to export/import text lists (by the way a list of list can't be exported like that, even manually.)

I think probably no for 3.0, yes for 3.1.  Definitely non-text values should survive save/load, and if we can do that we can also do import/export.


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

Offline

 

#861 2010-06-26 09:29:35

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

Re: BYOB 3 - Discussion Thread

Jonathanpb wrote:

Just a random crazy idea - what if on a site, there was a library of blocks you could make in BYOB? If you wanted to look at the blocks you could make or wanted to see how to make a block, you could look it up on the site.  smile

Well, you know, we already have a small collection of user projects on the site, and there's no reason we couldn't include any tutorial projects or specialized tool collections that anyone wanted to contribute.


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

Offline

 

#862 2010-06-26 09:32:15

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

Re: BYOB 3 - Discussion Thread

Billybob-Mario wrote:

As I've said, two features that are necessary are a way to name a script, and on the (x position of sprite1) block, a way to access them.

You can already say

SET <var> TO [THE SCRIPT [...]]

so we can give names to headless scripts.  All that's missing is a way to include a hat block in a named script.  That's on the wish list, but I still don't see why it's such a big deal unless you want to construct a sprite out of pieces.


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

Offline

 

#863 2010-06-27 01:35:25

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Jonathanpb wrote:

Just a random crazy idea - what if on a site, there was a library of blocks you could make in BYOB? If you wanted to look at the blocks you could make or wanted to see how to make a block, you could look it up on the site.  smile

Well, you know, we already have a small collection of user projects on the site, and there's no reason we couldn't include any tutorial projects or specialized tool collections that anyone wanted to contribute.

Okay!  big_smile   big_smile   big_smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#864 2010-06-27 11:58:30

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Well, you know, we already have a small collection of user projects on the site, and there's no reason we couldn't include any tutorial projects or specialized tool collections that anyone wanted to contribute.

This would be a lot easier to accomplish if sprites only exported the blocks that they specifically use...consider this a feature request  smile


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#865 2010-06-27 12:33:12

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

bharvey wrote:

specialized tool collections that anyone wanted to contribute.

This would be a lot easier to accomplish if sprites only exported the blocks that they specifically use

I'm confused.  I can see how other problems might be solved more easily, but a tool collection explicitly wants to export blocks it doesn't use.

A one-size-fits-all solution might require something like remembering which sprite contributed each global block, and being able to say "export only the ones I contributed."


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

Offline

 

#866 2010-06-27 12:59:31

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

fullmoon wrote:

bharvey wrote:

specialized tool collections that anyone wanted to contribute.

This would be a lot easier to accomplish if sprites only exported the blocks that they specifically use

I'm confused.  I can see how other problems might be solved more easily, but a tool collection explicitly wants to export blocks it doesn't use.

A one-size-fits-all solution might require something like remembering which sprite contributed each global block, and being able to say "export only the ones I contributed."

I still think the simplest solution would be what I described above. If someone needed to collect some blocks into a sprite to export them, they could just drag the blocks into the sprite's script area...or better yet, make a library reporter that simply contains all the other blocks.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#867 2010-06-27 14:02:29

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

I still think the simplest solution would be what I described above. If someone needed to collect some blocks into a sprite to export them, they could just drag the blocks into the sprite's script area...or better yet, make a library reporter that simply contains all the other blocks.

Oh, I see.  Yes, that would work.  Thanks.


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

Offline

 

#868 2010-06-27 21:28:30

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

Re: BYOB 3 - Discussion Thread

You could also open an exported sprite in a separate instance of BYOB and just delete all custom block definitions in there that you don't want in you target project, then save it under a different name and import it into the target project  smile


Jens Mönig

Offline

 

#869 2010-06-28 05:00:17

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

Jens wrote:

You could also open an exported sprite in a separate instance of BYOB and just delete all custom block definitions in there that you don't want in you target project, then save it under a different name and import it into the target project  smile

Hi Jens ...Theorically correct, but each time I have tried to export a sprite, just to test this "block-sharing" feature I've got an error message.

I shall investigate further on and report.

Offline

 

#870 2010-06-28 05:11:47

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

xly wrote:

I shall investigate further on and report.

Error message is "Could not write file. Export failed"
The error occurs both with FILE/EXPORT SPRITE and CLICK-RIGHT/EXPORT commands
Up to now I can only export the sprite image from the COSTUME tab.

This seems to be a recent error, because in the past I have already succeeded to export a sprite, but never to re-import it.

This very promising feature need to be evaluated further on

xly

Offline

 

#871 2010-06-28 05:31:54

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

xly wrote:

This very promising feature need to be evaluated further on
xly

I can easily import and re-export sprites I had previously saved some weeks ago, but not sprites created last week ( I'm 2.99.024 )

xly

Offline

 

#872 2010-06-28 06:08:09

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

Re: BYOB 3 - Discussion Thread

Hi Xavier, I just tried to reproduce this error (exporting a sprite fails and raises an exception), but was unable so. I'd really love to find out what's wrong, so could you perhaps send me the project that's causing this problem, or point me to a link where I can find it?

Thanks for all the relentless testing, you're fantastic!


Jens Mönig

Offline

 

#873 2010-06-28 10:29:39

TheExternal
Scratcher
Registered: 2008-11-04
Posts: 54

Re: BYOB 3 - Discussion Thread

hey, sorry to be off topic or anything... but where are you originally posting the updates for BYOB? could you give a link? thanks.
                              -TheExternal


http://i37.tinypic.com/2jdp99s.png
The funniest thing about this quote is that by the time you realize it doesn't say anything of importance, it's too late to stop reading it.

Offline

 

#874 2010-06-28 11:20:07

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

Re: BYOB 3 - Discussion Thread

The official distro site for BYOB 3 is:

byob.berkeley.edu


Jens Mönig

Offline

 

#875 2010-06-28 11:55:44

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

Jens wrote:

Hi Xavier, I just tried to reproduce this error (exporting a sprite fails and raises an exception), but was unable so.

I'm not particularly chasing the bugs, but I've the impression that they come toward me - like an abandoned dog looking for somebody to take care of it !

By the way I've found another bug related to "sprite savings" . No error message during the "export" , but the file exported is empty ! I guess that these bugs are more or less related to mismatching between local/global variables and "imported functions" like Byob tools.

The principle of Byob block-sharing is excellent and very exciting but it probably need some discipline and rules to do this correctly. It' is an easy task compared to what you are doing with Brian.

Offline

 

Board footer