HOW IT WORKS: It mostly needs 2 variables, Pausing? and Transition, when the play button is clicked, it changes the Transition variable by 1, and the Video sprite switches it's costume # to the number of the Transition variable, causing it to animate. When you click the pause button, it sets the Pausing? variable to 1, and the Play button checks if the Pausing? variable is 1, if it is, it stops changing the Transition variable, which stops the video playing as well. Use this cool project to put in your next computer project, make it able to switch videos to make a in-Scratch video channel, and more!
Comments
You need to be logged in to post comments
Add a Comment