Banan’attack

Banan’ attack is a basic game, you will catch as many bananas as you can by shooting with a ball. Now, we will explain how we have programmed it.

The main character is a brown monkey. Behind him, the jungle. Bananas fall from the sky, and the monkey must touch the bananas with a ball.

We will present you the program about the monkey

The monkey can go on the left and on the right:

This program is used to move the monkey:

When the monkey isn’t lucky, it is hidden:

 

We will present  you the program about the ball:

When you press the space bar the ball leaves.

when you lose all your lives, the ball is hidden.

We will present  you the program about bananas:

This program is to locate, time and descent of the banana (We made this program for five bananas with different positions)

When you will shoot in the banana with the ball you will get one point:

so, when a banana touches the monkey, the monkey loses a life.

We will present you the program about hearts (lives):

When you lose a life, you lose a heart:

This program allows to set the score to zero:

You can locate the hearts with this program:

You can play: https://scratch.mit.edu/projects/210874468

* All the pictures from Scratch.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *