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.
Offline
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.
Offline
@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
That's weird...
Offline
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.
Offline
Not in Scratch but try Panther!
Offline
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
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
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
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.
Offline
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.
Offline
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
Offline
If only Scratch got updated this often...
Getting the new version of BYOB!
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)
Offline
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
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?
Offline
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.
Offline
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)
Offline
fullmoon wrote:
Maybe the Scratch team think they have exclusive rights to the point (0,0)
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 ), 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.
Offline
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.
Offline