Creating Game in Scratch - Feeding a Shark

Let us create a game in Scratch. This game has a Shark in it. As you move your mouse pointer across the screen, the shark seems to follow the pointer. There are several sea creatures and fish appearing randomly on the screen. When the shark touches a fish, the fish disappears and the shark grows in size. It is a small growth. But after some time you will notice it growing. After growing a certain amount, a message displays that the shark is not more hungry, and the game is over.

Let me explain how to create this game.

I will explain the basic of this game, you can add extras later.

I have used a blue colored sprite as a background, an image of a shark and a small fish.
The background sprite is enlarged and it moves with the mouse movement, while the shark stays in the middle. This creates the effect that the shark is moving. The fish also moves in the same way as the background sprite. In the same way all the background images move.

You can look at the coding by clicking on "See Inside" button on this link

Popular posts from this blog

Introduction to Scratch Programming for ICSE Class 5

Hour of Code - Frozen with Anna and Elsa

Programming for kids - Course 4 # Artist for loops