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
Offline
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!!
Offline
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!
Offline
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.
Offline
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!
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)
Offline
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.
Offline
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)
Offline
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?
Offline
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
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.htmlWhere 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
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.
Offline
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)
Offline
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...
Offline
14God wrote:
shadow_7283 wrote:
Good idea! In addition, maybe I can convince nXIII to make a BYOB project upload site...
Yeah that would be awesome.
Mod Share....?
Offline
Why is clone of a reporter, when it performs an action more like a command?
Offline
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:
set child to [(clone[myself])] move 80 steps say distance to child
Offline
You guys are amazing! Thanks for all the encouragement. And for a reward 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
Offline
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)
Offline
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!
Offline