
Try Shark Chasing Fish Game for fun Scratch Project!
Shark Chasing Fish Game
Platform: Scratch
Level: beginner
Create a simple game where the shark moves left and right using arrow keys. When the shark touches the fish, the fish hides by switching to a hidden costume and plays a splash sound. The fish reappears after a short wait by switching back to its normal costume.
Backdrop And Sprite Images For The Project



Shark Chasing Fish Game: Solution Outline
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.
- Add the Shark and Fish sprites to your project.
- Make the Shark move left and right with arrow keys.
- Make the Fish hide and play a sound when touched by the Shark.
- Make the Fish reappear after a short wait.
Shark Chasing Fish Game Sample Solutions
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!
Open Scratch and create a new project. Delete the cat sprite. Click the 'Choose a Sprite' button and add a Shark sprite and a Fish sprite from the library.
Select the Shark sprite. Add code so that when the right arrow is pressed, the shark moves right, and when the left arrow is pressed, the shark moves left.
Select the Fish sprite. Add code so that when the Fish touches the Shark, it switches to a hidden costume and plays a splash sound.
After the Fish hides and plays the sound, wait for 1 second, then switch back to the normal costume so the Fish reappears.
Common Potential Issues in Shark Chasing Fish Game Project
It is common to have bugs in the code. Here are some of issues you might run into.
- Forgetting to use the correct costume names for hiding and showing the Fish.
- Not using 'forever' loops, so the Shark or Fish only responds once.
- Not checking for touching the correct sprite (Shark) in the Fish code.
Extra Challenges For Shark Chasing Fish Game
- Add a score that increases each time the Shark catches the Fish.
- Make the Fish move around the screen to make the game more challenging.
Learn Scratch Coding Skills
Enroll your child in award-winning online Scratch coding classes led live by experts and designed by professionals from Google, Stanford, and MIT.
Grades K-2
Start coding with ScratchJr, and make interactive stories and gamesGrades 2-6
Code games and animations with beginner-friendly Scratch codingGrades 5-9
Fast-paced introduction to coding: build games, stories, and animationsGrades 3-6
Code a new fun Scratch game every weekExplore More Fun Scratch Practice
The challenge continues: Enjoy even more Scratch tutorials dreamed up by other students or use your imagination to make your own!
Find Best Classes For Your Child
Explore your child's grade level to find computer science classes and learning pathways that set your student up for success.