Is it possible to make an assessment quiz on Ren'py?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Ebulliently-Askew
Newbie
Posts: 2
Joined: Fri Apr 03, 2015 6:52 pm
Projects: starting off with a simple assessment quiz to use in an RP group
Tumblr: po-pingary
Deviantart: ebulliently-askew
Skype: ebu_askew
Location: Vermont
Contact:

Is it possible to make an assessment quiz on Ren'py?

#1 Post by Ebulliently-Askew » Fri Apr 03, 2015 7:44 pm

I know it's possible to make quizes and games, but instead of "yes/no" questions, I was wondering if it'd be possible to make questions like...

"what's your favorite color?" and "what sign are you?" then in the end, have a result based off the choices you make. sorry, I'm really bad at explaining

But any advice on how to do this would be great ;7; thank you!

User avatar
Tyrantauranox
Regular
Posts: 153
Joined: Sat Jun 21, 2014 12:31 am
Contact:

Re: Is it possible to make an assessment quiz on Ren'py?

#2 Post by Tyrantauranox » Fri Apr 03, 2015 9:37 pm

I don't see why not. You could have several choices at each question point, and increment some variable based on the answers. At the end point, you check the variable and provide a result depending on what bracket the total fell into. 100 points = Cool cat, 50 points = Normal person, 10 points or less = total lamer

User avatar
trooper6
Lemma-Class Veteran
Posts: 3645
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Is it possible to make an assessment quiz on Ren'py?

#3 Post by trooper6 » Fri Apr 03, 2015 10:06 pm

My advice would be to not leave the questions open ended.
In other words, don't say: What is your favorite color: _______
Because they might answer "Your Mama"...or chartreuse...or any other number of random things, and that would be difficult for your to deal with.
Better would be: Which color do you like best: a) Green, b) Black, c) Blue, etc
This way you control the possible answer and can more easily deal with answers.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Is it possible to make an assessment quiz on Ren'py?

#4 Post by SundownKid » Fri Apr 03, 2015 10:19 pm

It would be fairly simple actually. Make a series of menus asking questions, and each answer would modify one or more variables. Then at the ending you would compare variables to each other to determine the ending.

User avatar
OokamiKasumi
Eileen-Class Veteran
Posts: 1775
Joined: Thu Oct 14, 2010 3:53 am
Completed: 14 games released -- and Counting.
Organization: DarkErotica Games
Deviantart: OokamiKasumi
Location: NC, USA
Contact:

Re: Is it possible to make an assessment quiz on Ren'py?

#5 Post by OokamiKasumi » Sun Apr 05, 2015 6:40 am

Ebulliently-Askew wrote:I know it's possible to make quizes and games, but instead of "yes/no" questions, I was wondering if it'd be possible to make questions like...

"what's your favorite color?" and "what sign are you?" then in the end, have a result based off the choices you make. sorry, I'm really bad at explaining

But any advice on how to do this would be great ;7; thank you!
Absolutely. I've made 2 so far:

The Walk -- A Psychoanalysis game
What kind of Fiction should You Write? -- A test to asses one's writing inclinations.

Both of these used hoards of menus that triggered different variable types to generate final assessments. The hard part was setting it up so that the player couldn't guess what variables the questions triggered.
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed: For ALL my completed games visit: DarkErotica Games

"No amount of great animation will save a bad story." -- John Lasseter of Pixar

Post Reply

Who is online

Users browsing this forum: Google [Bot], philat