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

#1 2012-10-27 00:04:46

nisarg007
New Scratcher
Registered: 2012-10-27
Posts: 1

I made a game of air hockey Everything is allright except the scoring

Can anybody please help me with the scoring system? Here is my scratch project? Sometimes the score is incremented by 2 dont know why this is happening

http://www.mediafire.com/download.php?hfbeb8n3rbd02h4

Offline

 

#2 2012-10-27 04:35:02

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: I made a game of air hockey Everything is allright except the scoring

Try changing your

broadcast [round new v]
to
broadcast [round new v] and wait
This will broadcast it and wait until it's finished starting a new round, therefore the sprite can't detect twice.
What was happening was the sprite was touching sprite7, then before it had finished making a new round, detecting it again.

Last edited by Splodgey (2012-10-27 04:36:57)

Offline

 

Board footer