Hi everyone !
I know that the question I'm going to ask has already been asked several times. I've tried the techniques I found on the forum, but the way I want to randomize my data is a bit more complicated (I guess it's not, but I can't figure out what I'm doing wrong).
First, I'm new to game programming and I'm probably making terrible mistakes, please forgive my incomptence.
What I want to do
I want to make a trivia game that takes the form of several mini-games. But that is not important.
I want to load the questions (and their related answers) from an external .txt and randomize them in a way that the same question doesn't appear twice.
I get the logic behind both techniques :
I successfully get my questions and answers from the .txt
I successfully randomize them
I don't manage to avoid duplicates
Here is a link to my .capx : drive.google.com/file/d/0B8I4fWcKPnzhZDVoMXdsbzdtTk0/view?usp=sharing
If someone can help me in another way than giving me a link to the following tutorials, I would be grateful forever.
randomize-array_p587279?#p587279
how-do-i-get-a-random-nr-not-to-repeat_p808042?#p808042
Thank you.
Edit : sorry for the links, it seems like I don't have the permission to post well-formated URLs.
Edit2 : ok now I understand why I can't post URL.