Hi, Can you tell me please, how can I had questions and answers in your cool quiz template for Develop?.
Thanks.
Hi.
The questions and answers are stored inside a structure variable "quizextension_questions"
Questions are sorted in to 3 difficulty
Following the difficulty you set the number of the question. For example
There are total 7 easy questions in the example. Each question has 7 properties. Title, A,B,C,D,Solution,Picked
For example to add one more easy question you need to set the following structures :
The questions are initialised inside the InitializeQuizGameEngine function in QuizExtension Behavior.
Sorry it is a tedious manual design, not very effective to be honest and also out of date, I would not recommend doing this for hundreds and thousands of questions. This is an old example from a time when there was no Yarn dialog system and arrays and local file system available in GDevelop. You may want to use one of those features instead of this tedious structure variable solution.
Hope it helps.