Trivia Quiz Kit Manual

From gamevanilla wiki
Revision as of 05:21, 28 June 2018 by David (Talk | contribs) (How can I have the text of the game in a different language (e.g., Russian, Chinese, etc.)?)

Jump to: navigation, search

Manual

How can I add a background music?

We use a background music in the demo but we are not allowed to redistribute it, so you need to do it manually yourself. You can find the download link in the Credits.pdf file located inside the Sounds folder. Once you have downloaded the music and imported it into your project (remember to set its Load Type as Streaming, which is the recommended setting for background music), you just need to drag it into the Audio Source component of the BackgroundMusic object located in the home scene.

What are the game screen settings?

The GameScreen component used in the kit's game scene provides several settings that may be helpful during development. The first one is the Question order, which may be Randomized (the one you will generally want in your game, where the questions happen in random order) or Test (where the questions happen in the order specified in the editor, which may be particularly useful during testing).

game_screen_settings_1.png

The second one is the Question pack to load, which may be All (where all the packs from the specified question pack set are loaded) or Single (where a single pack, with the name specified in the Question pack name field, will be loaded).

game_screen_settings_2.png

How can I have the text of the game in a different language (e.g., Russian, Chinese, etc.)?

The kit uses TextMesh Pro for its text rendering, which is an official asset developed by Unity that provides advanced text rendering capabilities (including support for different languages). Please note the included font does not support all those different languages, though; you will need to create your own font asset with a font that supports your language. We recommend watching this video and reading this forum post in order to learn how this process works.