So, I’m trying to do a tappable game, where I let the reader pan around the screen, and to select some items. In total, there are 15 items, but I want the reader to only select 12 of them. Then after that, they will have a chance to select one of the last 3 items. I have the code, but I’m confused on how to move on after.
Code
@transition fade out black 2
INT. SHELLYS with AMMO to 0.304 202 304 with BOBEANS to 0.266 24 321 in zone 2 with COMBU to 0.439 186 395 in zone 2 with ENERGYBS to 0.254 263 230 in zone 1 with FLASHL to 0.481 124 212 in zone 1 with KNIFE to 0.361 135 309 in zone 2 with LIGTERS to 0.169 223 332 in zone 2 with LIPSTICK to 0.176 136 333 in zone 1 with MEDKIT to 0.521 71 227 in zone 2 with MEDSU to 0.250 27 240 with MIRROR1 to 0.482 -4 321 in zone 1 with POP to 0.269 39 322 in zone 1 with RBLANK to 0.374 171 399 with WATSB to 0.194 74 422 with RAMENS to 0.264 77 403 in zone 2 with BBAGG to 0.772 210 -28 in zone 1
volume music 60 2000
music music_noirfunk
&zoom on 0 568 to 147% in 0
@OPHELIA spot 1.280 -114 21 in zone 1
@transition fade in black 1
@pause for 0.9
NARR
|highlight:yellow, italic| You have now entered a mini-game.
You will only collect |underline, bold| 12 items.
After you have chosen your items, I will give you |bold, color:red| 1 chance to pick one item |reset| in the shelf.
Good Luck!
label items
readerMessage Move the screen around to find other ones.
NARR
Choose |bold, underline| 12 items.
tappable [pan:1:2:both]
“AMMO”{
NARR
An ammo box - to keep your gun loaded.
Would you like to take this?
choice
“Yes” {
&overlay AMMO opacity 0 in 0.5
@pause for 0.7
goto items
gain AMMO
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“BOBEANS”{
NARR
Can of beans - for hunger.
Would you like to take this?
choice
“Yes” {
&overlay BOBEANS opacity 0 in 0.5
@pause for 0.7
goto items
gain BOBENAS
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“ENERGYBS”{
NARR
Energy bars - for hunger.
Would you like to take this?
choice
“Yes” {
&overlay ENERGYBS opacity 0 in 0.5
@pause for 0.7
goto items
gain ENERGYBS
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“FLASHL”{
NARR
A flashlight - to help you see in darker areas.
Would you like to take this?
choice
“Yes” {
&overlay FLASHL opacity 0 in 0.5
@pause for 0.7
goto items
gain FLASHL
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“KNIFE”{
NARR
A knife - a weapon to defend yourself.
Would you like to take this?
choice
“Yes” {
&overlay KNIFE opacity 0 in 0.5
@pause for 0.7
goto items
gain KNIFE
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“LIGTERS”{
NARR
A lighter - to help light something (as a flashlight or to make a fire).
Would you like to take this?
choice
“Yes” {
&overlay LIGTERS opacity 0 in 0.5
@pause for 0.7
goto items
gain LIGTERS
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“MEDKIT”{
NARR
A medkit - for wounds or damages to your body.
Would you like to take this?
choice
“Yes” {
&overlay MEDKIT opacity 0 in 0.5
@pause for 0.7
goto items
gain MEDKIT
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“MEDSU”{
NARR
Medicine - to cure yourself from a disease, symptoms, or illnesses.
Would you like to take this?
choice
“Yes” {
&overlay MEDSU opacity 0 in 0.5
@pause for 0.7
goto items
gain MEDSU
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“POP”{
NARR
Soda - for thirst.
Would you like to take this?
choice
“Yes” {
&overlay POP opacity 0 in 0.5
@pause for 0.7
goto items
gain POP
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“RBLANK”{
NARR
A blanket - for warmth & comfort.
Would you like to take this?
choice
“Yes” {
&overlay RBLANK opacity 0 in 0.5
@pause for 0.7
goto items
gain RBLANK
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“WATSB”{
NARR
A water bottle - for thirst.
Would you like to take this?
choice
“Yes” {
&overlay WATSB opacity 0 in 0.5
@pause for 0.7
goto items
gain WATSB
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}“RAMENS”{
NARR
A ramen cup - for hunger.
Would you like to take this?
choice
“Yes” {
&overlay RAMENS opacity 0 in 0.5
@pause for 0.7
goto items
gain RAMENS
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto items
}
}
if (AMMO and BOBEANS and ENERGYBS and FLASHL and KNIFE and LIGTERS and MEDSU and MEDKIT and RAMENS and WATSB and RBLANK and POP) {
NARR
These are your items.
goto cont_items
} else {
goto items
}
label cont_items
NARR
Now, please select |bold| 1 item.
choice
“COMBU”{
NARR
A hair brush - this will let you change your hairstyle throughout the story.
Would you like to take this?
choice
“Yes” {
&overlay COMBU opacity 0 in 0.5
@pause for 0.7
goto finished_1
gain COMBU
}“No! Let me go back!”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto cont_items
}
}“LIPSTICK”{
NARR
Lipstick - this will allow you to change your lip color throughout the story.
Would you like to take this?
choice
“Yes” {
&overlay LIPSTICK opacity 0 in 0.5
@pause for 0.7
goto finished_1
gain LIPSTICK
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto cont_items
}
}“MIRROR1”{
NARR
A mirror - to see a reflection of something or yourself.
Would you like to take this?
choice
“Yes” {
&overlay MIRROR1 opacity 0 in 0.5
@pause for 0.7
goto finished_1
gain MIRROR1
}“No, I want to keep looking”{
@speechbubble is 0 0 to 0%
NARR
Yes!
@speechbubble reset
goto cont_items
}
}
label finished_1
&zoom reset
&OPHELIA starts tinker_kneel_neutral_loop_rear AND OPHELIA faces left
Images
AMMO
BOBEANS
COMBU
ENERGYBS
FLASHL
KNIFE
LIGTERS
LIPSTICK
MEDKIT
MEDSU
MIRROR1
POP
RAMENS
RBLANK
WATSB