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 video, you’ll program winning and losing conditions for your game.
To start, program a winning condition. The finish line in this game is green. The player will win if the sprite touches the color green. Click the player sprite. Drag an “if” block into the forever loop, and add a touching color block from sensing. To select the finish line color, play the game until the finish line is on the stage, then select the color swatch and click the finish line. If the sprite reaches the finish line, the game should stop. Add a “stop all” block from control. Program something awesome to happen when the sprite wins. The sprite could play a sound, say something, switch to a celebratory costume that you drew… anything you’d like!
Next, program a losing condition. Gameplay should stop if the player touches the edges of the cave. Notice that the edges of the cave are all black lines. To program a losing condition, program the game to check if the sprite is touching black.
From the control menu, drag an if statement into the “forever” block. Select the sensing menu, and drag out a “touching color” block as the condition. Click the color swatch, then the black cave edges to select it. If the player touches the cave edges, all code in the game should stop. To stop all code in the program, use a “stop all” block from control. If would you like, add more activity to the losing condition. For example, change the costume to an explosion, play a sound, or use a say bubble to tell the player they lost. Add any other code for the losing condition above the “stop all” block.
As your last step today, share your project with the Scratch community so others can experience your creative work. Don’t forget to add a description and some tags.
Now, it’s your turn: Program winning and losing conditions by adding “if,” “touching color,” and “stop all” blocks.
Add features to your winning and losing conditions to make gameplay more exciting!