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

#2726 2011-02-10 21:42:00

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

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!

tongue  Maybe we can figure something out. A live international conference sounds pretty cool...

Offline

 

#2727 2011-02-10 21:43:01

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

maybe I can convince nXIII to make a BYOB project upload site...  tongue

You know, we (folks at Berkeley) keep talking about wanting to do that.  But in these paranoid days it's only a matter of time until someone uploads a project full of pornographic pictures, and then some parent will have a fit, and the next thing you know we're all arrested or sued or something.  MIT puts this huge effort into policing the Scratch site that we couldn't match.  So, it's not convincing nXIII to write the code; that's the easy part.  It's convincing nXIII's parents that they want to take on that kind of liability.

What we're going to do soon, I hope, is allow for local sharing sites, just using scp.


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

Offline

 

#2728 2011-02-10 21:46:59

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

Re: BYOB 3 - Discussion Thread

Hmm... I wish there was an alternative. But I guess you're right, we don't have the resources. Maybe we just authorize certain people to upload projects...?

Offline

 

#2729 2011-02-10 22:03:48

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

Re: BYOB 3 - Discussion Thread

EvilGenius wrote:

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

We actually had a long discussion about this.  We started with different opinions and each of us convinced the other.  smile   (Really!) 

We're thinking that people will want to make a bunch of children of a sprite, and then be able to tell them all what to do, so you'll say

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

(CASCADE is in the tools project) and then use FOR EACH (also a tool) to send a message to all the children.

P.S. You can use the IGNORE tool to ignore the reported value if you don't need a handle on the child.

P.P.S.  We're planning to eliminate the dropdown menu in CLONE, so it'll just clone the sprite that runs it, and you'll have to use OF to clone a different sprite, same as anything else you want to do to a different sprite.


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

Offline

 

#2730 2011-02-10 22:10:25

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Maybe we just authorize certain people to upload projects...?

Ooh, a can of worms.  I mean, there are half a dozen of you whom I feel I know really well, but we've just gained several new regulars in this thread, who are interested and would certainly want to be included -- but, just for example, how do I know if someone who calls himself EvilGenius really means it?  hmm

EDIT: Or, for that matter, someone who calls himself 14God; for all I really know, they're equally likely to be pornographers.

P.S. And, legally, you're more likely to get in trouble if you /try/ to keep the site clean and fail than if you don't even try, but just wait for problems to come to your attention through complaints.  Lawyers are weird, present company excepted, of course.  tongue

P.P.S.  Don't worry, I don't really think either of you is a bad guy.  smile

Last edited by bharvey (2011-02-10 23:32:17)


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

Offline

 

#2731 2011-02-10 23:29:15

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

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?

Bump!


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

Offline

 

#2732 2011-02-10 23:36:05

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

Re: BYOB 3 - Discussion Thread

It would be cool if you could pass an argument to the '() key pressed?' 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

 

#2733 2011-02-10 23:59:22

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

bharvey wrote:

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?

Bump!

I am of the opinion that Operators should remain free of command blocks. One vote for Variables.


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

Offline

 

#2734 2011-02-11 00:01:11

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

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?

I would have to vote for the set block being put in variables because all attributes are technically variables. Also I think clone should be put back under control because its more of a command then a reporter. Since delete deals mostly with deleting an object I think it should be under control. Maybe you should have a separate inherit block under variables.

We're planning to eliminate the dropdown menu in CLONE, so it'll just clone the sprite that runs it, and you'll have to use OF to clone a different sprite, same as anything else you want to do to a different sprite.

Plz don't delete the drop down for convenience sake.

Last edited by 14God (2011-02-11 00:03:40)


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

Offline

 

#2735 2011-02-11 00:15:10

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

Re: BYOB 3 - Discussion Thread

If I were being really picky, I might argue that THE SCRIPT and THE BLOCK don't belong in Operators either...they should join their cousin, the first-class list constructor, in the Variables palette. But please don't change this, since I like the green Operators color much better than red.  tongue

14God wrote:

Plz don't delete the drop down for convenience sake.

I agree.


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

Offline

 

#2736 2011-02-11 00:49:41

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

Re: BYOB 3 - Discussion Thread

14God wrote:

It would be cool if you could pass an argument to the '() key pressed?' block.

The argument would be a one-character text string?


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

Offline

 

#2737 2011-02-11 01:33:40

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

14God wrote:

It would be cool if you could pass an argument to the '() key pressed?' block.

The argument would be a one-character text string?

yeah


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

Offline

 

#2738 2011-02-11 03:35:55

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

Re: BYOB 3 - Discussion Thread

14God wrote:

bharvey wrote:

14God wrote:

It would be cool if you could pass an argument to the '() key pressed?' block.

The argument would be a one-character text string?

yeah

Some instructions like <Broadcast>, <OF>, <Object> accept "composed strings" input like <join Sprite + n°> but not the following : <When received ...>, <Delete>, <Clone>

Offline

 

#2739 2011-02-11 03:40:19

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Question:

Could you make a:
When [Greenflag, _ Key pressed, Sprite pressed?]

I don't know i it's possible, i'm using it for RKT

