You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In scratch 2.0 if you delete a clone while it is busy executing a [play note for beats block], or a [play sound until finished] block, the sound cuts off.
This is useful for when you don't know in advance how long to play a note or if you don't want to play the entire sound.
It should be noted that [play sound] (now known as [start sound]) plays to completion regardless even in scratch 2.0
Actual Behavior
The sounds (and/or notes) continue to completion regardless of whether or not the clone is deleted partway through.
Steps to Reproduce
Create a script:
[When I start as clone]
[play note 60 for 10 beats]
Create another script:
[When I start as clone]
[rest for 2 beats]
[delete this clone]
Then create a clone.
Operating System and Browser
Windows 7
Google Chrome Version 67.0.3396.99 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
This is likely a dup of scratchfoundation/scratch-vm#1410 (though that mentions only sounds – the principle is the same, in that it's to do with Scratch 2 stopping sounds/notes playing in scripts that get terminated, and which Scratch 3 no longer does).
Expected Behavior
In scratch 2.0 if you delete a clone while it is busy executing a [play note for beats block], or a [play sound until finished] block, the sound cuts off.
This is useful for when you don't know in advance how long to play a note or if you don't want to play the entire sound.
It should be noted that [play sound] (now known as [start sound]) plays to completion regardless even in scratch 2.0
Actual Behavior
The sounds (and/or notes) continue to completion regardless of whether or not the clone is deleted partway through.
Steps to Reproduce
Create a script:
[When I start as clone]
[play note 60 for 10 beats]
Create another script:
[When I start as clone]
[rest for 2 beats]
[delete this clone]
Then create a clone.
Operating System and Browser
Windows 7
Google Chrome Version 67.0.3396.99 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: