1 / 120

Scratch Guide

Scratch Guide. By Cameron. Contents. 3: The Scratch scripts area. 4-110: The scratch blocks. 111-120: Making the game pong. The Scratch scripts area. Scratch blocks. Hat blocks.

stevie
Download Presentation

Scratch Guide

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Scratch Guide By Cameron.

  2. Contents. • 3: The Scratch scripts area. • 4-110: The scratch blocks. • 111-120: Making the game pong.

  3. The Scratch scripts area.

  4. Scratch blocks.

  5. Hat blocks Hat blocks are the blocks that start every script. They are shaped with a rounded top and a bump at the bottom — this is so you can only place blocks below them. There are 11 Hat blocks, six of which are in the Events category, one in the Control category, and four More hat blocks.

  6. Stack blocks Stack blocks are the blocks that perform the main commands. They are shaped with a notch at the top and a bump on the bottom — this is so blocks can be placed above and below them. There are 77 Stack blocks — the most common block shape.

  7. Boolean blocks Boolean blocks are the conditions — they are either true or false. It is like asking your friend: "Does 2 + 2 = 4?", and they would either tell you "Yes" or "No". With a hexagonal shape, there are 13 of these blocks.

  8. Reporter blocks Reporter blocks are the values. Reporter blocks can hold numbers and strings. It is like asking a friend, for example, "What is 2 + 2?", and they would answer "4". It isn't just equations however, it can report a variable, for example, "What is your age?". They may answer: "15". Shaped with rounded edges, there are 37 of these blocks — not counting the theoretically infinite amount of Reporter blocks that can be made for each variable and list.

  9. C blocks C blocks are blocks that are made up of "C's". Also known as "Wrap blocks", these blocks loop the blocks within the Cs or check if a condition is true. There are five C blocks, and they can be found in the Control category. C blocks can be bumped at the bottom, or capped.

  10. Cap blocks Cap blocks are the blocks that stop scripts. They are shaped with a notch at the top and a flat bottom — this is so you cannot place any blocks below them. There are two Cap blocks, and they can both be found in the Control category.

  11. Motion blocks Motion blocks are the blocks that control a sprite's movement. There are 17 Motion blocks in Scratch 2.0. Scratch 2.0 has the following fourteen Motion Stack blocks:

  12. Motion blocks  Turns the sprite (clockwise or counter-clockwise) the specified amount.  Moves the sprite forward the amount of steps.

  13. Motion blocks Points the sprite towards the mouse-pointer or another sprite. Points the sprite in the direction.

  14. Motion blocks Moves the sprite to the mouse-pointer or another sprite. Moves the sprite to the specified X and Y position.

  15. Motion blocks Changes the sprite's X position by the amount. Glides the sprite to the location, taking as long as the specified amount of time.

  16. Motion blocks  Changes the sprite's Y position by the amount. Sets the sprite's X position to the amount.

  17. Motion blocks  If touching the edge of the screen, the sprite's direction flips over.  Sets the sprite's Y position to the amount.

  18. This sets the rotation style of a sprite.

  19. Scratch 2.0 has the following three Motion Reporter blocks:

  20. Motion blocks  The Y position of the sprite. The X position of the sprite.

  21. The direction of the sprite.

  22. Looks blocks Looks blocks are the blocks that control a sprite's look. There are 23 Looks blocks in Scratch 2.0. Three of the 19 sprite Looks blocks have a counterpart for the Stage. Scratch 2.0 has the following sixteen Looks Stack blocks:

  23. Looks blocks  A speech bubble appears over the sprite and will not go away over time.  A speech bubble appears over the sprite and stays for the specified amount of time.

  24. Looks blocks  A thought bubble appears over the sprite and will not go away over time.  A thought bubble appears over the sprite and stays for the specified amount of time.

  25. Looks blocks Hides the sprite.  Shows the sprite.

  26. Looks blocks  Changes the specified effect by the amount. Changes the sprite's/Stage'scostume/backdrop to the specified one

  27. Looks blocks. Changes the sprite's/Stage's costume/backdrop to the next one in the costume list. Like the Switch to Backdrop () block, though it waits until all of the hat blocks triggered by this have completed. (Stage only)

  28. Looks blocks Clears all graphic effects on the sprite.  Sets the specified effect to the amount.

  29. Looks blocks Sets the sprite's size to the amount. Changes the sprite's size by the amount.

  30. Looks blocks Changes the sprite's layer value by the amount. Puts a sprite in the front.

  31. Scratch 2.0 has the following three Looks Reporter blocks:

  32. Looks blocks Reports the name of the current backdrop. The number of the sprite/Stage's current costume/backdrop in the list.

  33. The sprite's size.

  34. Sound blocks Sound blocks are the blocks that control sound and MIDI functions. There are 13 Sound blocks in Scratch 2.0. Scratch 2.0 has the following eleven Sound Stack blocks:

  35.  Plays a sound without pausing the script.

  36. Sound blocks. Stops all playing sounds. Plays a sound and pauses the script until it finishes.

  37. Sound blocks.  Pauses the script for the amount of time.  Plays the specified drum for the amount of beats.

  38. Sound blocks. Sets the instrument to the specified one.  Plays the note for the amount of beats.

  39. Sound blocks.  Sets the volume to the amount.  Changes the volume by the amount.

  40. Sound blocks. Sets the tempo to the amount. Changes the tempo by the amount.

  41. Scratch 2.0 has the following two Sound Reporter blocks:

  42. Sound blocks.  The tempo. The volume.

  43. Pen blocks Pen blocks are the blocks that control the pen. There are 11 Pen blocks in Scratch 2.0. Scratch 2.0 has the following eleven Pen Stack blocks:

  44. Pen blocks  Pens the sprite's image on the screen. Can be removed using clear.  Removes all pen marks put on the screen.

  45. Pen blocks  Puts the sprite's pen up. Puts the sprite's pen down.

  46. Pen blocks  Changes the pen colour by the amount.  Sets the pen colour to the specified colour or number shown on the picture.

  47. Pen blocks  Sets the pen shade to the amount. Changes the pen shade by the amount.

  48. Pen blocks Sets the pen size to the amount. Changes the pen size by the amount.

  49. Data blocksVariables blocks Variables blocks are the blocks that hold values and strings. There are 5 Variables blocks in Scratch 2.0. Scratch 2.0 has the following four Variables Stack blocks:

  50. Data blocks. Changes the specified variable by the amount. Sets the specified variable to the amount

More Related