Last edited by ssss (2011-02-11 03:40:58)


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#2740 2011-02-11 04:31:15

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

Re: BYOB 3 - Discussion Thread

I think the first thing I'm gunna do with the faster BYOB 4.0 is make a game where you get a lightning gun (recursive and slow).


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

Offline

 

#2741 2011-02-11 06:29:04

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've fixed the issue. Everything is available for the moment.

Offline

 

#2742 2011-02-11 10:27:14

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

Re: BYOB 3 - Discussion Thread

A new experimental build and sample project:

Jens wrote:

This weekend build

- lets you delete variables via the DELETE block,
- updates watcher colors (ghosting / unghosting) in presentation mode

Sorry if development seems somewhat sluggish, but we're quite figuratively turning every stone of the Scratch source code around for this insanity  smile

Enjoy!
--Jens


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

Offline

 

#2743 2011-02-11 10:37:36

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

Re: BYOB 3 - Discussion Thread

xly wrote:

Some instructions like <Broadcast>, <OF>, <Object> accept "composed strings" input like <join Sprite + n°> but not the following : <When received ...>, <Delete>, <Clone>

In the case of Delete and Clone, the input isn't supposed to be the name of something, but rather the thing itself, or rather its getter block.  So let's say FOO is a variable; you say DELETE [THE [FOO] BLOCK] to delete it.  For a sprite, you say DELETE [OBJECT [Sprite23]] or, more likely, you have a variable whose value is that sprite (kept when you made it in the first place) and you DELETE [MYVAR].  So if anything, it's OBJECT that should take a text string input, not DELETE or CLONE.

Pedagogically (and remember, we're in the business of teaching college students computer science here), we want to wean people away from using names and instead get familiar with first class objects.  So, you're building an Adventure game; you don't make a list of the names of the things in this room, but rather a list of the things themselves.  This is better because if you have the things and need the names, you can

Code:

MAP [[ATTRIBUTE <NAME>] OF < >] OVER <objlist>

whereas if you have the names and need to send the things a message, you're out of luck.

P.S. Another problem with names is that Scratch allows two things of different types to have the same name,  So, e.g., you can have a sprite Sprite23 and also a variable Sprite23, and a block like DELETE that can delete a sprite or delete a variable won't know which you meant if you just give it a name.

Last edited by bharvey (2011-02-11 10:44:13)


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

Offline

 

#2744 2011-02-11 10:39:41

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

Re: BYOB 3 - Discussion Thread

ssss wrote:

Could you make a:
When [Greenflag, _ Key pressed, Sprite pressed?]

We are planning to add a general WHEN <predicate> hat block, into which you can drag any predicate function you want.  This should solve all these problems about inflexible WHEN conditions, I hope.


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

Offline

 

#2745 2011-02-11 11:41:18

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

Re: BYOB 3 - Discussion Thread

Thanks to everyone who answered my DELETE question.  Your responses gave us an eye-opening view of how differently you understand the palette categories from each other and from us!  The bad news is that there's no clear winner -- you're just as confused about this question as I am.  smile   Back to the drawing board....


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

Offline

 

#2746 2011-02-11 11:49:40

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

If I were being really picky, I might argue that THE SCRIPT and THE BLOCK don't belong in Operators either...they should join their cousin, the first-class list constructor, in the Variables palette. But please don't change this, since I like the green Operators color much better than red.  tongue

It wouldn't be red; procedures aren't lists.  If we thought this way about it, and I admit it's a good argument, we'd have to invent a fourth color to cram into that palette--brown or silver or something--to represent procedures.  And a fifth color to represent objects.  Then the name of the tab would be Data.

Or we could bite the bullet and start a fifth row of tabs, to make ten palettes.  Because it's bad if the Variables tab gets infinitely long, like the Control tab.


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

Offline

 

#2747 2011-02-11 12:18:23

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

A new experimental build and sample project:

Jens wrote:

This weekend build

- lets you delete variables via the DELETE block,
- updates watcher colors (ghosting / unghosting) in presentation mode

Sorry if development seems somewhat sluggish, but we're quite figuratively turning every stone of the Scratch source code around for this insanity  smile

Enjoy!
--Jens

-_- I just updated 5 minutes ago and now there's another one...


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#2748 2011-02-11 12:44:00

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

Re: BYOB 3 - Discussion Thread

MathWizz wrote:

-_- I just updated 5 minutes ago and now there's another one...

The release schedule would make perfect sense if you lived in Germany!  smile


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

Offline

 

#2749 2011-02-11 15:18:25

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

EDIT: Or, for that matter, someone who calls himself 14God;

Let me clarify, the name was meant to be 'one for God' It wasn't me calling myself God  wink  My Sister thought that would be confusing & I guess I shoulda believed her  smile

Last edited by 14God (2011-02-11 15:19:58)


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

Offline

 

#2750 2011-02-11 15:56:14

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

Re: BYOB 3 - Discussion Thread

This really isn't very related to the features most recently added to BYOB but I liked it so much I had to show you guys:

http://byobshack.weebly.com/uploads/6/1/2/8/6128979/2008222.jpg

(click the picture to download the project)

Last edited by 14God (2011-02-11 15:57:19)


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

Offline

 

Board footer