In Storytelling, students use computer science to tell fun and interactive stories. Storytelling emphasizes creativity by encouraging club members to tell a unique story each day.
In Friends, students are encouraged to sign up with a friend or make a new friend in the club. Friends emphasizes teamwork by allowing club members to tell the story of how their friendship started and imagine a company together.
In Fashion & Design, students learn how computer science and technology are used in the fashion industry while building fashion-themed programs, like a fashion walk, a stylist tool, and a pattern maker.
In Art, students create animations, interactive artwork, photograph filters, and other exciting, artistic projects.
In Social Media, students create fun social media style applications and games while learning about the computer science concepts that enable these programs to work.
In Sports, students use computer science to simulate extreme sports, make their own fitness gadget commercial, and create commentary for a big sporting event.
In Music & Sound, students use the computer to play musical notes, create a music video, and build an interactive music display while learning how programming is used to create music.
In Game Design, students learn basic video game coding concepts by making different types of games, including racing, platform, launching, and more!
Students create fun and complex animated projects. This is an advanced curriculum, which means it teaches new concepts that are recommended for students who have already participated in at least two other CS First themes.
In this sample activity students animate an ocean wave to create a setting, then tell a story that takes place on the high seas.
In this sample activity students tell a story using the characters from Cartoon Network’s "The Amazing World of Gumball."
Be a designer and programmer – bring the Google logo to life using code.
In this add-on, you will program a celebration for when the batter achieves a perfect batting average. Start by programming the celebration. This can be any fun action or animation! For example, you might make the stadium flash different colors using the “change color effect,” “wait,” and “repeat” blocks.
Or, make your celebration a sound. To add a sound to your project, click on the “sound” tab, and click “choose sound from library.” To listen to the sounds, click the play buttons next to each. Then, choose one you like, and click “OK.” To learn more about sounds in Scratch, check out the “out of this ballpark” add-on, then come back to this one.
In your celebration, the coach could also congratulate the batter.
There are many possible celebrations! Use the ideas here, combine them, or come up with your own! Build the code for the celebration actions, but don't connect them to any other code or event yet. The second part of this video will show you how to add the celebration to your game. Once you finish creating a celebration, test it by clicking the code. Tinker with the code until you are happy with your celebration.
Now, tell the program when to run the celebration. Click the coach sprite. The celebration will happen after the coach sprite tells the batter the batting average. To let other sprites know when the coach is finished talking, go to the "events" menu, and drag out a “broadcast” block. Place it after the coach says the batting average. Click on the dropdown, then select “new message” and give it a name like “Celebration.”
Next, program the celebration code to receive that message. If multiple sprites or the stage have blocks, you'll complete these same steps for all of them. From the “events” menu, place a “when I receive” block above the code for the celebration. Click the dropdown, and select the name of your message.
Test the code. After five pitches, the coach says the batting average, then the celebration happens. But the celebration is only supposed to happen *if* the batter got a perfect score! From the “control” menu, place an “if/then” block around the “broadcast” block. Fill out the condition. If the batter got a perfect average, the batting average will equal 1. From the “operators” menu, place the “equals” block in the “if/then” block. To check if the batting average equals one, type 1 on either side of the “equals” block. The other side will contain the batting average. Right click on the “batting average” equation in the “say” block, and select duplicate. Place the duplicate code in the other side of the “equals” block. Test the code. Practice batting until you get a perfect batting average. When the coach says, “Your batting average is 1,” the celebration should begin.
Here's the game plan: First, program the celebration.
Then, use the “broadcast” and “when I receive” blocks to let Scratch know when to make the celebration happen. Finally, place the broadcast block inside an “if/then” statement. Use the “equals” block and copy the “hits” and “divide” blocks to create the condition.