What is the most effective way to create random questions without repeating them? <Google Translate
Governador
1) Add all the questions to an array.
2) Use a shuffling technique to randomise the order of the questions.
3) Call the questions in sequence from the array.
Here's a capx that shows a way to shuffle - there are other techniques out there if you search the forums and tutorials:
https://www.dropbox.com/s/h8pmfmjgfkvu8 ... .capx?dl=0
Governador 1) Add all the questions to an array. 2) Use a shuffling technique to randomise the order of the questions. 3) Call the questions in sequence from the array. Here's a capx that shows a way to shuffle - there are other techniques out there if you search the forums and tutorials: https://www.dropbox.com/s/h8pmfmjgfkvu8 ... .capx?dl=0
That's exactly what I was looking for, I put it in my project and it's working perfectly!
Thank you <3
Develop games in your browser. Powerful, performant & highly capable.
Governador Glad to be able to help