jdejean
I know the array can be pretty tricky to follow at first...
There is no reason why you can't stretch the layout to hold as many questions as you want, or to add additional layouts.
I updated my sample to show you how I would approach it. First I combined all the answer sprites into a single object to simplify the code. Each object has animations a through e, and instance variables that tell the game what question it is for, and what the answer should be if the player collides with it.
(so, when you add answer objects to the layout, you set the animation, question number, and answer for each object. You also add a QuestionText object for each question and set its question number field as well.)
Then, instead of having one global variable called CurrentQuestion, all the answer objects know what they belong to. Each instance of the QuestionText object also has a question number. As soon as the question array has been loaded from local storage (or reset), the game updates them with the text from the array.
so, the player can run around the layout, read the questions and change their answers as often as they like...
I made the Show/Hide values pop up a text box with all the questions and stats - otherwise you would need instances of the val1a(b,c...) text fields above each answer object... the text box isn't formatted very nicely, but lets you see all the stats from the array. The download button still works the same way as before.
https://www.rieperts.com/games/forum/survey_platform.capx