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

#226 2010-04-29 06:40:52

beetle16
Scratcher
Registered: 2010-03-28
Posts: 9

Re: BYOB 3 - Discussion Thread

Hi Brian and Jens!

As a result of a mere chance I got a certificate from Gobo  big_smile

Thank you!

Beetle16

Offline

 

#227 2010-04-29 06:42:47

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

Re: BYOB 3 - Discussion Thread

About Gobo's hairstyle:  If you listen carefully to the "full movie" project at http://byob.berkeley.edu, while looking at byob-Gobo, you'll get a clue.  smile


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

Offline

 

#228 2010-04-29 06:53:03

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

Re: BYOB 3 - Discussion Thread

On another subject: Two different colleagues have told me recently that things I've said gave the impression that I have an "us against them" attitude toward Scratch.  So I want to say to the whole community that that's not the case!  I am in awe of the brilliance, the sensitivity, the attention to detail, and the sheer fun of Scratch and the Scratch Team.  We have one tiny disagreement, I think, about the separate "scratch4cs" idea they proposed -- as I've been saying a lot recently, I hate the idea of splitting the community as that would do.  Everyone at MIT has been friendly, helpful, and welcoming toward the BYOB project.  (And, by the way, the central ideas in BYOB 3 /come from/ MIT in the first place!  See the credits at the end of the movie on the byob web page.)


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

Offline

 

#229 2010-04-29 10:56:23

tobydanger
Scratcher
Registered: 2010-03-18
Posts: 22

Re: BYOB 3 - Discussion Thread

I totally agree about the splitting thing. I personally want us all to be able to post our projects to the same website. That is my major concern. One Scratch4All !

Offline

 

#230 2010-04-29 12:17:21

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

Re: BYOB 3 - Discussion Thread

I can't import any of my sprites into BYOB 2.99! Any idea why?

P.s.
Is this a glitch http://img249.imageshack.us/img249/2199/glitchposs.png
http://img249.imageshack.us/img249/2199/glitchposs.png

Last edited by markyparky56 (2010-04-29 12:36:14)


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

 

#231 2010-04-29 13:17:21

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

Re: BYOB 3 - Discussion Thread

markyparky56 wrote:

I can't import any of my sprites into BYOB 2.99! Any idea why?

Have you downloaded 2.99.003?  There was a bug about importing sprites that should be fixed now.

markyparky56 wrote:

Is this a glitch
http://img249.imageshack.us/img249/2199/glitchposs.png

