Subscribed.......Your teaching method is excellent. I've tried other Quiz tutorials & none of them come anywhere close to yours. Keep up the good work.
Hi, I'm new to Unity and making games, what I'm trying to do for my first game is a basic 2d dice puzzle game. Up to now I've made a blank dice face in to a sprite button and click it from dice 1 to dice 6 with a sound to go with each click. I have also made a linear timer and a "Done" UI button, what I'm stuck on at the moment is, when a player clicks on the dice numbers and decides the have the right one, they click on the "Done" button and if they are incorrect they start again or they go to the next puzzle if they are correct. I'm stuck on how to make the "Done" button to do that? And also to have the timer to connect to the puzzle as well. Like I said, very new to this. Anyway, I understand you may be very busy and any help or tips will be appreciated. Thanks
Hello, first of all, thank you very much for your speech and your education makes a great contribution. Can you send the draft of the unity of this game as a link? I want to improve myself by making changes on my computer because it is bad, I can not do as well with unity program as you.
I use your code, from the question data that I created, I created 50 questions, but I want to display only 10 of the questions I created, so I have 5 pattern questions, can you help me?
Hi, you made a superb game, congrats for this... i have 1 question... How can you do to reduce life 1 life when time`s up and check if life`s 0 to activate gameover panel.. Thank you
Hi, I am getting a NullReferenceException error: Object reference not set to an instance of an object QuizManager.SelectQuestion () at the line int val = UnityEngine.Random.Range(0, questions.Count);
i use audio questions and when i got 2 audio questions after each other .you stil hear the old sound question through the new sound question. how can you stop that ? when clicked anwser sound clip stop or when new sound begin old sound is destroyed
Great Tutorial . easy to follow but i got a problem. The game crashed when play starting. first half of project everthing was working fine.could you help me?
Thank you so much! Every thing seems to be fine except for the score and time, the time is working, but the score doesn't show anything. I would be appreciated if you help.
Hello, thank you very much for the tutorial a query Can I use this asset that I provide on github for my own application? I'll wait for your answer, thank you so much
when my question count is equal to 0 there is an error ArgumentOutOfRangeException. i add this line questions.RemoveAt(val); to ensure that the question is not repeatable.
Thanks for the video! I have a question. I want to create a map game where the questions will be about the countries' location. If it's correct it will move on the the next question, if it's not it will show the correct one. I'm a newbie so i dont know. But i think the game i want to create is similiar to the quiz questions. Can i create a map game following the steps of a quiz quesitons? What do you think?
Yes you can create your game following this tutorial. The core mechanics is same, but may be you will need to add additional code to suit with your game. I will be happy to help you, you can just email me at madfireongames@gmail.com
What a great tutorial. It is my first time trying unity. I downloaded, extracted and imported the game. but I am failing to run/play it. anyone who can help with that?
I want to ask, is there any way for me to show the score on the game over panel and add the next button so I can go to the next level? And I also want to know how to make any other menu like the main menu, level selection, and tutorial menu
You can do everything you want. Just modify the code as per your need. If you are new to Unity then go through Unity basic tutorials. It will help you a lot.
Thanks for the tutorial, but I have a problem, when I click one of the main menu buttons, the game displays is showing the game over panel, but after I deactivated the game over panel inspector, everything is going well, is that normal?
Hello.I've got a question. How are we going to continue with the question we're left with?If you know that, can you tell me?If you put the level lock system in this game and pick up where you left off, it will be a really great project.
Hello... If I press on the correct answer button the "green" correct color appears. How can I get this green color to blink/flash on & off for 2 seconds. Thanks, any help appreciated.
You can create multiple category of QuizDataScriptable, add them to List QuizDataList in QuizManager inspector, and used anyone of them depending on the button you click in main menu. You can used Index 0 - ... for deciding which QuizData [as List element start from 0] you need to used and let the category menu button decide the selected index. StartGame method must be called by the Category button to start the game. Check the Complete Project Link:- github.com/swapnilrane24/Quiz
Hi Mate. Thanks for this excellent video. I just want you to know that I want to. How can I show the correct answer again as the correct color when I click the wrong button. I'd appreciate it if you could help me.
@@MadFireOn Hi, I just have one question. I wonder if it is possible to bring up questions sequentially with the for loop, not with the random range command?
Hello, spectacular work! you're a myth. I have a problem with creating new "question data". it doesn't save me things. that is, if I create a new category I see it in unity but if I open the .asset file with notepad there is no information I have put. i have create new category = called "a" with 2 question but it does not save the information. Any idea? i'm waiting new tutorial, you are doing a great and superlative job Thanks
You can make all question Image type, but the options will be in text only. You need to write your own logic if you want options in images instead of text.
Yes, just create a new Text in gameover panel and give reference to QuizGameUI. As we have created getter for ScoreText, create for the new Text. And set the new Text to the score, when we show the gameover panel. Basically after every quizGameUI.GameOverPanel.SetActive(true); code.
@@MadFireOn am making a computer quiz game with countdown for each questions.how can i add a new player after the first person is done with his round of questions? thanks
If your scriptable object is resetting then you are accessing scriptable object directly, create a variable which store the data of scriptable object and use that variable data in game.
@@MadFireOn Thanks for your reply! Can I know where to create a variable to store the data? Because I can't find where to store it...... Sorry I'm a newbiee and now a bit lost TT
I know there is a list for question... But I don't know where I can to access it... Can you pls give me some advice to guide me? Pls help me! Thank you very much!!
@@MadFireOn hello i have a same problem i try to use another list to store the question what are already answerd but don't work ,you have a ideea how to resolve this problem ?
Great Video! Can you help me how to use dropdown where when its option is clicked a video will be downloaded from online database and then click play button to play the video. Thanks a lot
Best option will be to download required Video or audio in loading screen, gameplay should be smooth for good experience. Well, right now I am focusing in offline tutorials, will start online game tutorials soon. May be like 2-3 months from now.
@@MadFireOn Ok thanks. How about if I clicked the option, then text will show up. The text data is from .txt file. Do you have tutorial for that? Sorry I'm a beginner just started last month
You can store questions data in json and load it before gameplay start. I dont have any tutorial on it, but you can google for "Json data in Unity", many tutorials are available.
Hello, first of all, thank you very much for your speech and your education makes a great contribution. Can you send the draft of the unity of this game as a link? I want to improve myself by making changes on my computer because it is bad, I can not do as well with unity program as you.
Subscribed.......Your teaching method is excellent. I've tried other Quiz tutorials & none of them come anywhere close to yours. Keep up the good work.
Thanks for the sub!
Important Links:-
Part 1 Tutorial Link:- ruclips.net/video/zmL9Cy7iRHY/видео.html
Complete Project:- github.com/swapnilrane24/Quiz
Premium Project:- www.patreon.com/posts/38226864
Hi, I'm new to Unity and making games, what I'm trying to do for my first game is a basic 2d dice puzzle game. Up to now I've made a blank dice face in to a sprite button and click it from dice 1 to dice 6 with a sound to go with each click. I have also made a linear timer and a "Done" UI button, what I'm stuck on at the moment is, when a player clicks on the dice numbers and decides the have the right one, they click on the "Done" button and if they are incorrect they start again or they go to the next puzzle if they are correct. I'm stuck on how to make the "Done" button to do that? And also to have the timer to connect to the puzzle as well. Like I said, very new to this.
Anyway, I understand you may be very busy and any help or tips will be appreciated.
Thanks
email me your issue and a short gameplay clip to madfireongames@gmail.com
Hello, first of all, thank you very much for your speech and your education makes a great contribution. Can you send the draft of the unity of this game as a link? I want to improve myself by making changes on my computer because it is bad, I can not do as well with unity program as you.
well! wish you had not stopped making such amazing tutorials.
Nice., there is always someting to learn from watching your video tutorial over and over. Thanks!
Can you use firebase or something to pull questions from an editable data base? Where each questions displayed and choices can be changed or added?
Thank you so much and I've got a question. Can we use button for category choose ?
Thank you so much, sir. You really helped me survived my internship.
Hi, what if i dont want quiz categories? For example, i have a button in my main menu that takes me straight to quiz
thanks for the tutorial. can i also add images in options button instead of text?
@MadFireOn how do I add more categories im having trouble adding more than 3 and linking hte buttons
which version of Unity did you use to make this game? thx
Hello I saw quiz game video very nice. Wanted to ask question how to save score on firebase ?
Nice bro, you saved my school project :D
This is great video and much better than firs part.
Thank you.
Nice! wish that score and timer was in True or False haha
I want to ask, is there any way to save the score on other scene ???
I use your code, from the question data that I created, I created 50 questions, but I want to display only 10 of the questions I created, so I have 5 pattern questions, can you help me?
Hi is there a way to store all the scores? or is there a way to tally all the scores of the category?
Can I compile the questions to an excel file or something? Notice me pls. How can I compile the questions and answer to make it faster?
Hi do u have tutorial for this sequel tutorial for highscore? pls let me know.
Hi, you made a superb game, congrats for this... i have 1 question... How can you do to reduce life 1 life when time`s up and check if life`s 0 to activate gameover panel.. Thank you
email at madfireongames@gmail.com
@@MadFireOn i`ve done it ! looking forward for the replay :)
@@DanDDima-od7ue Hi, may I ask how did you solve it? I'm facing the same situation. I would appreciate it a lot for your help.
Good afternoon, but tell me how to add life? I understood the variable how, but how to return the picture back and limit the number
how to change random to not random in question list?
Hi great tutorial thanks.... I want to add Different Time for different category how do i do that please help.
Hi, I am getting a NullReferenceException error: Object reference not set to an instance of an object
QuizManager.SelectQuestion () at the line int val = UnityEngine.Random.Range(0, questions.Count);
i use audio questions and when i got 2 audio questions after each other .you stil hear the old sound question through the new sound question. how can you stop that ? when clicked anwser sound clip stop or when new sound begin old sound is destroyed
Add questionAudio.Stop() in QuizGameUI script PlayAudio() method before if condition.
I don’t know how, but my data disappear after finish quiz. I must close and open unity again for data return.
Thanks a lot mate .You have been very helpful
You are welcome.
Great Tutorial . easy to follow but i got a problem. The game crashed when play starting. first half of project everthing was working fine.could you help me?
Check the GitHub project. Try to build that and see if you are getting same problem.
👍👍👍👍👍👍
Thank you so much! Every thing seems to be fine except for the score and time, the time is working, but the score doesn't show anything. I would be appreciated if you help.
Hello, thank you very much for the tutorial a query Can I use this asset that I provide on github for my own application? I'll wait for your answer, thank you so much
Yes you can use GitHub projects, they are all under MIT license.
Please turn on translation for this video! I'm from Brazil and would love to follow the best content of this tutorial.
when my question count is equal to 0 there is an error ArgumentOutOfRangeException. i add this line questions.RemoveAt(val); to ensure that the question is not repeatable.
I have question on Tostring it said No overload for method 'ToString' takes 1 arguments
Thanks for the video! I have a question. I want to create a map game where the questions will be about the countries' location. If it's correct it will move on the the next question, if it's not it will show the correct one. I'm a newbie so i dont know. But i think the game i want to create is similiar to the quiz questions. Can i create a map game following the steps of a quiz quesitons? What do you think?
Yes you can create your game following this tutorial. The core mechanics is same, but may be you will need to add additional code to suit with your game.
I will be happy to help you, you can just email me at madfireongames@gmail.com
What a great tutorial. It is my first time trying unity. I downloaded, extracted and imported the game. but I am failing to run/play it. anyone who can help with that?
I want to ask, is there any way for me to show the score on the game over panel and add the next button so I can go to the next level? And I also want to know how to make any other menu like the main menu, level selection, and tutorial menu
You can do everything you want. Just modify the code as per your need.
If you are new to Unity then go through Unity basic tutorials. It will help you a lot.
Thanks for the tutorial, but I have a problem, when I click one of the main menu buttons, the game displays is showing the game over panel, but after I deactivated the game over panel inspector, everything is going well, is that normal?
Make sure the game over panel is deactive before you play the game. [Make GameOver deactive in non-play mode].
@@MadFireOn ok, thank you sir
Hello.I've got a question. How are we going to continue with the question we're left with?If you know that, can you tell me?If you put the level lock system in this game and pick up where you left off, it will be a really great project.
I won't be adding new features to it. But you are free to modify it as per your requirement.
Hello... If I press on the correct answer button the "green" correct color appears. How can I get this green color to blink/flash on & off for 2 seconds. Thanks, any help appreciated.
Email me at madfireongames@gmail.com
@@MadFireOn I have sent you the email, thanks
I got problem with datascriptable, how to change animaldata to quizdata as example?
You can create multiple category of QuizDataScriptable, add them to List QuizDataList in QuizManager inspector, and used anyone of them depending on the button you click in main menu.
You can used Index 0 - ... for deciding which QuizData [as List element start from 0] you need to used and let the category menu button decide the selected index.
StartGame method must be called by the Category button to start the game.
Check the Complete Project Link:- github.com/swapnilrane24/Quiz
Hi Mate. Thanks for this excellent video. I just want you to know that I want to. How can I show the correct answer again as the correct color when I click the wrong button. I'd appreciate it if you could help me.
I got your mail. Just ping me on Saturday or Sunday at madfireongames@gmail.com
@@MadFireOn Hi, I just have one question. I wonder if it is possible to bring up questions sequentially with the for loop, not with the random range command?
Yes, you can do it. Create an int index = 0 and increase it by 1 each time you ask question and use that int as index.
Can this tutorial make a picture quiz game... Like I want the question to be in form of pictures
Yes, you can use it to make picture quiz. In questions data add only picture questions
@@MadFireOn okay thanks... What is the format of the pictures used? Jpg or what?
Format supported by Unity like JPG, PNG
Hello, spectacular work!
you're a myth.
I have a problem with creating new "question data".
it doesn't save me things. that is, if I create a new category I see it in unity but if I open the .asset file with notepad there is no information I have put.
i have create new category = called "a" with 2 question
but it does not save the information.
Any idea?
i'm waiting new tutorial, you are doing a great and superlative job
Thanks
I don't think you can open .asset file in notepad. It's unity inbuilt file extension.
@@MadFireOn show on explorer, open with notepad
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f611d797432e3f846885b2b12fde5f35, type: 3}
m_Name: AnimalData
m_EditorClassIdentifier:
categoryName: Animal
questions:
- questionInfo: Which animal eats Deer?
questionType: 0
questionImage: {fileID: 0}
audioClip: {fileID: 0}
videoClip: {fileID: 0}
options:
- Lion
- Elephant
- Goat
- Monkey
correctAns: Lion
- questionInfo: Which animal can climb trees?
questionType: 0
questionImage: {fileID: 0}
audioClip: {fileID: 0}
videoClip: {fileID: 0}
options:
- Zebra
- Bear
- Hyna
- Monkey
correctAns: Monkey
- questionInfo: Which of the following animal is Herbivorous?
questionType: 0
questionImage: {fileID: 0}
audioClip: {fileID: 0}
videoClip: {fileID: 0}
options:
- Crocodile
- Moose
- Bear
- Panther
correctAns: Moose
- questionInfo: Who can walk on 2 legs?
questionType: 0
questionImage: {fileID: 0}
audioClip: {fileID: 0}
videoClip: {fileID: 0}
options:
- Dog
- Cat
- Human
- Turtle
correctAns: Human
- questionInfo: Slowest animal on the earth?
questionType: 0
questionImage: {fileID: 0}
audioClip: {fileID: 0}
videoClip: {fileID: 0}
options:
- Cheeta
- Sloth
- Leapord
- Tortois
correctAns: Sloth
@@MadFireOn and this is the error in console.
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at :0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at :0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at :0)
QuizGameUI.SetQuestion (Question question) (at Assets/Quiz/Scripts/QuizGameUI.cs:95)
QuizManager.SelectQuestion () (at Assets/Quiz/Scripts/QuizManager.cs:59)
QuizManager.StartGame (System.Int32 categoryIndex, System.String category) (at Assets/Quiz/Scripts/QuizManager.cs:45)
QuizGameUI.CategoryBtn (System.Int32 index, System.String category) (at Assets/Quiz/Scripts/QuizGameUI.cs:187)
QuizGameUI+c__DisplayClass31_0.b__0 () (at Assets/Quiz/Scripts/QuizGameUI.cs:180)
UnityEngine.Events.InvokableCall.Invoke () (at :0)
UnityEngine.Events.UnityEvent.Invoke () (at :0)
UnityEngine.UI.Button.Press () (at D:/Unity/2019.4.4f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at D:/Unity/2019.4.4f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at D:/Unity/2019.4.4f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at D:/Unity/2019.4.4f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261)
UnityEngine.EventSystems.EventSystem:Update() (at D:/Unity/2019.4.4f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)
Email me at madfireongames@gmail.com
how to solve it
Sorry sir, can you provide subtitles for this video?
can we change all the question and option using image only not text?
You can make all question Image type, but the options will be in text only. You need to write your own logic if you want options in images instead of text.
Hello, I am getting the following error: Invalid acess body '=>' expecting ; or { Can you please help!
You are missing ; or } in that line
@@MadFireOnthis is the way it is: {get => timerText;}
Email me at madfireongames@gmail.com
Bro how can i get the final score in gameover panel?
Yes, just create a new Text in gameover panel and give reference to QuizGameUI.
As we have created getter for ScoreText, create for the new Text.
And set the new Text to the score, when we show the gameover panel.
Basically after every quizGameUI.GameOverPanel.SetActive(true); code.
please how can i create new players whenever i want to start the game, do you have a tutorial on it?
Can you give any example, like what are you trying to achieve?
@@MadFireOn am making a computer quiz game with countdown for each questions.how can i add a new player after the first person is done with his round of questions?
thanks
Email me at madfireongames@gmail.com
Can i know why the data, always reset after i run and stop the game? The questions dissapear and size becomes 0
If your scriptable object is resetting then you are accessing scriptable object directly, create a variable which store the data of scriptable object and use that variable data in game.
@@MadFireOn Thanks for your reply! Can I know where to create a variable to store the data? Because I can't find where to store it...... Sorry I'm a newbiee and now a bit lost TT
I know there is a list for question... But I don't know where I can to access it... Can you pls give me some advice to guide me? Pls help me! Thank you very much!!
email me at madfireongames@gmail.com
@@MadFireOn hello i have a same problem i try to use another list to store the question what are already answerd but don't work ,you have a ideea how to resolve this problem ?
very thanks bro
You're welcome!
Thanks!
You are Welcome!
how can I add levels?
Levels like multiple questions or different categories of question set?
@@MadFireOn Thanks, I was able to add the levels to it. you're the best! more videos so please games
@@chisme4618 Hi, how did you manage to create level?
Great Video! Can you help me how to use dropdown where when its option is clicked a video will be downloaded from online database and then click play button to play the video. Thanks a lot
Best option will be to download required Video or audio in loading screen, gameplay should be smooth for good experience.
Well, right now I am focusing in offline tutorials, will start online game tutorials soon. May be like 2-3 months from now.
@@MadFireOn Ok thanks. How about if I clicked the option, then text will show up. The text data is from .txt file. Do you have tutorial for that? Sorry I'm a beginner just started last month
You can store questions data in json and load it before gameplay start. I dont have any tutorial on it, but you can google for "Json data in Unity", many tutorials are available.
@@MadFireOn So you QuestionData.asset you create using Json data?
Yes instead of using scriptable object, use json data
can someone help me, How to fix problem No overload for method 'ToString() takes 1 arguments, in class SetTimer?
Email me at madfireongames@gmail.com
Hello, first of all, thank you very much for your speech and your education makes a great contribution. Can you send the draft of the unity of this game as a link? I want to improve myself by making changes on my computer because it is bad, I can not do as well with unity program as you.
Check the github link in description. Entire project is available on Github.
@@MadFireOn I couldn't find the download link because I don't speak English, could you please tell me the download link on github?
Link:- github.com/swapnilrane24/Can-Knockdown
Thanks for a video. And how to fix problem No overload for method 'ToString' takes '1' argumen
EMail me at madfireongames@gmail.com
@@MadFireOn I experienced the same thing, how to solve it Sir?
when my lifesRemaining == 0 , my gameOverPanel doesn't open TvT......
try using lifesRemaining