Generate Unique Times Tables Questions (array)

Discussion and feedback on Construct 2

Post » Sun Mar 17, 2013 10:45 pm


I had a great deal of difficulty working out how to use arrays to generate a set of unique Times Table questions.

i.e., I wanted

6 x 2
3 x 2
5 x 8
7 x 9

But if 3 x 2 came up again it had to be discarded and different equation generated.

I have solved my problem and I thought I would post a commented capx in case some one has a similar issue in the future.

Also I am quite keen to post to see if I could have done this more efficiently. For example, I am not so happy that I need to use global variables.


czar2013-03-17 22:47:27
Posts: 437
Reputation: 6,094

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 16 guests