Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Quiz game logic

Discussion in 'Scripting' started by OkeyNik, Oct 10, 2018.

  1. OkeyNik

    OkeyNik

    Joined:
    Mar 14, 2017
    Posts:
    41
    Nowhere can I find a tutorial about the logic of quizzes. For example, I have 4 possible answers and only 1 of them is correct. If you choose a incorrect answer, then quiz will start again, but the previous score will be saved.
    How can I implement this logic?
     
  2. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
  3. V2

    V2

    Joined:
    Dec 7, 2019
    Posts:
    2
    I have an example of a finished application that I made for a portfolio.
    If interested, here is the app, and here are the sources.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,951
    Good idea putting stuff like this up!

    You should make a WebGL build and throw it up on itch.io so more folks can check it out.
     
    Bunny83 likes this.