Published on November 30, 2016 by Unity

Watch this video in context on the official Unity learn pages –
www.unity3d.com/learn/tutorials/topics/scripting/question-and-answer

In this live training session we will learn how to extend our basic Quiz Game created in session one to include: loading game data from an external JSON file, editor scripting to create a window for editing game data and very basic saving of player progress using PlayerPrefs.

Leave a Reply

7 Comments on "Quiz Game 2 – Questions and Answers [7/7] Live 2016/25/14"

Notify of
avatar

Poetry On Everyone's Mind
Guest
Poetry On Everyone's Mind
14 hours 23 minutes ago

Excellent – thank you for this! Follow up questions … how might you go about randomizing the order the questions are presented, and randomizing the order the answers are displayed (without having dupes)? Oh and how about adding a second or third etc. round???

Unity
Guest
Unity
13 hours 48 minutes ago

Thanks very much. You could look at a shuffle bag to do the randomization, here's a link: gamedevelopment.tutsplus.com/tutorials/shuffle-bags-making-random-feel-more-random–gamedev-1249

The way the DataController is setup it's hardwired to have 1 round (index 0 in the array) but you could fairly easily write your own functions to make a variable for round number and a button to increment that instead of restarting the game when the round is over. Give it a try!

Sarcastic Toast
Guest
Sarcastic Toast
1 day 23 hours ago

Is there a reason we use Json, instead of xml?

ZoidbergForPresident
Guest
ZoidbergForPresident
1 day 22 hours ago

It's basically the same except that xml allows things like schemas but it's also much more verbose.

Владимир Кисиль
Guest
Владимир Кисиль
2 days 2 hours ago

2016/25/14? 14?

gladiumcaeli
Guest
gladiumcaeli
2 days 6 hours ago

Question does unity have a readme text document ? ( i know i can just create one and just drag and drop in the assets folder or create a new script just to fill it with text. But i was curious) awesome work btw 🙂

Titan Gtx1080
Guest
Titan Gtx1080
2 days 13 hours ago

Pretty cool! could you make a serie on mobile development? it would be kinda cool i think!

wpDiscuz