This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-02-16 03:35:51

MargusK
New Scratcher
Registered: 2013-02-15
Posts: 1

Need help !

I have to make a pong game like this: http://scratch.mit.edu/projects/SampleProjectsTeam/62832
But there:
1)has to be 3 lives
2)you will get 1 point each time when the ball touches the paddle
3) the speed of the ball has to go faster after 10 points, 20 points, 30 points and so on...
4) when you get 100 points you'll win but when you lose all your lives then it's game over.

Offline

 

#2 2013-02-16 04:48:44

Sqervay
New Scratcher
Registered: 2012-10-28
Posts: 52

Re: Need help !

1) Make a variable called life. If the ball touches the ground, change it by -1. And if it's 0, you can use the 'stop everything' block.
2) Make a variable called 'points' and change it by 1 when it touches the paddle.
3) Make a speed-variable for the ball, which changes, if score is 10,...
4)

If points = 100
  switch to costume [YouWon]
  stop everything
end

Offline

 

#3 2013-02-16 04:54:37

Sqervay
New Scratcher
Registered: 2012-10-28
Posts: 52

Re: Need help !

4)

If < (points) = [100] >
  switch to costume [YouWon]
  stop all
end

Offline

 

Board footer