Hey Everyone,
So first off I would like to thanks Paddle2See and Lucario621 on the variable part of the post. You are all probably wondering what this is, this is a tutorial of the Scratch Blocks. I have divided this post into 7 parts. Here are the parts:
1. Controlling the Blocks
2. The look of the Sprite
3. Moving Around
4. How it Sounds
5. Drawing (pen block)
6. Operating
7. The Variables
So this is the first Chapter:
Controlling the Blocks
Every script has one of these. These blocks control the entire script. Whether you want to make your sprite turn forever, or turn just ten times. One block that every script must have is the "When Greenflag Clicked" script. It looks like this:
when gf clickedIt basically means that when the green flag is clicked, something will happen.
forever endThe last block I am going to talk about in the Control section is the "Broadcast" button. It is hard to explain the Broadcast button. So I will give an example:
when gf clicked repeat until <(timer) > [10]> go to [mouse-pointer v] end broadcast [move v] when I receive [move v] wait (1) secsAnd now I will move on the Chapter 2.
switch to costume [costume2 v]Another look block I will talk about is the "say hello for 2 secs" button. This makes your sprite say hello for 2 seconds. Here is what the block looks like:
say [hello] for (2) secsThe last block I am going to talk about is the "Show and Hide" blocks. These blocks make your sprite either show/hide. This is what the block looks like:
show hideMoving Around
glide (1) secs to x: (0) y: (0)Another block lets your sprite change x where ever it is. This is what the block looks like:
change x by (10)The last block I want to talk about it the go to block. This block makes a specific sprite move to a specific place. This is what the block looks like:
go to x: ( ) y: ( )How it Sounds
play sound [meow v]There is not much to this chapter but whatever.
pen down pen upThe second and last block in this chapter is set pen color to []. This does what it seems like it does, it sets the pen color. This is what the block looks like:
set pen color to [ ]That is the end of the chapter.
if <[] = []> Script goes here EndAnother block is the not block. This block means what it looks like.
if <not < >> script goes here endThat is the end of this section.
when gf clicked set [score v] to [0] //The score goes back to 0 each time you play. forever if <touching [coin v]?> change [score v] by [1] //The score increases when you get a coin! when I receive [game over v] //This tells you your score. say (join [Your score was ] (join (score) [. Good job!]))Okay everyone, that are the blocks of Scratch, please leave suggestions below on how to improve something or if something is not right.
Last edited by joletole (2012-03-09 18:21:14)
Offline
Anyone can make suggestions.
Offline
isn't this another thread you've made that already exists elsewhere? sorry if i keep pestering you about this, but I think this is the third thread you've made which is in some-way a replica of something else.
I have seen a page with all of this on before.
Offline
Borrego6165 wrote:
isn't this another thread you've made that already exists elsewhere? sorry if i keep pestering you about this, but I think this is the third thread you've made which is in some-way a replica of something else.
I have seen a page with all of this on before.
Oh, okay...
Offline
Awesome guide! I would image this would be helpful to a lot of people. I couldn't even find the 'not' script when I started scratch I was only nine years old, but still...
Offline
anyone
Offline
Good job! For the Controlling part of the tutorial, you might want to use <(timer) > (10)> instead of <(timer) > [10]> just to keep it more clean.
Offline
Another thing, not only does this exist as I've already mentioned, but it has far more example-scripts too.
Offline
Borrego6165 wrote:
Another thing, not only does this exist as I've already mentioned, but it has far more example-scripts too.
Put a link to this thread and let me see it.
Offline
JabberJay wrote:
Amazing guide! The content is very useful and helpful!
Thanks!
Offline
bump
Offline
Helpful guide, but I already knew it all.
Offline
Offline
hmmm corection all scrips need hat block you said they need
when flag clickedd
Offline
PullJosh wrote:
I'm making a site for new scratchers. Could I link to this?
Sure!
Offline
Borrego6165 wrote:
Oh, well some new Scratchers don't know how to get to the Wiki.
EDIT: I had no idea the Wiki existed until last weekend.
Last edited by joletole (2012-03-10 07:52:46)
Offline
joletole wrote:
Borrego6165 wrote:
Oh, well some new Scratchers don't know how to get to the Wiki.
EDIT: I had no idea the Wiki existed until last weekend.
You've made a very nicely-formatted basic guide to the various blocks - thanks for your efforts!
But maybe the Wiki is a better place to put material like this, since it has better formatting and structuring capabilities and a more stable future during the Scratch 2.0 transition. Have you got a Wiki account yet? They can always use a few more helpful Scratchers
Offline
Paddle2See wrote:
joletole wrote:
Borrego6165 wrote:
Oh, well some new Scratchers don't know how to get to the Wiki.
EDIT: I had no idea the Wiki existed until last weekend.You've made a very nicely-formatted basic guide to the various blocks - thanks for your efforts!
But maybe the Wiki is a better place to put material like this, since it has better formatting and structuring capabilities and a more stable future during the Scratch 2.0 transition. Have you got a Wiki account yet? They can always use a few more helpful Scratchers
Oh, I don't have a wiki account. Every time I try to go and request an account for me, It just says the server is down.
Offline