In this project, the Dancer character will lead a dance-off competition. Players will have to replicate the dance moves shown by the Dancer. Use messaging to let the Dancer know when it’s time to perform a new combination of moves. Each level increases the number of dance moves, and sensing can be used to detect when players correctly follow the arrow pattern, thus advancing to the next level.
These are the high level steps to create this project. Try to create the project on your own first as much as possible, before checking the detailed solution samples below.
This section provides detailed, step-by-step instructions on how to build the project. There are many ways to create a project, so feel free to explore different approaches. Please note that these instructions are Al-generated, so errors may occur and the coding blocks may not map to Scratch exactly. But it should serve as very valuable references. Stay attentive as you follow along, and enjoy!
Start by adding the Dancer sprite to your Scratch project. You can either draw your own dancer or choose one from the Scratch library. Set up the stage with a background that looks like a dance floor or a stage. This will be the setting for your dance-off competition.
Create a list of dance moves that the Dancer will perform. Use the 'broadcast' and 'when I receive' blocks to control when the Dancer performs each move. For example, you can create messages like 'move1', 'move2', etc., and program the Dancer to perform a specific move when it receives each message.
Use arrow keys to allow players to replicate the Dancer's moves. Create a variable to track the player's progress and use 'if' statements to check if the player presses the correct keys in the right order. If the player successfully replicates the moves, they advance to the next level.
As players progress, increase the number of moves they need to replicate. You can do this by adding more messages and corresponding dance moves. Use a variable to keep track of the current level and adjust the number of moves accordingly.
Implement sensing blocks to detect if the player correctly follows the sequence of dance moves. Use 'if' statements to compare the player's input with the expected sequence and provide feedback if they succeed or fail.
It is common to have bugs in the code. Here are some of issues you might run into.
Enroll your child in award-winning online Scratch coding classes led live by experts and designed by professionals from Google, Stanford, and MIT.
The challenge continues: Enjoy even more Scratch tutorials dreamed up by other students or use your imagination to make your own!
Explore your child's grade level to find computer science classes and learning pathways that set your student up for success.