Creating a Cross-Platform Quiz App using Unity and C#

SGD 12 | 599

Redeem Coupon:
Loading the player...
Game development

15 days Money back Gurantee

Unlimited Access

Android, iPhone and iPad Access

Certificate of Completion

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...

Pre-Requisites :

basics of programming, basics of Unity

Target Audience :

App and software developers can use Unity to create a quiz application with randomly generated questions from scratch

Curriculum :

Section 1 - Introduction
      1 : About the Author
      2 : Introduction to the Course
    Section 2 - Section 2
        3 : Introduction to Section 2
        4 : Creating New Project and Importing Assets
        5 : Creating a Background
        6 : Making the Title Screen
        7 : Customizing the Look of Buttons and Saving Scenes
        8 : Writing Code to Switch between Screen Layouts
        9 : Creating the Difficulty Selection Screen
        10 : Implementing a Transition to the Difficulty Selection Screen
        11 : Assembling the Question Screen
        12 : Implementing a Transition to the Question Screen
        13 : Creating a Question Class
        14 : Writing Code to Create Addition Questions
        15 : Enhancing Our Question Creation Code
        16 : Completing the Cases for Generating All Questions Types
        17 : Creating a ToString() method in our Question class
        18 : Quiz Application Architecture
        19 : Creating a Random Question Generator
        20 : Testing the Results of Our Work by Generating Som…om Questions
        21 : Showing Questions on the Question Screen
        22 : Showing Next Question When the Answer Is Chosen
        23 : Adding the Verification Stage and Showing Results Screen
        24 : Interpreting the Quiz Results
        25 : Showing the Quiz Results and Conclusion for Section 2
      Section 3 - Section 3
          26 : Introduction to Section 3
          27 : Adding a Progress Bar to Our Scene
          28 : Writing a Method that Will Update Progress
          29 : Showing the Correct Result after User Answers a Question
          30 : Adding Correct and Wrong Checkmarks to Each Answer Button
          31 : Writing Code to Show Correct and Wrong Checkmarks
          32 : Adding Sound to the Quiz
          33 : Smarter False Results Generation (Optional)
          34 : Creating a Countdown Timer and a Timer Script
          35 : Formatting the Time for Printing on the Countdown Timer
          36 : Handling the “Time Expired” Situation
          37 : Final Bug Fixes and Testing
          38 : Conclusions and Bonus


Instructor :

Shaun Spalding


Shaun is an intellectual property attorney who represents Youtubers, game developers, and digital media companies. His clients include some of the top 40 most-viewed and most-subscribed Youtube channels in the world. He has spoken at conferences like SXSW Interactive, SXSW Music, Vidcon, and New Media Expo on legal and business topics. Outside of law, he is a published writer, transmedia producer, and former filmmaker and graphic designer. He has over 30,000+ followers on Twitter, over 140k followers on Vine, and 6000+ followers on Tumblr.


Average Rating