Is there a way to save the block after you make it so it shows up every time you open BYOB. Save image for End User doesn't work.
Offline
funelephant wrote:
Is there a way to save the block after you make it so it shows up every time you open BYOB. Save image for End User doesn't work.
If you export a sprite, it carries your custom blocks with it. You can then import the sprite into new projects. Name the sprite something other than "sprite1" before exporting it.
Offline
bharvey wrote:
funelephant wrote:
Is there a way to save the block after you make it so it shows up every time you open BYOB. Save image for End User doesn't work.
If you export a sprite, it carries your custom blocks with it. You can then import the sprite into new projects. Name the sprite something other than "sprite1" before exporting it.
Thanks
Offline
bharvey wrote:
funelephant wrote:
Is there a way to save the block after you make it so it shows up every time you open BYOB. Save image for End User doesn't work.
If you export a sprite, it carries your custom blocks with it. You can then import the sprite into new projects. Name the sprite something other than "sprite1" before exporting it.
Is there a way to change the default sprite?
Offline
funelephant wrote:
Is there a way to change the default sprite?
From the Scratch readme:
You can replace the default cat sprite with a sprite of your own. You default sprite can include multiple costumes, sounds, and even scripts. To set this up, just create your sprite and export it. (To export, right-click on the sprite and choose "export this sprite."). Then rename it "default.sprite" and place it in the Costumes folder.
Offline
bharvey wrote:
funelephant wrote:
Is there a way to change the default sprite?
From the Scratch readme:
You can replace the default cat sprite with a sprite of your own. You default sprite can include multiple costumes, sounds, and even scripts. To set this up, just create your sprite and export it. (To export, right-click on the sprite and choose "export this sprite."). Then rename it "default.sprite" and place it in the Costumes folder.
Does it work in BYOB?
Offline
bharvey wrote:
funelephant wrote:
Does it work in BYOB?
But of course!
I tried it, and the old default sprite showed up.
Offline
bharvey wrote:
funelephant wrote:
I tried it, and the old default sprite showed up.
Oops, you have to call it "default.ysp" sorry.
Thanks
Now its a cow :3
Offline
bharvey wrote:
funelephant wrote:
Now its a cow :3
Not an elephant?
Its for a mod
Offline
bharvey wrote:
Hardmath123 wrote:
at least addition should work:
This works for me. If you can reproduce the problem, please be more specific about browser, OS, and sequence of events. Tnx.
FF 3.1 Mac OSX. The image is genuine, I set the variable before calling.
Offline
Hardmath123 wrote:
bharvey wrote:
Hardmath123 wrote:
at least addition should work:
This works for me. If you can reproduce the problem, please be more specific about browser, OS, and sequence of events. Tnx.
FF 3.1 Mac OSX. The image is genuine, I set the variable before calling.
Are you sure you didn't use the ÷ (division) block? it looks a lot like the + (addition) block due to font smoothing (maybe we should probably change it back to /...)
Offline
nXIII wrote:
(maybe we should probably change it back to /...)
Ah, but then we can't use / for APL-style reduction.
(Now that we have Lisp disguised as Scratch, I want to make it APL disguised as Scratch too. Not right away though.)
Offline
What's APL? I'm betting it's not just an API with a tail. :-)
Last edited by scimonster (2012-02-20 07:29:30)
Offline
nXIII wrote:
Hardmath123 wrote:
bharvey wrote:
This works for me. If you can reproduce the problem, please be more specific about browser, OS, and sequence of events. Tnx.FF 3.1 Mac OSX. The image is genuine, I set the variable before calling.
Are you sure you didn't use the ÷ (division) block? it looks a lot like the + (addition) block due to font smoothing (maybe we should probably change it back to /...)
Nope, though that's what I thought at first too. I uber-zoomed the picture, and it was clearly a + sign, not an obelus.
Offline
roijac wrote:
A Programming Language
The second-best language ever. Very natural treatment of vectors and matrices. For example you could say
3 * (7,8,1)
and get the list 21,24,3. Same for any scalar operation; it operates on vectors termwise. Given two vectors it maps over them in sync, like our MAP block. So you didn't need a MAP block; you just applied the scalar operator directly to your data. Same for matrices, something MAP doesn't do unless you nest two of them.
And it used / to mean COMBINE WITH:
+/(7,8,1) ==> 16
My favorite APL one-liner was the one to graph a function by making a matrix of (x,y) coordinate pairs and mapping over that matrix the character-valued function
* if y=f(x), else
+ if (x,y) = (0,0), else
| if x=0, else
- if y=0, else
<space>
(That's not how you say it in APL, which I forget, but this way is readable) and the result is a graph of the function that you can print! (The +,|,- business is to put axes in the graph.)
The reason you don't all know APL is that its inventor, Ken Iverson, never intended it to be runnable on a computer; it was for mathematicians to use on the chalkboard to talk about algorithms, and so it used a notation as much as possible like the notation mathematicians use for everything else, e.g., lots of Greek letters and other non-ASCII characters. That wouldn't be a problem today, but back then it meant that you needed special hardware to program in APL, and that killed it. It has a descendent called J that you could look into.
Offline
Hardmath123 wrote:
FF 3.1 Mac OSX. The image is genuine, I set the variable before calling.
I didn't mean to accuse you of forging the picture! I just want you to check if the same thing happens for you again, or if this was a one-time phenomenon.
Offline
Jens wrote:
Hard to beat Smalltalk
So why are you leaving it?
Offline
bharvey wrote:
Hardmath123 wrote:
FF 3.1 Mac OSX. The image is genuine, I set the variable before calling.
I didn't mean to accuse you of forging the picture! I just want you to check if the same thing happens for you again, or if this was a one-time phenomenon.
Ok, I guess I must have accidentally used "÷", but I think this leads us to at least something to notice... Spot the ÷ and the +:
Offline