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

#2701 2011-02-09 19:00:23

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

Re: BYOB 3 - Discussion Thread

henley wrote:

lol, the everyday life of a BYOB forum thread

Hi, henley!  Long time no see.


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

Offline

 

#2702 2011-02-09 19:59:33

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

Re: BYOB 3 - Discussion Thread

Fast and furious, another experimental release:

Jens wrote:

This development release contains the second pass over the new generalized object interface mechanism (I had to rewrite every single Scratch primitive for this), and should now work for all graphic effects as well, including inheritance. Some attributes are still missing and will be added shortly. The experimental STICK TO block has been turned into an attribute, and sprite-owned variables now also indicate their inheritance status by appearing ghosted in the palette (deleting them throught the DELETE block doesn't yet work).

--Jens


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

Offline

 

#2703 2011-02-09 21:37:43

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

Re: BYOB 3 - Discussion Thread

Yeah, I've been away from Scratch for a while. Mostly school work, iPhone, and sometimes stencyl.

BYOB has improved a lot from when I last checked up on it. Doing great now! I'll download the experimental, then play around with it for a while, then go to BEE EEE DEE!!  wink


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

Offline

 

#2704 2011-02-09 21:45:54

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

Re: BYOB 3 - Discussion Thread

The (attribute [ V] of [ V]) block is awesome along with all of the others, but what does "prototype" do?

And the "anchor" on the new [set [ V] to [ ]] block.

OMG bed time.

Good night everyone!


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

Offline

 

#2705 2011-02-09 22:19:48

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

Re: BYOB 3 - Discussion Thread

henley wrote:

The (attribute [ V] of [ V]) block is awesome along with all of the others, but what does "prototype" do?

And the "anchor" on the new [set [ V] to [ ]] block.

"Prototype" is a leftover old name -- it should say  "parent."  The big new feature in this release is clonable first class sprites.  If you make a clone of a sprite (using the CLONE block or the to-be-renamed "spawn" item in the sprite's context menu) then the original sprite is the parent of the new one, and the new one is a child of the original.

By default, children /share/ local variables ("for this sprite only") with their parent.  But if a child SETs such a variable, it gets its own private copy.  (It can ask the parent to set the variable if it wants to keep sharing.)  By default, children /do not share/ built-in sprite attributes such as X POSITION and DIRECTION, but if a child DELETEs its own attribute, it then shares with its parent.

"Anchor" is the name for the sprite to which other sprites, its "parts," are attached using the sprite nesting feature.


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

Offline

 

#2706 2011-02-10 00:26:31

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

I think you should add object to the 'is (any) a (type)?' block.


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2707 2011-02-10 00:45:04

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

Re: BYOB 3 - Discussion Thread

14God wrote:

I think you should add object to the 'is (any) a (type)?' block.

Absolutely.  It's on the list.

There are a bunch of little UI details that aren't quite coherent yet, but the basic mechanisms are pretty much in place at this point.  There shouldn't be two SET blocks; there shouldn't be two OF blocks.  Things like that need to be smoothed out.

And then we get to start on the costume and sound plans!  smile

P.S.  Hey, everybody, what's your opinion about having a command block (namely DELETE) in the Operators menu?  The object stuff is mostly there because it's about data, like the text operations and the numeric operations.  The other current command block there, namely SET, should, I think, be merged into the Variables SET block.  Should DELETE be under Variables, too?  It isn't exactly about variables, although you will be able to delete variables with it, among other things, but mainly it's about sprites.  What's your vote on where to put it?

Last edited by bharvey (2011-02-10 00:50:22)


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

Offline

 

#2708 2011-02-10 04:19:22

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

Re: BYOB 3 - Discussion Thread

@ bharvey, Jens and other byobers...

See my project using the "before last Byob features" at ...
http://www.xleroy.net/ByobTuto/thumbnails.html

Offline

 

#2709 2011-02-10 15:58:37

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

How many times faster do you expect JavaScript Morphic to make BYOB?


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2710 2011-02-10 16:09:26

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

Re: BYOB 3 - Discussion Thread

14God wrote:

How many times faster do you expect JavaScript Morphic to make BYOB?

For certain kinds of projects the current BYOB is fast enough, but for other kinds, especially ones that use a lot of recursive reporters, it's currently /really/ slow.  What's going to make 4.0 faster isn't just that it's written in a different language, but that we're going to make evaluation a separate process from display.  Results from intermediate calls to reporters that never actually get stored as a permanent variable don't have to be displayed at all, so we can evaluate them much faster.  For that kind of project, I'd be surprised if we can't make it 20 times faster!  But for projects that are mostly commands where each step has to be visible on the stage, it won't be that much faster than now.  At least that's my guess.


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

Offline

 

#2711 2011-02-10 16:20:38

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

For certain kinds of projects the current BYOB is fast enough, but for other kinds, especially ones that use a lot of recursive reporters, it's currently /really/ slow.  What's going to make 4.0 faster isn't just that it's written in a different language, but that we're going to make evaluation a separate process from display.  Results from intermediate calls to reporters that never actually get stored as a permanent variable don't have to be displayed at all, so we can evaluate them much faster.  For that kind of project, I'd be surprised if we can't make it 20 times faster!  But for projects that are mostly commands where each step has to be visible on the stage, it won't be that much faster than now.  At least that's my guess.

20? (Jaw Drops) Thats incredibly fast!!!
Edit: Will then pen be fast enough for wire frame games?

Last edited by 14God (2011-02-10 16:24:14)


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2712 2011-02-10 16:25:48

meeyou
Scratcher
Registered: 2011-01-16
Posts: 19

Re: BYOB 3 - Discussion Thread

wink

Offline

 

#2713 2011-02-10 16:27:49

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

xly wrote:

@ bharvey, Jens and other byobers...

See my project using the "before last Byob features" at ...
http://www.xleroy.net/ByobTuto/thumbnails.html

Where are all your other BYOB projects? Did you delete them?


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2714 2011-02-10 17:07:12

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

Re: BYOB 3 - Discussion Thread

Just thought I'd let everyone know that the BYOB's public release anniversary is April 25. We should all prepare something to celebrate it...

Offline

 

#2715 2011-02-10 17:25:06

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

Re: BYOB 3 - Discussion Thread

14God wrote:

xly wrote:

@ bharvey, Jens and other byobers...

See my project using the "before last Byob features" at ...
http://www.xleroy.net/ByobTuto/thumbnails.html

Where are all your other BYOB projects? Did you delete them?

I feel that with the new Byob developments my former projects look terribly old-fashioned !

Offline

 

#2716 2011-02-10 18:16:55

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Just thought I'd let everyone know that the BYOB's public release anniversary is April 25. We should all prepare something to celebrate it...

How bout we put up a bunch of Scratch projects that advertise BYOB's latest features.


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2717 2011-02-10 18:18:34

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

xly wrote:

I feel that with the new Byob developments my former projects look terribly old-fashioned !

Is there somewhere we can still see them like an archive or something?

Last edited by 14God (2011-02-10 18:19:02)


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2718 2011-02-10 19:45:51

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

Re: BYOB 3 - Discussion Thread

14God wrote:

shadow_7283 wrote:

Just thought I'd let everyone know that the BYOB's public release anniversary is April 25. We should all prepare something to celebrate it...

How bout we put up a bunch of Scratch projects that advertise BYOB's latest features.

Good idea! In addition, maybe I can convince nXIII to make a BYOB project upload site...  tongue

Offline

 

#2719 2011-02-10 19:47:31

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Good idea! In addition, maybe I can convince nXIII to make a BYOB project upload site...  tongue

Yeah that would be awesome.


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2720 2011-02-10 19:55:54

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: BYOB 3 - Discussion Thread

14God wrote:

shadow_7283 wrote:

Good idea! In addition, maybe I can convince nXIII to make a BYOB project upload site...  tongue

Yeah that would be awesome.

Mod Share....?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#2721 2011-02-10 20:46:58

EvilGenius
Scratcher
Registered: 2010-01-02
Posts: 14

Re: BYOB 3 - Discussion Thread

Why is clone of a reporter, when it performs an action more like a command?

Offline

 

#2722 2011-02-10 21:03:58

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

EvilGenius wrote:

Why is clone of a reporter, when it performs an action more like a command?

It reports a reference to the object you just created so that you can say something like this:

Code:

set child to [(clone[myself])]
move 80 steps
say distance to child

http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2723 2011-02-10 21:26:52

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

Re: BYOB 3 - Discussion Thread

You guys are amazing!  Thanks for all the encouragement.  And for a reward  smile  you get another experimental build!

Jens wrote:

Mostly UI stuff without language enhancements today.

Tonight's build adds some more attributes (some of which are still r/o, and some cannot be inherited), and completes "ghosting" of all blocks representing inherited (= deleted) attributes in clones:

    - built-in attributes (xPos, yPos etc)
    - sprite-owned variables and lists
    - sprite-owned custom blocks

I've changed the coloring of inherited blocks in the palette from "zebra color" (which also contrasts the blocks label from white to black)  to just lighter, so the whole block appears ghosted instead of contrasted.

Stage watchers - both for built-in attributes and for variables - now also change their color to reflect any changes in their attributes' inheritance status (although variables cannot yet be deleted through the DELETE block").

Enjoy!
--Jens


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

Offline

 

#2724 2011-02-10 21:28:39

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

Re: BYOB 3 - Discussion Thread

14God wrote:

20? (Jaw Drops) Thats incredibly fast!!!

No, sadly, what it means is that the speed will change from excruciating to okay.

Edit: Will then pen be fast enough for wire frame games?

Dunno.  I hope so, but I think games are more command-limited than reporter-limited so the speedup will be less dramatic.

Last edited by bharvey (2011-02-10 21:29:05)


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

Offline

 

#2725 2011-02-10 21:37:12

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Just thought I'd let everyone know that the BYOB's public release anniversary is April 25. We should all prepare something to celebrate it...

PARTY!! At shadow's house!

Oh... that isn't what you meant?  Darn.  Maybe we could arrange a Skype conference call or something.  (The tricky part will be finding a time when Jens and I are both awake.)

I really wish I could just bring everyone to Berkeley and we could have the party at the Computer Science building.

And, wow, amazing that it's been a year.  Although I can only dimly remember that there was a time when BYOB wasn't the focus of my life!


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

Offline

 

Board footer