For this game, you will play as a mouse avoid the cats while trying to get your cheese puffs.
Go to the Scratch website and create a new project and delete the cat sprite.
Go to the Scratch website using the link below and click on the 'Create' link in the blue bar at the top.
By default, each new project starts with the cat sprite already added. To delete the cat click on the x in the blue circle beside the cat in the sprite list.
For this part, we can go to the Scratch sprite library and look for the mouse sprite.
To add a sprite from the sprite library follow these steps:
You can use search box or the filter links (Animals, People, Fantasy etc) to locate your sprite.
We want the mouse to move wherever our mouse pointer is. For this to happen, we can use the code below to allow the sprite to follow our mouse pointer forever.
when green flag clicked
show
forever
go to [mouse-pointer v]
We can also use the costumes our mouse has. We can animate our mouse by switching between costumes. This will make it so that our mouse may look like it is walking or running.
To do this, we can follow the code:
when green flag clicked
forever
wait (0.1) seconds
next costume
Since our game needs cats, we can go to the sprite library and look for the cat sprite.
Later on, we will be making clones of this cat.
To add a sprite from the sprite library follow these steps:
You can use search box or the filter links (Animals, People, Fantasy etc) to locate your sprite.