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

#1626 2010-08-30 22:12:39

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

*bump*

I'm sorry, what are you bumping?  I think I've answered everything you've posted here.  (In one case I answered with "I don't understand" and am awaiting clarification.)


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

Offline

 

#1627 2010-08-30 22:15:34

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

shadow_7283 wrote:

*bump*

I'm sorry, what are you bumping?  I think I've answered everything you've posted here.  (In one case I answered with "I don't understand" and am awaiting clarification.)

they're bumping the topic. That's what bumping is.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#1628 2010-08-30 22:15:49

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

shadow_7283 wrote:

*bump*

I'm sorry, what are you bumping?  I think I've answered everything you've posted here.  (In one case I answered with "I don't understand" and am awaiting clarification.)

I think he just likes seeing this topic near the top of the list. It's sort of comforting.


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

Offline

 

#1629 2010-08-30 22:28:27

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

Re: BYOB 3 - Discussion Thread

Ah, I see, thanks for explaining, SRR and fullmoon.


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

Offline

 

#1630 2010-08-31 17:09:22

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

Re: BYOB 3 - Discussion Thread

@bharvey&jens

For Scratch and Byob sin 1 = 0.017452 and sin pi/4 = 0.027492
sin 1 computed with the formula 1 -1/3! +1/5! -1/7! gives 0.84147, the same number is given by Excel.

The same formula used  to calculate sin pi/4 gives 1and Scratch 0.27492
Which is the explanation ?

Offline

 

#1631 2010-08-31 17:33:11

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

Re: BYOB 3 - Discussion Thread

That's weird...

Offline

 

#1632 2010-08-31 18:40:22

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

Re: BYOB 3 - Discussion Thread

xly wrote:

@bharvey&jens

For Scratch and Byob sin 1 = 0.017452 and sin pi/4 = 0.027492
sin 1 computed with the formula 1 -1/3! +1/5! -1/7! gives 0.84147, the same number is given by Excel.

Scratch's angles are in degrees, not radians.


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

Offline

 

#1633 2010-09-01 03:28:49

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Scratch's angles are in degrees, not radians.

It's obvious Mr Watson !!

Offline

 

#1634 2010-09-01 05:12:25

DrBranes
New Scratcher
Registered: 2010-07-25
Posts: 3

Re: BYOB 3 - Discussion Thread

Scratchers!

How would one create/destroy sprites dynamically, i.e. under program control?  Is this possible in scratch?

Thanks
db

Offline

 

#1635 2010-09-01 06:15:05

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Not in Scratch but try Panther!


You can now reach me on Twitter @johnnydean1_

Offline

 

#1636 2010-09-01 14:31:24

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

Re: BYOB 3 - Discussion Thread

xly wrote:

It's obvious Mr Watson !!

To be exact :

"Excellent! I cried. "Elementary," said he. (#1)
Sherlock Holmes never said "Elementary, my dear Watson" in any of the stories by Conan Doyle. However, that phrase has been used frequently in the movies and was even mistakenly cited in Bartlett's Familiar Quotations for 1937 and 1948. The actual quotation is as follows etc

Concerning Variables defined in a "Script variables" block, they need to be initialized , elementary for variables defined as numbers, but not obvious for variables defining lists which need generally to be defined as a void list with : SET result to LIST [void] It took me a long time to learn this : I had a block always mis-returning 0 instead of the expected report list.

Offline

 

#1637 2010-09-01 14:40:31

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

Re: BYOB 3 - Discussion Thread

DrBranes wrote:

Scratchers!

How would one create/destroy sprites dynamically, i.e. under program control?  Is this possible in scratch?

Thanks
db

You need to make new blocks.

Offline

 

#1638 2010-09-01 15:44:52

DrBranes
New Scratcher
Registered: 2010-07-25
Posts: 3

Re: BYOB 3 - Discussion Thread

Thanks for the quick reply BBM.....

Hmmmm per chance does Slash have these capabilities?  Just clicked on your link, and saw a clone block!!!!  How should "meta" capabilities be classified, as control? Or should there be a new class of ops?

