From the Media palette, drag over a Sound component onto the Viewer pane (#1).Go to the text field in the Properties pane and delete the display text of your button component (#4).Click “OK” again on the properties pane to close the small popup window (#3). Select the file, then click “OK” to close the selection window. Click the "Add" button and browse to where you saved the 8-Ball image. Under "Image" click on the word "None." and a small selection window will pop up (#2). Set the button image to an 8-Ball image:Ĭlick on your newly added button to see its properties in the Properties pane on the right.On the left column of the Designer, open the Basic palette, and drag a Button component over to the Viewer(#1).Save the media files to a convenient location that you will remember. Right click (control-click) on the link of the image or sound, then choose "Download" or "Save As". Download one image and one sound file from below to be used in your app.Click "New" and name your project something like "Magic8Ball"(note: spaces are not allowed). Click "My Projects" in the upper left corner of the screen, which will take you to your list of projects. If you have already made an app (such as Hello Purr), you will automatically be directed to the Designer with the last project you worked on showing.See setup instructions above if you are not sure how to sign in. To open the App Inventor Designer window, go to and click "Invent".To get started, first we'll make a button with a picture on it, and program it to play a sound when the button is clicked. The final Magic 8-Ball App will deliver a prediction from a list that you have designed. Suggestions for Further Exploration: Text-to-Speech, Rotating image, Custom prediction lists.Part Three: Shake the Phone, Get a Prediction + Hear a Sound.Part Two: Click the Button, Get a Prediction + Hear a Sound.Set up computers and phones or emulators.Basic App Inventor tutorial - getting around.Optional supporting hard copy materials such as the App Inventor Overview Handouts, and the PDF version of this lesson.A selection of images and sounds are available at the App Inventor Media Library.Correctly use the following App Inventor components: accelerometer sensor, image, list-picker.Navigate the App Inventor environment: designer, blocks editor, emulator and/or physical phone. ![]() When activated, your 8-ball will deliver one of its classic predictions, such as “It is decidedly so” or “Reply hazy, try again.” Learning GoalsĪfter completing this app, you will be able to: This introductory module will guide you through building a “Magic 8-Ball” app with App Inventor. For tutorials about App Inventor 2, go to the App Inventor 2 Tutorials. App Inventor Classic This information pertains to App Inventor 1 (Classic).Lesson One: Magic 8-Ball Predicts the Future
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |