Scratch

=**Scratch**=
 * Scratch Hour of Code eBook**

** New: Rubricfor the project! **
toc [|The Main SCratch website] Scratch Wiki (Some of the screen shots below have been used from this site.) This site will help you find answers to your questions and shows how to construct blocks. =Lesson 1:=

Introduction
Introduction to basic programming using Scratch, creating a **sprite**. Watch the video What is Scratch? and the [|Intro Video] media type="youtube" key="jxDw-t3XWd0" height="344" width="425"

Browse through a variety of Studios and test out different projects.

=A Quest Adventure= You are going on a quest. You will create a sprite which represents you and at least one other sprite that marks you goal. You will need to cross two background to achieve your goal and may encounter obstacles on you way.

Basic Tasks:

 * Create the sprite that will represent you with at least 2 costumes. We will call this your //personal sprite//.
 * Create a sprite that will represent the goal of your quest.
 * Create at least two different backgrounds for your stage for your sprite to cross.
 * Program movement for your personal sprite using either of the following,key movements, following the mouse. Make sure you include costume changes as part of this movement.
 * Use broadcasts to change backgrounds and generate a message when your sprite reaches its goal.
 * Upload your project to the Scratch Studio.

Extension Tasks:

 * Create additional sprites that can interact with your personal sprite.
 * Create additional backgrounds for you sprite to cross.
 * Create additional costumes for your sprite
 * Create a variable which includes lives or a score.
 * Add effects to your sprites.
 * Add sounds to your project.

**Now let's get started!**

Create your own sprite by taking a picture in Scratches Costume tab and use the paint option to edit in a body and complete your first costume.


 * [[image:scratch_cap1.png]] || [[image:scratch_cap2.png width="400" height="314"]] ||



You will need at least two versions of the same sprite. One with it legs open and one with its legs closed. We will used these to simulate a walking movement.


 * Remember** that you can use these tools **[[image:Screen_shot_2011-08-17_at_10.36.58_AM.png]] to resize, copy** and c**ut sprites.**


 * Create the second sprite for the project next.**

Begin experimenting with your first project. You can use the @Help screens whenever you need them.

There are ten Block categories in Scratch for you to choose from.

=Lesson 2 := = = =**Movement**= media type="youtube" key="2p1ly0A0L9Q" height="349" width="425"


 * Using keys and the mouse for movement**


 * Your next task is to incorporate more movement into your project. Use examples from the video, the Task Cards and the examples below, to try different things out.**

Some examples of blocks you could use

Your sprites will rotate as they follow the mouse pointer. Sometimes this is a good thing, other times, you may not want it to happen. You can control your sprites rotation by using the following options.



You may want to add costume changes to these blocks to ensure that the costume changes along with the direction they move in.

An alternative way to build these scripts is like this. Can you find other ways to do this?
 * *If you are looking for interesting ways to use movement check out the projects in the online [|Galleries]. **

Try having your sprite move randomly around the stage. Here is one way to do that. **Lesson 3** =__Image Effects, Backgrounds and Sounds__=

We are going to look at **image effects **and making **backgrounds**.

Try some of the different image effects shown below using this stack of blocks to start with.



=Backdrops and the Stage=

Backdrops can be copied and edited for the stage in a similar to which you created, copied and edited your sprites.

Just click on the stage and choose backgrounds.Choose either edit or copy and change the name of your backdrops to suit your needs.



Edit the new background.



You can use predetermined backgrounds and upload your own too.

You can also snap a picture to use as a background.

=Sounds= You can add sound to your project in several ways. Recording it or by using the sound blocks.


 * 1) **Continue to work on your first project trying to add image effects and different backgrounds.**

= = =Lesson 4= =Repeat and Forever= We are going to look at **Repeat** and **Forever blocks, if** and **Forever if blocks.**

Here are som**e Repeat** and **Forever** block examples:

What is the difference between repeat and forever blocks?


 * If** is a **condition** in programming. What will these do?

Do both of these do the same thing or not? Test it out.

=Lesson 5= =Broadcasting= We are going to teach our **sprites** to **Broadcast** and **Receive** messages, **change costumes** and **switch backgrounds.** Watch the Video on **Changing Costumes **and ** Broadcasting **

media type="youtube" key="SLUbO0pA4rY" height="315" width="420"

Try adding **Broadcasting** and **costume** changes to your project.

What could we choose to complete this?

Here are some more examples of broadcasting.






 * Broadcasting** can be used in a similar way to **change backgrounds.**

The **broadcast and receive blocks** are very useful in switching between **backgrounds**.


 * Here is a link to more great**
 * [|Scratch Tutorials]from** [|EXPO For Excellence Magnet Elementary School]

=Lesson 6= =Additional movement and Variables=

Score
You can use **blocks** with **variables** to keep **score** in a game as well as **number blocks** to create movement.

Watch the video below to learn some more advanced movements and create a score variable.

media type="youtube" key="UayH8UvI20M" height="315" width="420"

You can create variables that work with only one sprite or all sprites. When might you want a variable to work for all sprites?



Speed
Watch the Setting the speed tutorialwhich will show you how to create variables to control sprite speed.

media type="custom" key="10218535"

=Lesson 7= =Scratch Online=

Create your account at Scratch.


 * You should finish off you project today upload it to the Scratch Website and add it to the correct online ABCICT Studio.


 * Steps**:

Adding Your Project to the Studio

 * The first step is to find me ( ABCICT) then add me as a friend.
 * Once I approve you, you will be able to upload your work to the studio.







**Video:**
=**Adding Your Project to the Studio**=

**Choose the ABCICT 2019 Studio and add your project** media type="youtube" key="fAOxo82Eyf8" height="344" width="425"
 * Make sure that you add the instructions for your online project, using your Scratch account. **