Educational game design with MIT App Inventor
https://gallery.appinventor.mit.edu/?galleryid=e90f5e6c-db1f-4037-bd61-fc99ef089382 http://ai2.appinventor.mit.edu/b/2okb Firstly I created my first page as a starting page, when the "Start the game!" button is pressed the "Screen2" initializes. In the second page I set the blocks for the answers, buttons, images, and text by using the initialize global block, then I created the "ShowQ" procedure which is the main procedure that is needed for my game. "ShowQ" begins when the screen2 is initialized. "ShowQ" procedure creates the questions that appear in the game and brings them on the screen, in the beginning of the "ShowQ" I used 2 blocks to add +1 to the value of "QuestionNumber", this allows the game to begin since the normal value of the "QuestionNumber" is 0 and changes the question when the previous one is done. I added the "set ... to" + "text" block to change texts and images
Comments
Post a Comment