Hello everybody,
I am working on my script and have two issues I'd like to get your help with:
1)
when gf clicked set <[score]> to zero repeat until <[score]> =[7] endI run the script and the score exceeds 7, but nothing happens...
Offline
Here's a fixed version of the project.
I'll explain what i changed.
(1) wasn't working because you had a forever block.
For (2), i added a script to check if the whip is touching the horse while spinning, and also activated the broadcast.
Offline
RuslanRuss wrote:
when gf clicked set (score) to [0] repeat until <(score) = [7]> endI run the script and the score exceeds 7, but nothing happens...
You should be checking whether the score is above 6 - the score may increase too quickly for your script to check.
<(score) > [6]>You could also check whether it's more than or equal to 7; the "technically correct, though not natively supported in Scratch" way.
<<(score) = [7]> or <(score) > [7]>>
Offline