Está en la página 1de 3

ERASMUS SCRATCH NAME: SPANISH TEAM

PROJECT CEIP ANTONIO MACHADO

Working on a Game GRADE: from 4th GRADE

How to create a Football


game with Scratch DIFFICULTY FROM 1 TO 10: 5

Math Worksheet
Using scratch to work the space: the coordinate and abscissa axes
The purpose of the current worksheet is to present how we can use Scrath to work on the coordinate
and abscissa axes and also working spatial orientation.

Scenario: We need two main characters, two goals and a ball. The characters can move in any direction
and must hit and push the ball with their body to the opposite goal.

1. We can choose any scene although a


very appropriate one would be the
playing-field.

2. Now we have to choose the two


players, for example the cat and the
ghost (don´t forget to rotate the
second player to the left).

3. And finally choose a ball and two


goals (you have to paint the goals has
objets)
4. The cat sprite has to be able to move
around all the scenario: as it is located
on the left, we have to use keys on the
left of the keyboard

CEIP ANTONIO MACHADO PRIMARY SCHOOL. Joaquín Páramo. 1


5. The same instructions for the ghost:
as it is located on the right, we use the
arrow keys of the keyboard.

6.Now we have to define where the


ball can move: when it bounces on the
first player (situated on the left) it has
to go to the right, moving between 45º
and 135º (random movements).

7. When it bounces on the second


player (situated on the right) it has to
go to the left, moving between -45º
and -135º (random movements).

8. It is necesary to define a variable for


each goal.
The goal situated at the left will be
“objeto2” and when the ball touchs it,
one point will be added to the Ghost
scoreboard.
The ball goes to the center of the field,
it waits one second and moves to the
right in a random direction.

9. The goal situated at the right will be


“objeto3” and when the ball touchs it,
one point will be added to the Cat
scoreboard.
The ball goes to the center of the field,
it waits one second and moves to the
left in a random direction.

CEIP ANTONIO MACHADO PRIMARY SCHOOL. Joaquín Páramo. 2


10. To start the game, the ball is
located in the centre of the field (0, 0)
and the scoreboard starts with 0 points
for each player.
We wait one second before starting
and the balls moves in an
unpredictable side.

CEIP ANTONIO MACHADO PRIMARY SCHOOL. Joaquín Páramo. 3

También podría gustarte