Creating a Game in Scratch - Coconut Catcher

Coconut catcher is an easy game made in Scratch. You can move the monkey with the Left and Right arrow keys and catch as many coconuts as you can within 30 seconds.

I will explain below how to created this game.

The Sprites used

The coconut is a photograph taken from the internet. I have drawn the coconut trees in the costumes editor. The monkey sprites and the backdrop are from the Scratch's sprite library. There are two sprites showing Time over and the Win message. 

Code for the monkey sprite

Code for Coconut 1

Code for Coconut 2

Code for Tree1 and Tree2

Code for the Win message

Code for the Time over message

Variables used 

You can play the embedded game or play and also watch its coding from this link.