I’d like to have a score timer that stops counting when the project stops. I know it will stop counting anyways once the project is over, but I also want it to present the score on screen in the form of a sprite (I know that’s also impossible, as the project would shut down). For both of these, a “wait until project stops” block would be handy, so is there a way to detect that?
I mean you could try the way people on Scratch do:
(you can replace the number in
Although if you use this way the code will run when you pause the project.
Well the entire point of a project stopping is what makes nothing run anymore…hmm…could there be a way to have a block that is running in a project that isn’t running? I doubt it. What you could do is have a timer that detects not when the project is stopped but if it was a video game: when the round is over. If so, than you can display the results and have them stay even after the project is closed. But a block that tells when a project is stopped and then works after it is probably isn’t possible… without mods. Hey maybe i’m wrong.
That’s so creative, thanks!
Just curious, why delay it at all? Wouldn’t “timer>(timerVariable)” also work?
There are “round ending” events in my game, but there’s like 5 so I didn’t want to have to account for all when I could find a “size fits all” solution that I could mimic in other projects as well. I think I’ll go with your way for now though, thanks!
Without the delay, it will just basically run the code over and over again.
Looking back, I also realized there is this block: ![]()
That block basically runs one frame or one block or something and then stops. It was originally designed so then people could code motors on robots to stop moving when the project is stopped.
when I am [stopped V]
also, I think @mark4sisb made some blocks that will help you, but I can’t find them.
[Eight messages about game jams deleted. Please don’t hijack threads, especially if you already have a thread on your other topic. -bh]
Sorry.
