Published on November 16, 2016 by Unity

Watch this video in context on the official Unity learn pages –
www.unity3d.com/learn/tutorials/topics/scripting/quiz-game-intro-and-setup

In this live training session we will look at creating a multiple choice quiz game. We will create the core game loop – timer, score, win and lose states. We will also show code architecture best practices – keeping data and logic separate, and how to structure a game in a way that makes it easy to maintain and extend. We will look at some of the ways we can extend this in session two.

Help us caption & translate this video!

amara.org/v/0Rrx/

Leave a Reply

21 Comments on "Quiz Game – Ending The Game and Q&A [8/8] Live 2016/11/14"

Notify of
avatar

Jim Giant
Guest
Jim Giant
11 days 15 hours ago

Completed quiz. I might try integrating an online leaderboard and some
people are having issues with running it on Firefox but apart from that
pretty happy with the results. Anyone else have a completed quiz up?

www.kongregate.com/games/JimGiant/arms-and-armour-quiz-v1

Boros Gergo
Guest
Boros Gergo
11 days 16 hours ago

Is there a way, or method for create a bigger question database ( from txt file, or similiar) ?
So if I would like to create a 500-1000 questions, it is not good to handle it in inspector .
Thank you for any tip !
cheers! 🙂

DoomCatcher
Guest
DoomCatcher
16 days 17 hours ago
Thanks for the tutorials could unity provide the full project files for download. Also got some confusion with using prefabs in the scripts inspector. I thought it was best practice to use prefabs with prefabs I tried that and got errors saying "Setting the parent of a transform which resides in a prefab is disabled to prevent data corruption"So I just dragged the ones from the scene like you did. What is best practice also I can't figure out why but when I click menu when the round is over the round over canvas is still displayed overlaying the menu… Read more »
Poetry On Everyone's Mind
Guest
Poetry On Everyone's Mind
19 days 19 hours ago

Great tutorial – much appreciated! Any idea when the next part covering questions in json files will be available?

Poetry On Everyone's Mind
Guest
Poetry On Everyone's Mind
10 days 20 hours ago

Well I missed the live training session in order to keep my day job … any idea when that session will be available on youtube? Excited to learn about integrating json data – maybe adding rounds? — so I can remake some quizzes that are using the soon to be extinct parse.com The timely-ness of this tutorial cannot be over appreciated. 🙂

Poetry On Everyone's Mind
Guest
Poetry On Everyone's Mind
19 days 16 hours ago

Thank you!

Unity
Guest
Unity
19 days 16 hours ago

Thanks. The follow up session is listed on the schedule here: unity3d.com/learn/live-training It's on Nov. 28th.

zaizatul ashikin
Guest
zaizatul ashikin
20 days 5 hours ago

hi, i want to ask it is this quiz can be use in virtual reality game?

Jim Giant
Guest
Jim Giant
20 days 13 hours ago

Tutorial done, added highscore feature, added images to be associate with each question. Added a second round of questions in the data controller but can't get it to change round in the game. So far I've added a "next round" button in the roundover pannel but can't for the life of me figure out how to script it.

I'm a noob, arrays confuse me, plz help!

Also getting SUCCEEDED(hr) errors stacking up in the console, doesn't seem to interfere with the game but looks intimidating.

Jim Giant
Guest
Jim Giant
16 days 1 minute ago

+marc cournoyer
For now I've just made one big round instead.
If you get the SUCCEEDED(hr) error just exit and load back up and it should be fine.

marc cournoyer
Guest
marc cournoyer
16 days 6 hours ago

Same for me, cant add any next round…

Randy nisperos
Guest
Randy nisperos
21 days 7 hours ago

what if he gets the wrong answer? what will happen?

SocialSensei
Guest
SocialSensei
23 days 15 hours ago

I like this style for tutorials, instead of one video. It's cleaner and organized :).

Unity
Guest
Unity
19 days 16 hours ago

Thanks for the input!

Jaya Adhisthana
Guest
Jaya Adhisthana
24 days 47 minutes ago

@Unity because i see all creator games..make own asset and not just take sample..and great own asset.. Have instruction for me?To make own asset and how to make animation like demo reel.. Maybe Unity have some tutorial for me and some favorite unity plugin for make asset.. Thanks

Jaya Adhisthana
Guest
Jaya Adhisthana
24 days 1 hour ago

@Unity Hi im newcomer in unity.. How to make animation like demo reel video m.youtube.com/watch?v=GXI0l3yqBrAAnd how i create the asset. Like in demo reel.. Respond please need help..

wpDiscuz