Change score by x, but it keeps going

I have 2 student projects where they want their game to change by 1; however, it either changes by something like 14, 19 or it just keeps adding points. Here are the 2 programs


2 Likes

I can see that they are using ‘On sprite of kind overlaps at location’- this means that for every time the code runs it will add again. So if the player sprite was overlapping the other sprite for 14 code runs, it would add 14 points. You could fix this by moving the player out of the way of the thing they are overlapping after the first point is added to insure they wont accidentally overlap again!