multiple choice questions?
hey, okay so i created 3d text in alice, i made my essay appear there and i made it move slowly so the person could read it and after the essay is done, i want a penguin to come out and ask them 10 multiple choice questions to see if they were paying attention. so how could i do that? pictues will also help alot. thank you very much.
|
I wrote a similar program for my King Arthur presentation. Take a look at that to see an example of how you might do it. It's called King Arthur Trivia.
[url]http://www.alice.org/community/showthread.php?t=2034[/url] |
Multiple choice questions
Perhaps create each question as a powerpoint slide, export each slide as an image, import each image as a billboard... possible answers included on the slide
(perhaps create an array or array list of these slides. to use the for each in control) each possible answer numbered (1, 2, 3, 4...) not letters (a, b, c, d...) Display each billboard, one at a time Use the getIntegerFromUser function to have the user enter their choice Check their answer against the correct answer and -- add one to correct answer variable is correct -- add one to incorrect answer variable if incorrect Display results after all questions are asked... Hope this helps! Don Slater Alice Project |
All times are GMT -5. The time now is 03:32 AM. |
Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.