APP INVENTOR SECOND TASK: MAGIC 8 BALL:
The first step for creating this app was to add in the components to make this game.
This included an image, text and a sound.
The image is a button that has had an image to replace the text with.
The text was created using a label that displays the first question asked to the user. This is then placed in a vertical arrangement so that the responses of the eight ball are also displayed in the same area as the question.
The text was created using a label that displays the first question asked to the user. This is then placed in a vertical arrangement so that the responses of the eight ball are also displayed in the same area as the question.
The next step was to open the blocks editor and then add in the commands so that the eight ball displayed an answer when it was clicked.
The eight ball has eight possible outcomes for answers that it can give as an answer. When an answer is given a sound is also accompanied by the response.
The eight ball has eight possible outcomes for answers that it can give as an answer. When an answer is given a sound is also accompanied by the response.
The final step was to connect the app into the app inventor emulator (or android phone) to test this app.
No comments:
Post a Comment