I am an experienced Flash AS3 programmer, focusing on educational games for kids, but am trying to create games now using Construct 2. I am having no issues with understanding most of the logic of the process, but am having issues with the configuring of the data.
I am attempting to have a math problem appear and then have 5 answers appear also on the screen. Then, the student has to choose an answer. Once they do that, the game will check to see if the answer is correct. If it is, it moves on to the next questions and fills in the question and answers again. Like I said, the logic is easy enough if I can just make the game pull a random number from my arrays.
In AS3, my arrays looked like this:
aThree[0] = ["3 x 0", "2", "3", "0", "1", "4", "0"];
aThree[1] = ["3 x 1", "3", "5", "2", "16", "9", "3"];
aThree[2] = ["3 x 2", "2", "6", "12", "8", "4", "6"];
aThree[3] = ["3 x 3", "6", "8", "10", "9", "14", "9"];
aThree[4] = ["3 x 4", "8", "9", "3", "4", "12", "12"];
aThree[5] = ["3 x 5", "15", "16", "4", "9", "10", "15"];
aThree[6] = ["3 x 6", "10", "18", "9", "12", "6", "18"];
aThree[7] = ["3 x 7", "18", "10", "21", "24", "30", "21"];
Can anyone assist as to how I would create arrays of this style that could be pulled from to fill the text in my game?