Like the previous demo, add all the components of the app.
Edit the blocks to make the sound and random outcomes work.
(Optional) You can adjust it so when the phone is shaken, the 8 ball works.
From the Sensors palette, drag over an AccelerometerSensor sensor component. Notice that it automatically drops down to the “Non-visible components” area of the Viewer window.


No comments:
Post a Comment