ScratchData LogoScratchData
Back to drjay's profile

How to Control Local Properties with a Global Variable

DRdrjay•Created March 26, 2015
How to Control Local Properties with a Global Variable
1
2
30 views
View on Scratch

Instructions

This program demonstrates how to control volume, which is local to a sprite, with a global variable. As the program runs, the boy, who plays the saxophone, gets softer and softer. At the same time, the girl, who plays the flute, gets louder and louder. Note that there is only a single variable controlling the volume: "Global Volume". The code in the boy and girl sprites uses this single variable to increase volume in one case and decrease it in the other.

Description

73.212 / 91.212 Sound Thinking Univ. of Massachusetts Lowell Spring 2015 Semester Profs. Jesse Heines, Dan Walzer, and Gena Greher

Project Details

Project ID54567006
CreatedMarch 26, 2015
Last ModifiedMarch 26, 2015
SharedMarch 26, 2015
Visibilityvisible
CommentsAllowed