The Corona Game in Scratch

by Nithish arjun in Circuits > Software

621 Views, 2 Favorites, 0 Comments

The Corona Game in Scratch

corpic.jpg

Hi friends, I have created a Game in scratch to tell the importance
of using sanitizer and mask in this" New Normal" in a fun and learning way.


Sprites used:

  • Earth
  • Doctor
  • Corona virus
  • Sanitizer bottle
  • Mask

Code Block for Doctor

doccccc.jpg

The Doctor sprite moves in the direction of mouse in "y" direction.

Aim of the game:

  • Catch the mask and sanitizers for points
  • Touch to corona to prevent it reaching the Earth
  • If Corona touches the Earth , Game is over.
  • Get 50 points to save the Earth and complete the game.

Code Block for Sanitizer and Mask

maskkkkkk.jpg

The Sanitizer and mask sprites keep moving towards the doctor , to help him gain points.

When they touch the Doctor sprite , the point increases by 5 .

Code Block for Corona Sprite

corogame.jpg
corrrrr.jpg

The corona sprite keeps moving towards the earth.

The aim of Doctor is to touch it and Prevent it reaching the Earth .

Thus, saving our lives.

If the corona sprite touches the earth , then the Game is over.

If we reach 50 points ,we complete the Game.

Stay Home, Stay Safe

preview (3).jpg

So friends , Lets all keep coding and have fun in this New Normal.

Stay Home!! Stay Safe!!

We are all in this together, and we will get through this together.!!

Thank You.