These new blocks you create are very neat!! They can be very helpful too! Can you please reply on this comment when The new version of Streak comes out please? I CAN'T WAIT!!
I found an easier way to hack into Scratch. Instead of finding 'lots of text', (I was having trouble to find enough) download the project at this link (link to project)">(link to project) and export the sprite with the comment block, open it, and then you can continue.
Yes, I found that tone, too. However, for the purpose of a tutorial, it is kinda hard to explain all that in one.
P.s. it is the 1.2beta comment block that causes the error.
Yes, that is very possible. However, There isn't enough room in this comment to explain it... But, it is in streak v0.1, available on the streak website.
Well, here's how: In the scriptableScratchMorph class blockspecs area, under 'numbers' put ('pi' #r #piBlock). Then make a function, as shown here, that reads: (1st line) piBlock (2nd line)^ 3.141592 (end)
That should make a pi block that gives the value of pi!
Not really. However, the streak image file, documentation, and plugins are all cross platform. If you know how to make a mac installer, then please tell me. I will then upload the files for you.
Well, for instance, to calculate vector angles based on two cartesian points, you will need either a 0-180 or 0-(-180) result set. This can be got with this block. Or, in a simpler instance, if there is 1 minute to, say , click a number of times (in one of your projects) and you record the number of clicks with the variable var, you could end the 1 min with:
[say [(if <var > (10)> then: [Good! you clicked enough!] else: [Sorry! you didn't quite do it!])]]
What new block would really help is "If I recieve []?" and "Hidden?". Those are both blocks that would really be useful, try and find a way for me to get them in Scratch 1.4!
Okay, hidden is REALLY easy to do. In the class side, under after it says 'looks' put ('hidden?' #b #isHidden).
It doesn't even need a function. However, it is in Streak, so you can just use that. The trouble with a boolean broadcast is that for the boolean to return true, the broadcast must be sent exactly as the boolean in checked. Pretty slim chance.
Do they redirect you off of the
Streak site? I have noticed this, and do realize that this is a problem. There is really nothing you can do, but I will comment when it is fixed.
is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? NO!!!!!!!!!!!!!!!!!!!!!
okay, don't have to shout!!! Sheesh!!
Allright! I have it out!
I will have the installer made soon, but the image and exe is up for downloads at http://streak.t35.com/ .
Just drop the image icon onto the exe to run.
Yes, and no. It is all out & ready (v0.1. Note that it does not contain all of the blocks in my real new blocks project, but most. They are all in 0.2).
The problem is that The file is too large to transfer to my hosting site. I am working diligently to find an alternative, but so far, no luck. If you have any ideas, please tell me. Sorry for this inconvenience!
Here, I've finished. Thanks again for the idea- making the block was not only rather easy, but fun, too! I hope you find it useful. (link to project)">(link to project)
As in, to open a browser with a certain URL in it?
Yes, there is, actually. You know that link to http://scratch.mit.edu">scratch.mit.edu on the 'done uploading' dialog? That would just have to be made so that a block triggers it, and it takes an argument as to which page it opens. Thank you for that Idea! If you are fluent in squeak, you should be able to figure it out. Otherwise, I will see if I can make a tutorial, but it will definitely be in streak sometime soon.
Note to picky people: Before anyone leaves a comment on this, I'd like to mention that that 5 line function code can be shortened to only 3, and made faster, too. put this instead:
(1st line)if: t1 Then: t2 Else: t3 (2nd line)t1 ifTrue: [^ t2](3rd line)ifFalse: [^ t3].
You mean the boolean one? Ensure that the definition syntax is exactly ('if %b then %b else %b' #b #ifThenElse). One common mistake is to mistype the function name (ifThenElse). Ensure that you type the capitals correctly, as squeak is case sensitive.
Hey Billy...here are the instructions for increasing your Java Heap. I think I wrote them up for 128Mb...you might want to increase that some.
(link to forums)">(link to forum)
STREAK IS OUT!!!!! It is at http://streak.t35.com/
Follow the steps in this project to make 2 new blocks: If a boolean is true, it reports the first value, else it reports the second. Im actually surprised, with the usefulness of this, and the relative shortness of the code that runs it, that MIT hasn't used it in scratch. Oh, well, now you can use it!
If you want to know how to add other blocks or features to scratch, leave a comment. I will make a tutorial as soon as I can. I am currently working on one for putting string inserters into logical comparison blocks, adding a factorial function to the functions block, adding an extras menu option to change the display depth, and more. All of the above are features of Streak, a version of scratch that I'm making. Due to unforseen bugs, v(1.3)0.0beta will never be released (although it's finished). I am currently working on v(1.3.1)0.1alpha. I'll let you know when it comes out!
Comments
You need to be logged in to post comments
Add a Comment
These new blocks you create are very neat!! They can be very helpful too! Can you please reply on this comment when The new version of Streak comes out please? I CAN'T WAIT!!
i got a new icon!
Oh.
I found an easier way to hack into Scratch. Instead of finding 'lots of text', (I was having trouble to find enough) download the project at this link (link to project)">(link to project) and export the sprite with the comment block, open it, and then you can continue.
Yes, I found that tone, too. However, for the purpose of a tutorial, it is kinda hard to explain all that in one. P.s. it is the 1.2beta comment block that causes the error.
Oh yeah and finally I'd like to get the Graphic Effect [] reporter block if possible?
Yes, that is very possible. However, There isn't enough room in this comment to explain it... But, it is in streak v0.1, available on the streak website.
How do I get the pi block then?
Well, here's how: In the scriptableScratchMorph class blockspecs area, under 'numbers' put ('pi' #r #piBlock). Then make a function, as shown here, that reads: (1st line) piBlock (2nd line)^ 3.141592 (end) That should make a pi block that gives the value of pi!
and is there streak for the mac?
Not really. However, the streak image file, documentation, and plugins are all cross platform. If you know how to make a mac installer, then please tell me. I will then upload the files for you.
in numbers it only shows a command block that says "if"
Did you type it exactly as the project showed?
(view all replies)this block dosen't really get used for much. what could it be used for??
Well, for instance, to calculate vector angles based on two cartesian points, you will need either a 0-180 or 0-(-180) result set. This can be got with this block. Or, in a simpler instance, if there is 1 minute to, say , click a number of times (in one of your projects) and you record the number of clicks with the variable var, you could end the 1 min with: [say [(if <var > (10)> then: [Good! you clicked enough!] else: [Sorry! you didn't quite do it!])]]
(view all replies)What new block would really help is "If I recieve []?" and "Hidden?". Those are both blocks that would really be useful, try and find a way for me to get them in Scratch 1.4!
Okay, hidden is REALLY easy to do. In the class side, under after it says 'looks' put ('hidden?' #b #isHidden). It doesn't even need a function. However, it is in Streak, so you can just use that. The trouble with a boolean broadcast is that for the boolean to return true, the broadcast must be sent exactly as the boolean in checked. Pretty slim chance.
I'm having trouble downloading Streak. the links to the image and executable files don't seem to work. Can you help?
Do they redirect you off of the Streak site? I have noticed this, and do realize that this is a problem. There is really nothing you can do, but I will comment when it is fixed.
(view all replies)is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? no.is streak out yet? NO!!!!!!!!!!!!!!!!!!!!! okay, don't have to shout!!! Sheesh!!
Allright! I have it out! I will have the installer made soon, but the image and exe is up for downloads at http://streak.t35.com/ . Just drop the image icon onto the exe to run.
lol
Even though the actual program is not uploaded, there is now a forum on the Streak site (streak.t35.com). So you can start adding to that!
Yes, and no. It is all out & ready (v0.1. Note that it does not contain all of the blocks in my real new blocks project, but most. They are all in 0.2). The problem is that The file is too large to transfer to my hosting site. I am working diligently to find an alternative, but so far, no luck. If you have any ideas, please tell me. Sorry for this inconvenience!
(view all replies)is Streak out yet? I mean in any version.
sorry, thaat didn't work. Again: http://streak.t35.com/
Not yet. Keep checking <a href='http://streak.t35.com/'>http://streak.t35.com/</a>to see.
(view all replies)That's really helpful! except were do you find the text?
What do you mean by text? If you mean the code, I made it myself.
jeffy 24: he tells you how to make it work. Watch the whole thing.
I did'nt fully figure it out I only got to the "Do it" thingy whatever that does.
Is there a way to make blocks that allow you to hyperlink in Scratch?
Here, I've finished. Thanks again for the idea- making the block was not only rather easy, but fun, too! I hope you find it useful. (link to project)">(link to project)
Yes, that's what I mean and no, unfortunately I am not fluent in squeak. It would be really great if you made a tutorial for that!
(view all replies)As in, to open a browser with a certain URL in it? Yes, there is, actually. You know that link to http://scratch.mit.edu">scratch.mit.edu on the 'done uploading' dialog? That would just have to be made so that a block triggers it, and it takes an argument as to which page it opens. Thank you for that Idea! If you are fluent in squeak, you should be able to figure it out. Otherwise, I will see if I can make a tutorial, but it will definitely be in streak sometime soon.
Note to picky people: Before anyone leaves a comment on this, I'd like to mention that that 5 line function code can be shortened to only 3, and made faster, too. put this instead: (1st line)if: t1 Then: t2 Else: t3 (2nd line)t1 ifTrue: [^ t2](3rd line)ifFalse: [^ t3].
<if <> then <> else <>> block didnt work
You mean the boolean one? Ensure that the definition syntax is exactly ('if %b then %b else %b' #b #ifThenElse). One common mistake is to mistype the function name (ifThenElse). Ensure that you type the capitals correctly, as squeak is case sensitive.
(view all replies)That was helpful... BUT HOW THE **** DO I GET IT BACK?!?!?!?!??!?!??!?!?!??!?!?!?!??!?!?!??!?!?!?
What do you mean by 'it?'
(view all replies)Hey Billy...here are the instructions for increasing your Java Heap. I think I wrote them up for 128Mb...you might want to increase that some. (link to forums)">(link to forum)
Thanks!!!!!!!!!!!!!!!!
That's really clever! It also helped explain to me how custom blocks work.
Yes. If you are interested in making your own blocks, Jens' 'BYOB' may be for you. It is at: http://www.chirp.scratchr.org/blog/?p=19
AWESOME! I can hack now! But.... when I download it, what do I save it as?
Whatever. To actually save the *.image file, with your changes, click 'save as' from the world menu.
(view all replies)