G
Gitu
Guest
Hello GMC.
I'm trying to make a quiz game, but I've stumbled across a problem wherein sometimes, the same question appears, even if it already appeared earlier.
I need some help so that, if the question already appeared and got answered (either right or wrong), it will never appear for the rest of the test until the game is replayed.
I don't have sprites yet as I am testing questions using text drawing, once I get this fixed I can start making real questions.
NOTES:
You can find my sample code in this PasteBin link: http://pastebin.com/tApJ8L9y
I'm trying to make a quiz game, but I've stumbled across a problem wherein sometimes, the same question appears, even if it already appeared earlier.
I need some help so that, if the question already appeared and got answered (either right or wrong), it will never appear for the rest of the test until the game is replayed.
I don't have sprites yet as I am testing questions using text drawing, once I get this fixed I can start making real questions.
NOTES:
- Since it's only testing, the press <ctrl> event simulates the question being "answered"; but in the actual game, it will be replaced by the answer button objects, which the press ctrl event simulates.
- I use variable q_randomizer to pick random numbers, these numbers represent questions.
You can find my sample code in this PasteBin link: http://pastebin.com/tApJ8L9y