Tables Question.

I am creating a quiz app. I want the user to choose the difficulty of the questions.
Options:

Easy
Not So Easy
Leave While You Still Can

Can I add all the question in one table 1-300?
Easy Questions 1-100
Not so Easy Questions 101-200
Leave While Still Can Questions 201-300

Or would it be easier to make 3 tables. 1 for each level of difficulty?

Is there a video or template/demo out there somewhere showing this exact same situation?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I recommend you use a single table. It can be a pain to use separate tables and have to constantly choose each table from the expression editor. Beyond that reason, it doesn't really matter which method you choose.

    You can do nice things with math such as (when selecting a question and assuming game.difficulty is 1, 2, or 3):

    Change attribute game.nextQuestionRow to random(1,100)+100*(game.difficulty-1)

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.