Now, I have another question (OK actually a LOT of questions! But I'll ask just one this time).   There seems to be a growing number of Scratches. Is there a family photo album some where so I can check out and compare the Scratch family tree?


Thanks,

db

=========
Being as technically social as possible. After all, Being "Social" is BIG these days. [And  just how old are the internet newsgroups?]

Offline

 

#1639 2010-09-01 16:45:39

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

Re: BYOB 3 - Discussion Thread

DrBranes wrote:

[And  just how old are the internet newsgroups?]

1980 or 1981, I believe, was the beginning of Usenet, which actually started as a dialup-modem point-to-point technology but quickly appeaed on the (back then) Arpanet too.  But that's from memory; I'm sure you can google "Usenet" to get all the details.


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

Offline

 

#1640 2010-09-01 17:04:10

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: BYOB 3 - Discussion Thread

DrBranes wrote:

Now, I have another question (OK actually a LOT of questions! But I'll ask just one this time).   There seems to be a growing number of Scratches. Is there a family photo album some where so I can check out and compare the Scratch family tree?

Yes, there is a website that has most of the Scratch mods on it, here.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#1641 2010-09-02 00:20:53

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

Re: BYOB 3 - Discussion Thread

Bugfix release 3.0.3 available.

Jens wrote:

* accented characters in custom block parameter names no longer become garbled when a new instance gets dragged off the var blob template

* variable setter block menus and list block menus no longer get accidentally translated


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

Offline

 

#1642 2010-09-02 01:05:16

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

Re: BYOB 3 - Discussion Thread

lol  If only Scratch got updated this often...  tongue

Getting the new version of BYOB!  big_smile

EDIT: Hey, I just noticed - the Gobo is at X position 1 and Y position -1 - shouldn't it be X position 0 and Y position 0?

Last edited by Jonathanpb (2010-09-02 01:11:43)


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

Offline

 

#1643 2010-09-02 01:35:40

DrBranes
New Scratcher
Registered: 2010-07-25
Posts: 3

Re: BYOB 3 - Discussion Thread

Thanks Guys,

Been checking out all the cool mods of Scratch! Scratchers are truly scratchin' their itches.

Thanks, bharvey,  for the net history lesson!  Actually, the question about newsgroups was a rhetorical question. I've used newgroups/USENET and Mailing Lists for years professionally. They were the "bestest" sources of tech info back "in the day".  I just wanted to point out that the Internet has been "social for awhile".  Maybe not to the scale it is today and with a very "different" clientele, but nonetheless social. Yeah, but you guys know that already. But for those out there who don't, wikipedia USENET and newsgroups for more fun and facts.

Anybody still playing text based D&D? (another rhetorical question.)

Back to the subject at hand...

Any commercial apps written in Scratch or its offsprings on the market?  Anybody thinking along commercial app line in the scratch world(s)?  I know about the iPhone/iPad situation. I've played with the Flashy/Scratchy thingy too.

I love the way I can rapid prototype ideas in scratch within a matter of hours!    There are few hiccups along the journey but the forum has been a great resource!!!

Thanks again guys! Keep up the good work!


db

Offline

 

#1644 2010-09-02 01:56:16

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

Re: BYOB 3 - Discussion Thread

DrBranes wrote:

Anybody thinking along commercial app line in the scratch world(s)?

Yes, it says here that the Panther gang are working on programming a (commercial) chip in a Scratch-like notation.


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

Offline

 

#1645 2010-09-02 01:58:50

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

Re: BYOB 3 - Discussion Thread

Jonathanpb wrote:

the Gobo is at X position 1 and Y position -1 - shouldn't it be X position 0 and Y position 0?

Yup.  Filing a bug.


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

Offline

 

#1646 2010-09-02 07:13:48

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Jonathanpb wrote:

the Gobo is at X position 1 and Y position -1 - shouldn't it be X position 0 and Y position 0?

Yup.  Filing a bug.

What bug?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#1647 2010-09-02 07:43:26

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: BYOB 3 - Discussion Thread

Can you add dictionaries to 3.1? I mean, sure, it would be easy to make a block that reports a dictionary object, but it would be nice to have something faster and which you can display on the stage. All I think you would really have to do is turn the cellMorphs variable in ScratchListMorph to a dictionary, and edit the class as nesecary. I got the idea from here.


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#1648 2010-09-02 08:10:41

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

Re: BYOB 3 - Discussion Thread

Jonathanpb wrote:

EDIT: Hey, I just noticed - the Gobo is at X position 1 and Y position -1 - shouldn't it be X position 0 and Y position 0?

I've always thought that was weird, but doesn't it happen with most mods? I think the vanilla source code has the non-scratch cat at (1,1) as the default sprite. Maybe the Scratch team think they have exclusive rights to the point (0,0)  big_smile


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

Offline

 

#1649 2010-09-02 08:46:09

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

Maybe the Scratch team think they have exclusive rights to the point (0,0)  big_smile

LOL! no, that's not it, fullmoon. I changed the coordinates some time ago for an earlier version BYOB, which had a different default sprite costume (a dot - I was more influenced by John Maeda back then  smile  ), and simply forgot to adjust it to the new Alonzo costume.  I just fixed it in my development version, the next release will put Alonzo right in the center of the stage.

Thanks, Jonathanpb, for finding and reporting this! You guys are awesome.


Jens Mönig

Offline

 

#1650 2010-09-02 09:59:36

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

Re: BYOB 3 - Discussion Thread

rubiks_cube_guy238 wrote:

Can you add dictionaries to 3.1? I mean, sure, it would be easy to make a block that reports a dictionary object, but it would be nice to have something faster and which you can display on the stage.

Our general policy is to add the features you need to build what you want, rather than to add what you want.  Given lists of lists, you can make associative lists -- there's a project by fullmoon on the byob web site.

What you need for full hash tables is a way to turn text into numbers, and we provided that with the char-to-ASCII block.  And you need list code to be blindingly fast, which we're working on.

As for displaying on the stage, you make a case for exposing more of the underlying Morphic to the BYOB user (not counting Elements, which exposes the entire Smalltalk code base -- maybe more than you want) if we could think of a good easy-to-use way to do that.  I'd rather than than build in a special case.


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

Offline

 

Board footer