I am currently coding my first story and I am doing a mini-game. I’m wanting the reader to click on the items and choose ONLY three supplies. But for some reason it’s not acting the way I want it to. I also want their choice to show up later in the story too. I want like a remembering choice code… if that makes sense?
Here is the code I have so far:
INT. OVERGROWN GROCERY STORE - DAY
@set hsl 0 0 -52 no_colorize with blendMode Normal to 100% in 0
@zoom reset
@overlay BLANKETS create AND overlay BLANKETS opacity 1 AND overlay BLANKETS shifts to 158 251 in zone 1 AND overlay BLANKETS scales to 0.370 0.370 AND overlay BLANKETS moves to layer 0 AND overlay BOOK STACK 4 create AND overlay BOOK STACK 4 opacity 1 AND overlay BOOK STACK 4 shifts to 73 234 in zone 1 AND overlay BOOK STACK 4 scales to 0.256 0.256 AND overlay BOOK STACK 4 moves to layer 3 AND overlay BRICK create AND overlay BRICK opacity 1 AND overlay BRICK shifts to 216 95 in zone 1 AND overlay BRICK scales to 0.105 0.105 AND overlay BRICK moves to layer 0 AND overlay BROKEN KNIFE create AND overlay BROKEN KNIFE opacity 1 AND overlay BROKEN KNIFE shifts to 91 173 in zone 1 AND overlay BROKEN KNIFE scales to 0.181 0.181 AND overlay BROKEN KNIFE moves to layer 0 AND overlay FIRST-AID OPEN create AND overlay FIRST-AID OPEN opacity 1 AND overlay FIRST-AID OPEN shifts to 276 175 in zone 1 AND overlay FIRST-AID OPEN scales to 0.294 0.294 AND overlay FIRST-AID OPEN moves to layer 0
@VES stands screen left AND VES faces left AND VES is idle_rear
@pause for a beat
&zoom on 150 162 to 182% in 1 using easein
@VES walks to spot 1.280 8 -6 in zone 1 in 1 AND VES is idle_rear
@speechbubble reset
@speechbubble is 155 244 to 70%
NARR
| bold |You are now entering in a mini-game.
NARR
| bold |Move the screen to find supplies and click one once you’re done!
NARR
| bold , color:red |You can only choose three items.
NARR
| animation:flash , color:red , bold |You have ten seconds to decide.
@pause for a beat
label THREE_SUPPLIES
@zoom on 150 162 to 182% in 1 using easeout
tappable [pan:1]
“BLANKETS” {
@zoom on 179 291 to 476% in .1
@speechbubble reset
@speechbubble is 79 247 to 70% with tail_top_left
VES
Blankets…
Definitely will be useful soon.
Winter is coming up.
choice
“Take the blankets” {
@overlay BLANKETS opacity 0 in .5
} “Leave the blankets” {
goto THREE_SUPPLIES
}
} “BOOK STACK 4” {
@zoom on 54 298 to 476% in .1
@speechbubble reset
@speechbubble is 79 247 to 70% with tail_top_left
VES
Books…?
Hmm…
Could be nice for the kids…
choice
“Take the books” {
@overlay BOOK STACK 4 opacity 0 in .5
} “Don’t take the books” {
goto THREE_SUPPLIES
}
} “BROKEN KNIFE” {
@zoom on 91 165 to 476% in .1
@speechbubble reset
@speechbubble is 79 247 to 70% with tail_top_left
VES
Could be useful; could be useless.
May not be sharp enough though.
choice
“Take the knife anyway” {
@overlay BROKEN KNIFE opacity 0 in 1
} “Leave it.” {
goto THREE_SUPPLIES
}
} “FIRST-AID OPEN” {
@speechbubble reset
@speechbubble is 79 247 to 70% with tail_top_left
VES
| italic |This| reset | is what I was looking for.
VES
It’s perfect. It has everything we needed!
VES
But how did someone not grab this already?
It’s completely full.
choice
“Grab the first-aid !!” {
@zoom on 280 201 to 476% in .1
@speechbubble reset
@speechbubble is 79 247 to 70% with tail_top_left
VES
I’d be stupid to not take this.
@overlay FIRST-AID OPEN opacity 0 in 1
} “Don’t… leave it for someone else” {
goto THREE_SUPPLIES
}
}