Trivia Quiz Kit Editor

From gamevanilla wiki
Revision as of 06:04, 14 June 2018 by David (Talk | contribs) (Questions tab)

Jump to: navigation, search

Introduction

Trivia Quiz Kit includes a complete visual editor that allows you to easily define many properties of your game without the need for programming. You can access the editor via the Window/Trivia Quiz Kit/Editor menu option.

Game configuration tab

The game configuration tab allows you to specify many general properties of your game.

The Asset field is where you put the GameConfiguration asset that will store the general properties of your game. We provide one by default; it is named GameConfiguration and is located in the TriviaQuizKit/Resources folder. Alternatively, you can create one from scratch by right-clicking on the project window and selecting the Create/Trivia Quiz Kit/Game configuration option.

game_configuration_tab_asset.png

Categories

The categories panel allows you to define the categories available in your game. Every category has a name and an associated image; both will be used at runtime in the game.

game_configuration_tab_categories.png

Game

The game panel allows you to define the following general game settings:

  • Number of questions: The number of questions asked in a game.
  • Time limit: The time limit (in seconds) to answer a question in time limit mode.
  • Question score: The score given when answering a question correctly.
  • Bronze: The minimum number of questions to answer correctly for the player to receive a bronze trophy.
  • Silver: The minimum number of questions to answer correctly for the player to receive a silver trophy.
  • Gold: The minimum number of questions to answer correctly for the player to receive a gold trophy.

game_configuration_tab_game.png

Game UI prefabs

The game UI prefabs panel allows you to define the UI prefabs to use for every type of question. The kit includes several ones by default (with image variations) that are located in the Trivia Quiz Kit/Resources/QuestionUI folder.

game_configuration_tab_game_ui_prefabs.png

Questions tab

The questions tab allows you to create the available questions in your game.

The Asset field is where you put the QuestionPack asset that will store a group of questions. We provide one by default; it is named QuestionPack and it is located in the TriviaQuizKit/Resources folder. Alternatively, you can create one from scratch by right-clicking on the project window and selecting the Create/Trivia Quiz Kit/Question pack option. You can create as many question packs as you want; this is useful in order to provide some logical grouping if you have many questions.

questions_tab_asset.png

In order to create a new question, click on the + sign on the Questions list and select the type of question you want to create in the dropdown that will appear. If you want to delete an existing question, just select it and click on the - sign.

questions_tab_create_question.png

When you select a question, a detail panel will appear on the right side. This panel allows you to edit the specific information of that question:

questions_tab_question_detail.png

In single-choice questions, the first answer is the correct one. In multiple-choice questions, the first X answers are the correct ones, where the number X is specified in the Corrects field.