It's a known limitation, let's put it that way.  hmm   The AS TEXT block is more a Scratch-1.4-compatibility kludge than a carefully planned feature; the block called LIST in Scratch is translated into this block when a Scratch project is loaded into BYOB.  We have recycled the name LIST for the reporter that constructs a new list.  So AS TEXT works well only for Scratch 1.4 lists, in which the elements can only be text, not sublists.  (And even for those, if we were designing an AS TEXT feature it would put spaces between the items!  But we didn't want to break Scratch projects that depend on the current behavior.)


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

Offline

 

#232 2010-04-29 14:06:24

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

markyparky56 wrote:

I can't import any of my sprites into BYOB 2.99! Any idea why?

Have you downloaded 2.99.003?  There was a bug about importing sprites that should be fixed now.

markyparky56 wrote:

Is this a glitch
http://img249.imageshack.us/img249/2199/glitchposs.png

It's a known limitation, let's put it that way.  hmm   The AS TEXT block is more a Scratch-1.4-compatibility kludge than a carefully planned feature; the block called LIST in Scratch is translated into this block when a Scratch project is loaded into BYOB.  We have recycled the name LIST for the reporter that constructs a new list.  So AS TEXT works well only for Scratch 1.4 lists, in which the elements can only be text, not sublists.  (And even for those, if we were designing an AS TEXT feature it would put spaces between the items!  But we didn't want to break Scratch projects that depend on the current behavior.)

Ok, I understand.and ill download the latest version. I didn't realize there was a bug fix.


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

 

#233 2010-04-29 15:14:11

Kingdaro
Scratcher
Registered: 2008-06-08
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Kingdaro wrote:

Is there any way you can run an entire list of scripts all at once?

Or better yet, add 4 to all the values in a list all at once? The atomic feature is slow.

There isn't any magic in computers; no matter how you program it, unless you have a superscalar processor that does lots of similar arithmetic operations in parallel, it's going to take time proportional to the length of the list to do anything to every item.

But in terms of programming convenience, in tools.sb you'll find MAP.  Just say

   MAP   [< > + <4>] OVER <my-list>

... but when you're dragging the + block onto the MAP block, after you see the white halo, before you let go of the mouse button, move in a little closer, until the white halo goes away and instead you see a grey border around the + block.  /Then/ let go.

Alternative if you don't like that user interface:

  MAP [THE [< > + <4>] BLOCK] OVER <my-list>

THE BLOCK is down at the bottom of the Operators menu.  The grey-border thing is a shortcut for THE BLOCK.  This will all be explained in tutorial #2, which I'm supposed to be writing right now instead of answering forum messages.  smile   (But this is fun!)

Kingdaro wrote:

Also, sometimes the custom blocks don't work in presentation mode.

Okay, this makes three times today, I think, that I've had to respond the same way to a bug report, so don't take it personally when I start shouting.  HEY, GANG, WE REALLY APPRECIATE BUG REPORTS, BUT IT'S VERY HARD TO EVALUATE AND REPRODUCE A BUG IF THE REPORT SAYS "SOMETIMES" INSTEAD OF GIVING DETAILS!

There, now I feel better.  smile   So, what does your custom block do, and how does it fail -- error message, wrong value computed, right value displayed at the wrong scale, sprite does/doesn't go offscreen...  etc.  Thanks!
A screenshot might be best of all if it's hard to explain in words just what happens.

I forgot about the map block. Thanks.  big_smile

Also, here are the custom blocks that don't work in presentation:

http://img52.imageshack.us/img52/1833/block3.gif
http://img706.imageshack.us/img706/8089/block2.gif
http://img175.imageshack.us/img175/9413/block1.gif


If you haven't figured it out, I'm making a DDR simulator. :3
You know what, that map block would do the same thing. -.-

My point is that in Lua, when you do a for loop, it does everything literally instantly in the given parameters. "for i=1, 10000 do", even that would happen instantly.

Last edited by Kingdaro (2010-04-29 15:38:33)

Offline

 

#234 2010-04-29 15:47:33

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

HEY, GANG, WE REALLY APPRECIATE BUG REPORTS, BUT IT'S VERY HARD TO EVALUATE AND REPRODUCE A BUG IF THE REPORT SAYS "SOMETIMES" INSTEAD OF GIVING DETAILS!

There, now I feel better.  smile

Rofl.


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

Offline

 

#235 2010-04-29 15:50:33

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

As of just now, the BYOB.image on http://byob.berkeley.edu is 2.99.003, fixing most of the bugs reported here in the past week.  We haven't updated the complete packages; just download the image and replace the one in the package you already have.  Thanks again to everyone who's been testing BYOB!

(If you're wondering, 001 and 002 weren't posted because we weren't sure they really worked.)  smile

Yay!


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

Offline

 

#236 2010-04-29 18:20:39

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

shadow_7283 wrote:

I need a global variable for the blocks I am building. Is this possible (without having the block avaliable to sprites)?

I see, you want a variable that's hidden, but shared among several blocks.  *Yes* (I'm happy to say it because I've had to say "no" or "maybe" too much lately) BYOB 2.99 can do that!

http://cs.berkeley.edu/~bh/secret.gif

To use these procedures you say RUN[spritevar1]
etc.  Nobody else can see secretvar except via the two procedures.

Is this what you wanted?

Yeah, thanks. I'm still working out those new blocks!  big_smile

Offline

 

#237 2010-04-29 19:41:35

ElectricSparx
Scratcher
Registered: 2008-02-16
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ElectricSparx wrote:

Umm, Brain,

smile  People have been misspelling my name that way since I joined the Cub Scouts 52 years ago and that's what they put on my membership card.  It was a refreshing change when I first went to Australia and met someone who /pronounced/ my name "Brawn"!  smile

ElectricSparx wrote:

your custom made blocks don't work if you use them in the block editor.

Uh, they do for me, so you'll have to be more specific.  What did you try, exactly, and what happened?  Thanks!

I used the "repeat while" block and it gave me an error whenever I moused over the block.


Lead Developer for Scratch Adventure

Offline

 

#238 2010-04-29 19:43:18

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

About Gobo's hairstyle:  If you listen carefully to the "full movie" project at http://byob.berkeley.edu, while looking at byob-Gobo, you'll get a clue.  smile

I watched 20 minutes of stuff that I only understood a small fraction of, just to realize what I already knew . . . his spike was moved.

Why do you have to be so secritive about this?


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#239 2010-04-29 19:46:17

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens, whyy does it show you are not part of the SCratch Team?


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#240 2010-04-29 20:17:48

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

I've got a guess as to why Gobo has been changed. The antanae look kinda like a one. I'm not going to say anything further in case I am right...

Offline

 

#241 2010-04-29 20:37:11

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Does anybody know why the 'the script. Input names' block is so messed up? I mean, I'm calling it and getting scripts with input names I have deleted in the past! I am trying to do a bit of OOP but I can't get anywhere when my zero-argument methods are demanding two arguments!
(bharvey, any suggestions?)


nXIII

Offline

 

#242 2010-04-29 20:49:37

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: BYOB 3 - Discussion Thread

So, how can I set a block script?


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#243 2010-04-29 20:55:57

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Does anybody know why the 'the script. Input names' block is so messed up? I mean, I'm calling it and getting scripts with input names I have deleted in the past! I am trying to do a bit of OOP but I can't get anywhere when my zero-argument methods are demanding two arguments!
(bharvey, any suggestions?)

b-b-b-BUMP!


nXIII

Offline

 

#244 2010-04-29 21:30:25

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Dazachi wrote:

So, how can I set a block script?

Put the Operator block "the script" inside of a set variable to.

Then put your script in the script block.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#245 2010-04-29 21:31:52

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

I've got a guess as to why Gobo has been changed. The antanae look kinda like a one. I'm not going to say anything further in case I am right...

Why not, I am desperate to know and you guys are acting like it's a big secret.

JUST TELL ME I REALLY WANT TO KNOW WHY ARE YOU BEING SO SECRETIVE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#246 2010-04-29 21:44:23

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: BYOB 3 - Discussion Thread

soupoftomato wrote:

Dazachi wrote:

So, how can I set a block script?

Put the Operator block "the script" inside of a set variable to.

Then put your script in the script block.

Ok, thanks!


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#247 2010-04-30 00:21:52

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

Re: BYOB 3 - Discussion Thread

Lucario621 wrote:

The (unofficial) BYOB 3 Discussion Thread!

I think you might as well change that to "official"!  smile


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

Offline

 

#248 2010-04-30 00:25:54

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

Re: BYOB 3 - Discussion Thread

soupoftomato wrote:

Why not, I am desperate to know and you guys are acting like it's a big secret.

Oh, c'mon, soup (do your friends call you soup?), it's a game.  Play along.

First you have to work out what the shape is supposed to be (handicapped by my very primitive drawing skill) and then I think probably a bit of Wikipedia research would help.


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

Offline

 

#249 2010-04-30 00:42:01

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

Re: BYOB 3 - Discussion Thread

Kingdaro wrote:

here are the custom blocks that don't work in presentation:

I'm going to leave this part for Jens.

Kingdaro wrote:

My point is that in Lua, when you do a for loop, it does everything literally instantly in the given parameters. "for i=1, 10000 do", even that would happen instantly.

I had to look up Lua.  Looks like an interesting language, and, like BYOB3, Scheme-influenced.  smile   It may be that there's a blindingly fast Lua compiler that can iterate 10K times in the blink of an eye, but if it's running on a conventional computer (without 10K processors working at once), that blink is still 10K times as long as the blink for one iteration.

The speed problem in BYOB, as I understand it from Jens, has to do with the tight interaction between expression evaluation and managing the display.  One design principle in Scratch that we've moved away from (but that still survives in BYOB's implementation, which is mostly still Scratch) is that everything in the program should be visible onstage; this is why variable and list watchers default on.  So it made sense  in the context of Scratch to integrate computation and display, bnt if we ever rewrite it from (sorry) scratch, the two parts of the program will be separate and computation that /isn't/ visible will be much, much faster.

Jens?  You want to weigh in on this one?


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

Offline

 

#250 2010-04-30 00:45:06

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

b-b-b-BUMP!

Sorry, I'm only an adult, does this mean you've solved your own problem?


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

Offline

 

Board footer