How do I store thousands of questions / answers?

0 favourites
  • 2 posts
  • I'm making a quiz type game, where every round one of thousands of random questions appears and you'll have to type in the answer (a number). Then the programm compares your number with the answer, and gives your percentage of accuracy.

    I was gonna use the array function, but setting all the values by making thousands of different actions is going to be chaotic and maybe cause some lag (?). Is there an easier way? I'd imagine typing the questions and answers in a text file and importing it into construct 2... or smthing like that but I have no Idea how to do it.

    P.S. this is gonna be for a mobile game.

    Sorry for my bad english

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Arrays are the way to go but you can also pre-enter the answers, export as json and then import as json for when the game loads.

    Dictionaries can do the same but are more user friendly

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)