Difference between revisions of "Trivia Quiz Kit Editor"
|Line 54:||Line 54:|
Revision as of 06:04, 14 June 2018
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.
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.
The game panel allows you to define the following general game settings:
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.
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.
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.
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:
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.