Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Score keeps running up when hovered over sprite
- CJGrubel
-
New Scratcher
4 posts
Score keeps running up when hovered over sprite
Dino Donuts
Above is the link to my game. I am a beginner and made this simple game as my first attempt. In the notes youll see that I've ran into an issue. When dragging the donut over to the dinosaur, if you stay hovered over the dinosaur, the score just continues to go up. How do I solve this?
- medians
-
Scratcher
1000+ posts
Score keeps running up when hovered over sprite
nvm, but is the timer supposed to be 20 or 30?
And can you try doing this (play sound was the old name for start sound)

And can you try doing this (play sound was the old name for start sound)

Last edited by medians (April 7, 2023 03:22:06)
- forumshelper
-
Scratcher
28 posts
Score keeps running up when hovered over sprite
i fixed it using clones this lets you make more than one donut appear at a time https://scratch.mit.edu/projects/832220273/editor
- CJGrubel
-
New Scratcher
4 posts
Score keeps running up when hovered over sprite
nvm, but is the timer supposed to be 20 or 30?
And can you try doing this (play sound was the old name for start sound)
Thank you for the reply! I've made the changes you've suggested, saved the project. You can see now the donut just falls to the bottom of the screen after you drop it to the dinosaur and then nothing happens…
- CJGrubel
-
New Scratcher
4 posts
Score keeps running up when hovered over sprite
i fixed it using clones this lets you make more than one donut appear at a time https://scratch.mit.edu/projects/832220273/editor
Thanks for the reply! Your link returns a ‘page not found’
- medians
-
Scratcher
1000+ posts
Score keeps running up when hovered over sprite
You could detect if the y position of the donut is too low (using the less than operator), then randomize it again if that is the case.nvm, but is the timer supposed to be 20 or 30?
And can you try doing this (play sound was the old name for start sound)
Thank you for the reply! I've made the changes you've suggested, saved the project. You can see now the donut just falls to the bottom of the screen after you drop it to the dinosaur and then nothing happens…
- CJGrubel
-
New Scratcher
4 posts
Score keeps running up when hovered over sprite
You could detect if the y position of the donut is too low (using the less than operator), then randomize it again if that is the case.nvm, but is the timer supposed to be 20 or 30?
And can you try doing this (play sound was the old name for start sound)
Thank you for the reply! I've made the changes you've suggested, saved the project. You can see now the donut just falls to the bottom of the screen after you drop it to the dinosaur and then nothing happens…
I'm not sure this worked either. Waiting on the other person to reply, the link they provided didn't work.
- Discussion Forums
- » Help with Scripts
-
» Score keeps running up when hovered over sprite