Make Quiz game in 14min : How to make a Quiz Game in unity
Вставка
- Опубліковано 4 вер 2024
- Get project files
➡️ Patreon : / quiz-game-unity-asset-...
➡️ Website: grafikgames.co...
In this tutorial, you will learn how to create a Quiz Game in Unity. Follow along as we go step by step in making a Quiz Game with 4 Replies in your Unity game. From setting up the project to implementing game mechanics, you'll gain valuable insights into game development.
➡️ Play the Quiz game
play.google.co...
🤝 Connect with Me:
Website: grafikgames.com
Instagram: / grafikgames
Patreon: / grafikgames
🔔 Subscribe for More Tutorials
If you like what I'm doing, don't forget to like, share, and subscribe! let me know what do you think about this video in comment.
Other videos that will teach you:
➡️ How to Make Pause Menu: • Unity Pause Game : How...
➡️ Camera Follow Car : • Unity : Camera Follow ...
➡️ Shoot ball to target direction: • Unity : How to Make a ...
Thanks man. You deserve more subscribes and likes. Its working fine.
Beautiful, very simple and elegant. Thnx!
You are welcome.
Thanks a lot.
Thanks for the help!
very nice video excellent
Question: How did I add the last thing? All questions: How were they linked in the code? Please respond
It's the question data scriptable object. Simply navigate to question data scriptable object and you can add questions from there.
how did u turn the color to gray? i mean when playing the game, the background is gray, i have no background can u help me with that please?
Change your camera to solid color.
nice video but i still dont understand how or where did you store the question and answer data. At the end of the video, i see all the questions have already been there and i have no clue about how did the data loaded 😭😭
In the script folder right click then select create , on the top u will find Qts data scriptable object add it to the question manager , also that scriptable object is where u add questions..
Hi, maybe you can make a tutorial so that you get the questions and answers from a database.
We will make it soon. We have already implemented the Xml database in our asset in description. It allow you to save and Add , Edit and load questions from Xml file as well as saving progress.
So for example, if i want to import an xml file (50 questions with 4 answers each) does the Qts data will work on that?
Yes. we have made a Quiz Asset with Xml file in description.
@@Grafikgames which link sir i cant find them
In the description
where and how we store our questions in our project?
In Qts Data scriptable object.
hiii, i have a question, qts data that its not the script, how you made it?
Qts data is a scriptable object. create a qts that script. then in The asset folder right click and will find the Qtsdata.
@@Grafikgames i have this same issue i have no idea how you make that Qts there...
Edit:
Nevermind solved it, you just have to Create the thing its on the first top row.
Yes. the Qts data script is a scriptable object and it has to be referenced from question manager script.
@@Grafikgames Another issue is... how do i reset the Score?? ive added a new button in FinishedGame panel, where users go back to my MainMenu scene but when user plays the quiz again, the score doesnt reset... any clue?
You need to reset the PlayerPrefs also.
when you reset score add those:
public void ResetScore()
{
Score = 0;
PlayerPrefs.SetInt("ScoreSave", Score);
PlayerPrefs.Save();
}