I’m trying to do a fun little quiz at the end of my next episode to find out which of my characters is the readers best match.
In the story “Mindreader” by @alusza.episode (on instagram) she does something similar and she tells you how to do it in her coding tip highlight.
I’m having a hard time understanding points since I’ve never used them before. I’ll post what I have so far down below!
How do I determine which character is a perfect match using points? I would really appreciate the help! I will be crediting Alusza as well as whoever helps me!
NARR (AUTHOR)
Would you like to support me and take a love test to see which character is your perfect match?
choice <GEMS:8> "Absolutely!" {
goto startquiz
} "Maybe next time!" {
NARR (AUTHOR)
Not a problem 😌
goto donewquiz
}
label startquiz
BERTO = 0
HARRY = 0
JAESDAD = 0
MBC2 = 0
GOON1 = 0
tappable
<PREMIUM> "START BUTTON"{
goto question1
}
label question1
NARRATOR
Which of these sounds like the best date?
choice [layout]
"Going shopping."{
@BERTO +1
goto question2
}
"Taking a scenic drive."{
@HARRY +1
goto question2
}
"Going to the fair."{
@GOON1 +1
goto question2
}
"See a movie and have dinner."{
@JAESDAD +1
goto question2
}
"Going dancing."{
@MBC2 +1
goto question2
}
label question2
NARRATOR
What is your favorite season?
choice [layout]
"Summer."{
@BERTO +1
goto question3
}
"Fall."{
@GOON1 +1
goto question3
}
"Spring."{
@JAESDAD +1
goto question3
}
"Winter."{
@HARRY +1
goto question3
}
"All of them."{
@MBC2 +1
goto question3
}
label question3
NARRATOR
What is your favorite thing to do in your free time?
choice [layout]
"Cook and clean."{
@JAESDAD +1
goto endofquiz
}
"Catch up on social media."{
@GOON1 +1
goto endofquiz
}
"Exercise."{
@BERTO +1
goto endofquiz
}
"Spend time with friends/family/pets."{
@HARRY +1
goto endofquiz
}
"Nap."{
@MBC2 +1
goto endofquiz
}
label endofquiz
1 Like
Hi!
You have done everything right! Now it’s time to make calculate the points.
Now you need to make a script like this:
if (CHARACTER = 1) {
} elif (CHARACTER > 1) {
} elif (CHARACTER < 1) {
} else {
}
As you can see in the place where you have a name “CHARACTER” you need to put one of your character’s names.
Then just dublicate it for other characters.
This = means that the character has to be a specific amount of points. Like BERTO=3
That means if you want to get Berto, you need to collect 3 points.
This < means that the character has to have less points than, for example, 2 to unlock another character.
This > means that the character has to have more points than, for example, 1 to unlock another character.
I hope you can understand something. But if not, check out this: https://www.dara-amarie.com/points-system
Kiki
1 Like
So this is what I’ve done:
INT. LOVE TEST
&zoom reset
&cut to zone 2
@transition fade in black
&speechbubble reset
NARR (AUTHOR)
Would you like to | bold |support me | reset |and take a love test to see which character is your perfect match? 💕
choice <GEMS:8> "Absolutely!" {
goto startquiz
} "Maybe next time!" {
NARR (AUTHOR)
Not a problem 😌
goto donewquiz
}
label startquiz
&overlay START BUTTON create
&overlay START BUTTON opacity 1 in 0.5
&overlay 4693620232552448_START BUTTON shifts to 53 148 in zone 2
&overlay 4693620232552448_START BUTTON scales to 0.208 0.208
&overlay 4693620232552448_START BUTTON moves to layer 1
tappable
<PREMIUM> "START BUTTON"{
@overlay START BUTTON opacity 0 in 0.5
&overlay START BUTTON clear
goto question1
}
label question1
NARRATOR
Which of these sounds like the best date?
choice [layout]
"Going shopping."{
@BERTO +1
goto question2
}
"Taking a scenic drive."{
@HARRY +2
goto question2
}
"Going to the fair."{
@GOON1 +3
goto question2
}
"See a movie and have dinner."{
@JAESDAD +5
goto question2
}
"Going dancing."{
@MBC2 +4
goto question2
}
label question2
NARRATOR
What's your favorite season?
choice [layout]
"Summer."{
@BERTO +1
goto question3
}
"Fall."{
@GOON1 +3
goto question3
}
"Spring."{
@JAESDAD +5
goto question3
}
"Winter."{
@HARRY +2
goto question3
}
"All of them."{
@MBC2 +4
goto question3
}
label question3
NARRATOR
What's your favorite thing to do in your free time?
choice [layout]
"Cook and clean."{
@JAESDAD +5
goto endofquiz
}
"Catch up on social media."{
@GOON1 +3
goto endofquiz
}
"Exercise."{
@BERTO +1
goto endofquiz
}
"Spend time with friends/family/pets."{
@HARRY +2
goto endofquiz
}
"Nap."{
@MBC2 +4
goto endofquiz
}
label endofquiz
if (HARRY > 3) {
NARR
Results are in! 😏
Drum roll!
sound Drum Roll
@pause for a beat
&overlay HEARTS 1 create
&overlay HEARTS 1 opacity 1 in 0
&overlay 4693620232552448_HEARTS 1 shifts to 2 -359 in zone 2
&overlay 4693620232552448_HEARTS 1 scales to 0.352 0.352
&overlay 4693620232552448_HEARTS 1 moves to layer 2
&HARRY spot 1.595 129 -119 in zone 1
@HARRY walks to spot 1.595 152 -112 in zone 2
&overlay 4693620232552448_HEARTS 1 shifts to 294 575 in zone 1 in 5 using easebackout
&HARRY is kiss_blow_happy_atcamera AND HARRY moves to layer 1 THEN HARRY is flirt_coy_atcamera
NARR
Your perfect match is | color:purple , outline:black , animation:shuffle-sideways | Harry!
goto donewquiz
} elif (MBC2 > 7) {
NARR
Results are in! 😏
Drum roll!
sound Drum Roll
@pause for a beat
&overlay HEARTS 1 create
&overlay HEARTS 1 opacity 1 in 0
&overlay 4693620232552448_HEARTS 1 shifts to 2 -359 in zone 2
&overlay 4693620232552448_HEARTS 1 scales to 0.352 0.352
&overlay 4693620232552448_HEARTS 1 moves to layer 2
&MBC2 spot 1.595 129 -119 in zone 1
@MBC2 walks to spot 1.595 152 -112 in zone 2
&overlay 4693620232552448_HEARTS 1 shifts to 294 575 in zone 1 in 5 using easebackout
&MBC2 is kiss_blow_happy_atcamera AND MBC2 moves to layer 1 THEN MBC2 is flirt_coy_atcamera
NARR
Your perfect match is | color:purple , outline:black , animation:shuffle-sideways | Malik!
goto donewquiz
} elif (BERTO = 3) {
NARR
Results are in! 😏
Drum roll!
sound Drum Roll
@pause for a beat
&overlay HEARTS 1 create
&overlay HEARTS 1 opacity 1 in 0
&overlay 4693620232552448_HEARTS 1 shifts to 2 -359 in zone 2
&overlay 4693620232552448_HEARTS 1 scales to 0.352 0.352
&overlay 4693620232552448_HEARTS 1 moves to layer 2
&BERTO spot 1.595 129 -119 in zone 1
@BERTO walks to spot 1.595 152 -112 in zone 2
&overlay 4693620232552448_HEARTS 1 shifts to 294 575 in zone 1 in 5 using easebackout
&BERTO is kiss_blow_happy_atcamera AND BERTO moves to layer 1 THEN BERTO is flirt_coy_atcamera
NARR
Your perfect match is | color:purple , outline:black , animation:shuffle-sideways | Berto!
goto donewquiz
} elif (JAESDAD > 10) {
NARR
Drum roll!
sound Drum Roll
@pause for a beat
&overlay HEARTS 1 create
&overlay HEARTS 1 opacity 1 in 0
&overlay 4693620232552448_HEARTS 1 shifts to 2 -359 in zone 2
&overlay 4693620232552448_HEARTS 1 scales to 0.352 0.352
&overlay 4693620232552448_HEARTS 1 moves to layer 2
&JAESDAD spot 1.595 129 -119 in zone 1
@JAESDAD walks to spot 1.595 152 -112 in zone 2
&overlay 4693620232552448_HEARTS 1 shifts to 294 575 in zone 1 in 5 using easebackout
&JAESDAD is kiss_blow_happy_atcamera AND JAESDAD moves to layer 1 THEN JAESDAD is flirt_coy_atcamera
NARR
Your perfect match is | color:purple , outline:black , animation:shuffle-sideways | Alex!
goto donewquiz
} elif (GOON1 > 5) {
NARR
Drum roll!
sound Drum Roll
@pause for a beat
&overlay HEARTS 1 create
&overlay HEARTS 1 opacity 1 in 0
&overlay 4693620232552448_HEARTS 1 shifts to 2 -359 in zone 2
&overlay 4693620232552448_HEARTS 1 scales to 0.352 0.352
&overlay 4693620232552448_HEARTS 1 moves to layer 2
&GOON1 spot 1.595 129 -119 in zone 1
@GOON1 walks to spot 1.595 152 -112 in zone 2
&overlay 4693620232552448_HEARTS 1 shifts to 294 575 in zone 1 in 5 using easebackout
&GOON1 is kiss_blow_happy_atcamera AND GOON1 moves to layer 1 THEN GOON1 is flirt_coy_atcamera
NARR
Your perfect match is | color:purple , outline:black , animation:shuffle-sideways | Alex!
goto donewquiz
}
label donewquiz
Will this work? Every character has a different value of points gained for each question answered. I couldn’t figure out how to do it with just one point per character. lol
1 Like
When I try it on the web previewer it always chooses Harry even if I don’t pick any of his.
I should work as I don’t see any mistakes
I found Alusza’s story about it. Maybe try to compare them like she did it?
For example HARRY>MBC2 this means that Harry wins.