Trvia or quiz mini-game in Renpy?
Posted: Mon Apr 19, 2010 3:22 pm
Hi there!
I'm still having the problem where the latest version of Renpy doesn't wants to edit any scripts on my PC (it can't select any editor in the options), so I'm using the 6.3.3 version I had saved a while ago, but hopefully this shouldn't affect what I needed to ask about:
I looked through the FAQ and forum etc. but couldn't find an answer for it: Is there a way to make a trivia/quiz little test in renpy? I figure there must be an obvious way that I'm just not seeing because I'm a total noob when it comes to coding, sadly. ^^;;
The idea is that I want to have the love interest character to ask a series of questions to the player-controlled main character, and if they get the answers right, they can progress to getting closer to that character.
(It would be questions about the character, on things which we'd have seen before in the game etc., kind of to show that the main character is interested and remembers the things about the character they're trying to approach.)
I've been trying to figure out how to do it, but I'm really not sure and couldn't find anything on quizzes. ^^;
If someone could kindly write an example of how such a trivia/quiz code could work with 2 or 3 fake questions, it would be absolutely awesome!
As of now I'm not sure yet whether you would get a bad end to the game right away if you fail the quiz (in case it's not possible to have a quiz code work to go back into the main path and try again later), or if you just get the love interest character to be disappointed but try again later maybe. It will depend on how it works. XD
I've seen ren'ai games before where you have to repeat dates over and over until you answer all they want right or until you build up enough "love/liking points" from them or something like that, but I have no idea how to do it, and am afraid it might make the game a bit more complicated. ^^; So I'll probably just stick to the trivia/quiz thingie. ^^
Thank you so much in advance, to anyone who can help.
I'm still having the problem where the latest version of Renpy doesn't wants to edit any scripts on my PC (it can't select any editor in the options), so I'm using the 6.3.3 version I had saved a while ago, but hopefully this shouldn't affect what I needed to ask about:
I looked through the FAQ and forum etc. but couldn't find an answer for it: Is there a way to make a trivia/quiz little test in renpy? I figure there must be an obvious way that I'm just not seeing because I'm a total noob when it comes to coding, sadly. ^^;;
The idea is that I want to have the love interest character to ask a series of questions to the player-controlled main character, and if they get the answers right, they can progress to getting closer to that character.
(It would be questions about the character, on things which we'd have seen before in the game etc., kind of to show that the main character is interested and remembers the things about the character they're trying to approach.)
I've been trying to figure out how to do it, but I'm really not sure and couldn't find anything on quizzes. ^^;
If someone could kindly write an example of how such a trivia/quiz code could work with 2 or 3 fake questions, it would be absolutely awesome!
As of now I'm not sure yet whether you would get a bad end to the game right away if you fail the quiz (in case it's not possible to have a quiz code work to go back into the main path and try again later), or if you just get the love interest character to be disappointed but try again later maybe. It will depend on how it works. XD
I've seen ren'ai games before where you have to repeat dates over and over until you answer all they want right or until you build up enough "love/liking points" from them or something like that, but I have no idea how to do it, and am afraid it might make the game a bit more complicated. ^^; So I'll probably just stick to the trivia/quiz thingie. ^^
Thank you so much in advance, to anyone who can help.