Course Summary :
In this course, you will learn how to make any quiz application with randomly generated question from scratch with Unity 3d and C#.
We will create a simple quiz app for kids to learn elementary math. The example application will be built step-by-step, moving from the simplest viable version to more complex versions with more functionality and visual improvements. The ideas from this course can be used to create your own more complex quiz-like application.
The material in this course is divided into 3 Sections. Section 1 features a short introduction to the course.
In Section 2, we will discuss the architecture that is common for all quiz-based applications. In this section we will create the core of our example application. We will talk a lot about random generation, because in our math quiz all the questions and answers are generated randomly. By the end of section 2 we will have a minimum viable quiz application that is suitable for a very formal quiz.
In Section 3 we will add more interactivity to our quiz application. You will learn how to make important elements of quiz apps: progress bars, countdown timers, displaying visual feedback about players` answers, interpreting and showing the final results of the quiz. You will also learn how to add sound to your application. In the last Lecture of Section 3 I will show you how you can easily customize the visual appearance of your application in Unity without writing any extra code.
Follow along with free, downloadable assets
I have tried to save the project that I was working in as often as I can so that you can easily pick up the material from any point in this course. All these projects and the assets used to develop our example quiz will be available for download with this course.
What are the requirements?
You can be an absolute beginner with Unity to take this course. This course is very beginner-friendly and I try to explain everything that I am doing as much as I can.
It would certainly be easier to follow the material in this course if you have some previous experience with C#, but it is not strictly necessary. I do not use any advanced features of C# language in this course.
You should install Unity3d to develop the application that we are making in this course. Any version after Unity 5 will do.
What am I going to get from this course?
learn universal workflow for all the quiz applications.
organize the flow of your application by creating different screen layouts and switching between them at runtime.
learn a lot about random generation since the questions in this application are generated randomly.
how to add countdown timers and progress bars to your Unity applications.
learn how to interpret and show the results of your quiz app to your users.
learn how to add countdown timers and progress bars to your Unity applications.
learn the basics of working with Unity UI. You will learn how to create user interfaces in Unity that will look the same on different resolutions and screen aspect ratios.
get a fully functional Unity project of the quiz application created in this tutorial. You will also get a Bonus project with some visual improvements and decorations.
What is the target audience?
This course is for people who want to make their own quiz application and want to learn how quiz applications are made in general.
The techniques taught in this course can be used to build any other quiz or trivia application and are not limited to making just math quizzes. Other examples might include quiz games like: Who Wants to Be a Millionaire?, Logo Quiz, different psychology quizzes, etc...
Target Audience :
Section 1 - Introduction
About the Author
Introduction to the Course
Section 2 - Section 2
Introduction to Section 2
Creating New Project and Importing Assets
Creating a Background
Making the Title Screen
Customizing the Look of Buttons and Saving Scenes
Writing Code to Switch between Screen Layouts
Creating the Difficulty Selection Screen
Implementing a Transition to the Difficulty Selection Screen
Assembling the Question Screen
Implementing a Transition to the Question Screen
Creating a Question Class
Writing Code to Create Addition Questions
Enhancing Our Question Creation Code
Completing the Cases for Generating All Questions Types
Creating a ToString() method in our Question class
Quiz Application Architecture
Creating a Random Question Generator
Testing the Results of Our Work by Generating Som…om Questions
Showing Questions on the Question Screen
Showing Next Question When the Answer Is Chosen
Adding the Verification Stage and Showing Results Screen
Interpreting the Quiz Results
Showing the Quiz Results and Conclusion for Section 2
Section 3 - Section 3
Introduction to Section 3
Adding a Progress Bar to Our Scene
Writing a Method that Will Update Progress
Showing the Correct Result after User Answers a Question
Adding Correct and Wrong Checkmarks to Each Answer Button
Writing Code to Show Correct and Wrong Checkmarks
Adding Sound to the Quiz
Smarter False Results Generation (Optional)
Creating a Countdown Timer and a Timer Script
Formatting the Time for Printing on the Countdown Timer
Handling the “Time Expired” Situation
Final Bug Fixes and Testing
Conclusions and Bonus