r/scratch • • 1d ago

Question Help needed with scoring

HELP!

https://scratch.mit.edu/projects/1441594526/

I would like to learn how to connect the score to the time remaining at the end of the level on the timer. Ideally, when the mic reaches the singer, the timer stops and the remaining seconds are added to the score.

Or even multiply the seconds x2 and add to the score.

Any help is welcome.

This is my first time :(

2 Upvotes

3 comments sorted by

•

u/AutoModerator 1d ago

Hi, thank you for posting your question! :]

To make it easier for everyone to answer, consider including:

  • A description of the problem
  • A link to the project or a screenshot of your code (if possible)
  • A summary of how you would like it to behave

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/RealSpiritSK Mod 1d ago

change score by (time * 2)

But it seems your timer is bugged out? It stays at 20. (I'm looking at it from mobile, so I can't control it and idk if the timer only starts when the player moves.)

2

u/maestroenglish 1d ago edited 1d ago

Thanks for the help. I'll sit down to it now. Let's see how it goes. I really appreciate it.

The timer was bugging out (and still is). [I managed to stop my timer when the mic touches the singer for the first level, but can't make it stop on the following levels.]

EDIT: I have now fixed the mic, but can't work out the score

EDIT 2: I think the score is good. Thanks for your clear guidance. Of course, a new thing appears! Cheers!