Exercise: pause_me
The exercise I would like you to complete by the beginning of class on Monday/Tuesday is
about pausing audio and making buttons visible and invisible.
Building on the canyon exercise (with loaded sound) create the following interface:
When the user clicks "pause" audio the audio pauses. There is only ONE button on the stage at any time. A "pause" button when the user is viewing the show and a "restart" button when the show is paused.
Specifics:
- Stage size: 800 x 600
- Background color: your choice
- Frame rate: 30 fps
Bottom line, show me you understand how to externally load sound and pause it. Also show you know how to make buttons visible and invisible. |