In this project, players help Kitty climb a tall tower by moving left and right to dodge obstacles like falling objects and surprises. Kitty can collect items that help her gain points. The game features different costumes for Kitty that change when she collects enough points, adding a fun twist. Simple motion arrows and sounds accompany every successful move.
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!
First, add the Kitty sprite to your project. Position Kitty at the bottom center of the stage to start. This will be the starting point for the game.
Use the 'when right arrow key pressed' and 'when left arrow key pressed' blocks to move Kitty right and left. Use 'change x by 10' for right and 'change x by -10' for left to simulate movement.
Create a new sprite for the obstacles. Use a 'forever' loop to make the obstacles fall from the top of the screen. Use 'go to x: pick random -240 to 240 y: 180' and 'change y by -5' inside a 'forever' loop to simulate falling.
Add a new sprite for the collectible item. Use a 'when touching Kitty' block to increase the score by 1 and hide the item. Use 'show' and 'go to random position' to reset the item after collection.
Add multiple costumes to the Kitty sprite. Use an 'if' block to check the score and switch costumes when certain scores are reached. For example, switch to a new costume when the score is 5.
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.