Can someone help me make a tappable overlay menu? I have like the customization, start and the end overlay, and the background for my menu, how do I actually make it work??
hi! I think what you’re looking for is this:
You’ll have to upload the overlays (‘end’, ‘start’ and ‘customize’) all up separately and as individual overlays. Then you’ll need to place the overlays (using shift, scale etc.) and there’s a template in the website above which you can copy and paste to make them tappable I hope it works! If you run into any errors I can try and help <3
you need to spot the overlays
then you will make tappable menu like this:
label menu
tappable
“CUSTOMIZE” {
goto CC
} “START” {
goto start
} “END” {
NARR
Do you want to skip this chapter?
choice “YES” {
NARR
Are you sure you wan to skipp the whole chapter?
choice “YES” {
goto end
} “NO” {
goto menu
}
} “NO” {
goto menu
}
}
#########
label CC
NARR
Here add the CC
goto menu
#########
label start
NARR
Here write the story
#########
label end
NARR
To be continued
When you mean separately do you mean as in all end start and customize one overlay together?
Nope. You need to have each ‘end’, ‘start’ and ‘customize’ as separate overlays so in total, there’ll be 3 overlays
So whenever I do “@overlay STARTSTORY opacity in 0” it does this. Like I can’t see the overlay and it gives me an error.
You’ll need to do the command:
@overlay STARTSTORY opacity 1 in 0
This is because the number which follows the word opacity means whether it is transparent or not. 0 is transparent and 1 in completely visible. The number after the word ‘in’ is the time in seconds it will take for the overlay to change opacity
Okay I spotted my overlays. I’ll try to do the tappable commands now!
I just want the one with start and end not the customization. How would that look?
How about trying this? Make sure to replace OVERLAYNAME with the name of your overlay and create/change opacity/shift/scale as many overlays as necessary. I only created one overlay in this example:
Click here:
label menu
Insert your background
@overlay OVERLAYNAME create
@overlay OVERLAYNAME opacity 1 in 0
@overlay OVERLAYNAME shifts to ####
@overlay OVERLAYNAME scales to ####
tappable
“OVERLAYNAME”{
goto start
} “OVERLAYNAME” {
NARR (SAMONE)
Are you sure you want to end the chapter?
choice
“Yes.” {
goto end
} “No.” {
goto menu
}
}
label start
Insert your code here when users click to start the story
label end
Insert your code here for when users choose to end their story
I hope it works. Also make sure overlays do not overlap each other
would it be label_STARTCHAPTER and label_ENDCHAPTER or something else?
label menu
tappable
“START” {
goto start
} “END” {
NARR
Do you want to skip this chapter?
choice “YES” {
NARR
Are you sure you wan to skipp the whole chapter?
choice “YES” {
goto end
} “NO” {
goto menu
}
} “NO” {
goto menu
}
}
#########
label start
NARR
Here write the story
#########
label end
NARR
To be continued
Are the hashtags needed?
no they are just there to “divide” the sections -hastags are ignored by the script so it doesnt matter if it is there or not
Nope, that’s the name of the overlays. Unless you replace goto start and goto end with goto STARTCHAPTER and goto ENDCHATPER
Think of ‘goto’ as go to label LABELNAME
the scripted worked but if I press no for wanting to go back to the menu the speech bubble is still there
You dont need to write tappable twice. You just need to write:
(Do you spot directing for your overlays here)
label menu
tappable “STARTCHAPTER”{
goto start
}”ENDCHAPTER”{
NARRATOR (SAMONE)
Are you sure you want to end the chapter?
choice
“Yes.” {
goto end
} “No.”{
goto menu
}
}
To do this, you can make another label before you code in your tappable buttons (before label menu)
So e.g.
label home_screen
(overlay directing goes here)
- then your tappable overlays directing goes here -
Then if you want to go back to the home screen after selecting “no” you can do goto home_screen which will bring up all the labels again, if that makes sense.
Also, if you want the Narration bubble to disappear, you can write e.g.
NARRATOR
(Write anything you want here because it won’t show)
And just scale it to 0% where you do your speech bubble placement.
It would be easier if you could copy and paste me the whole section of script and I can send it back to you.