I really don't understand. It seems to be the same as what the last capx does. I used the digits 0123 instead of ABCD mainly as a simplification. You can set the frame images to whatever.
Anyways I had another idea on how to do the shuffling. Might me useful.
Basically a1, a2 and a3 are the three answers. a1 is the correct one. ansIndex is a number 0-2 that offsets the order of the answers. The final step is to display the three answers by converting ABCD to 0123 to set the frames.
Events 1-7 is enough to generate the answers. You can use any other solution to display them after that.
https://www.dropbox.com/s/fusumitrtn0q3ya/shuffle_combinations2.capx?dl=1
Thank you so much for the effort to help me. I'll make sure to buy you several coffees :)
Could I continue to use the previous way to shuffle? I wouldn't want to change that now. I'm using your first example as a base. I know this game is a bit confusing and I'm not concerned with its mechanics anymore but with some features of C3 that I can use to improve it.
A question: I am using use 1 sprite with 4 frames with letters and it will be automatically shuffled. I created another sprite with 4 frames with numbers, also shuffled, and the function of the numbers is to serve as a sequence that I have to order the letter frames.
For example:
The first sprite (letters) with shuffled frames resulted in DCAB
The second sprite (numbers) with the shuffled frames resulted in 3142
I would have to reorder the instances of the first sprite so that it positions the frames according to the numbers of the second sprite. Would be like this:
D (3) = would have to go to the third position
C (1) = would have to go to the first position
A (4) = would have to go to the fourth position
B (2) = would have to go to the second position
How do I distinguish each of the first sprite's instances to change the frames according to the new order?