šŸŒˆ CODE: Making A Main Menu :prideheart:

#Here is the code, sorry itā€™s so long (I like to write out every little thing, even the unnecessary detail lol) :sweat_smile: :blob_hearts:

label MENU

EXT. FLOWERGRIEFER RAINBOW BG with WELCOME BANNER JEM to 0.396 45 625 in zone 1 at layer 1 with JEM START to 1.000 -238 387 in zone 1 at layer 1 with JEM SKIP to 1.000 422 333 in zone 1 at layer 1 with JEM CUSTOMIZE to 1.000 -238 279 in zone 1 at layer 1 with JEM POINTS to 1.000 422 225 in zone 1 at layer 1 with JEM RECAP to 1.000 -238 171 in zone 1 at layer 1 with JEM CREDITS to 1.000 422 117 in zone 1 at layer 1 with JEM FAQ to 1.000 -238 63 in zone 1 at layer 1

&zoom reset

&speechbubble reset

&overlay JEM START opacity 0 in 0
&overlay JEM SKIP opacity 0 in 0
&overlay JEM CUSTOMIZE opacity 0 in 0
&overlay JEM POINTS opacity 0 in 0
&overlay JEM RECAP opacity 0 in 0
&overlay JEM CREDITS opacity 0 in 0
&overlay JEM FAQ opacity 0 in 0
&overlay WELCOME BANNER JEM opacity 0.5 in 0
@overlay WELCOME BANNER JEM shifts to 45 436 in 0.9 using easebounceout

&overlay WELCOME BANNER JEM opacity 1 in 0.5
&overlay JEM START opacity 1 in 1.5
&overlay JEM SKIP opacity 1 in 1.5
&overlay JEM CUSTOMIZE opacity 1 in 1.5
&overlay JEM POINTS opacity 1 in 1.5
&overlay JEM RECAP opacity 1 in 1.5
&overlay JEM CREDITS opacity 1 in 1.5
&overlay JEM FAQ opacity 1 in 1.5
&overlay JEM START shifts to 55 387 in zone 1 in 2 using easebounceout
&overlay JEM SKIP shifts to 55 333 in zone 1 in 2 using easebounceout
&overlay JEM CUSTOMIZE shifts to 55 279 in zone 1 in 2 using easebounceout
&overlay JEM POINTS shifts to 55 225 in zone 1 in 2 using easebounceout
&overlay JEM RECAP shifts to 55 171 in zone 1 in 2 using easebounceout
&overlay JEM CREDITS shifts to 55 117 in zone 1 in 2 using easebounceout
@overlay JEM FAQ shifts to 55 63 in zone 1 in 2 using easebounceout

goto menu_page

label page

&overlay WELCOME BANNER JEM opacity 1 in 0.5
&overlay JEM START opacity 1 in 0.5
&overlay JEM SKIP opacity 1 in 0.5
&overlay JEM CUSTOMIZE opacity 1 in 0.5
&overlay JEM POINTS opacity 1 in 0.5
&overlay JEM RECAP opacity 1 in 0.5
&overlay JEM CREDITS opacity 1 in 0.5
@overlay JEM FAQ opacity 1 in 0.5

label menu_page

tappable
ā€œJEM STARTā€{

&overlay WELCOME BANNER JEM opacity 0 in 1
&overlay JEM START opacity 0 in 1
&overlay JEM SKIP opacity 0 in 1
&overlay JEM CUSTOMIZE opacity 0 in 1
&overlay JEM POINTS opacity 0 in 1
&overlay JEM RECAP opacity 0 in 1
&overlay JEM CREDITS opacity 0 in 1
@overlay JEM FAQ opacity 0 in 1

if (STORY){

NARR
Youā€™ve already read the episode, would you still like to read?

choice
ā€œYesā€{

&overlay WELCOME BANNER JEM clear
&overlay JEM START clear
&overlay JEM SKIP clear
&overlay JEM CUSTOMIZE clear
&overlay JEM POINTS clear
&overlay JEM RECAP clear
&overlay JEM CREDITS clear
&overlay JEM FAQ clear

@pause for 0.7

@transition fade out black 0.7

goto BEGIN

}ā€œNo, take me back to the main menuā€{

goto page

}
}else{

&overlay WELCOME BANNER JEM clear
&overlay JEM START clear
&overlay JEM SKIP clear
&overlay JEM CUSTOMIZE clear
&overlay JEM POINTS clear
&overlay JEM RECAP clear
&overlay JEM CREDITS clear
&overlay JEM FAQ clear

@pause for 0.7

@transition fade out black 0.7

goto BEGIN

}
}ā€œJEM SKIPā€{

&overlay WELCOME BANNER JEM opacity 0 in 0.5
&overlay JEM START opacity 0 in 0.5
&overlay JEM SKIP opacity 0 in 0.5
&overlay JEM CUSTOMIZE opacity 0 in 0.5
&overlay JEM POINTS opacity 0 in 0.5
&overlay JEM RECAP opacity 0 in 0.5
&overlay JEM CREDITS opacity 0 in 0.5
@overlay JEM FAQ opacity 0 in 0.5

if (STORY){

NARR
Are you sure youā€™d like to skip?

choice
ā€œYesā€{

&overlay WELCOME BANNER JEM clear
&overlay JEM START clear
&overlay JEM SKIP clear
&overlay JEM CUSTOMIZE clear
&overlay JEM POINTS clear
&overlay JEM RECAP clear
&overlay JEM CREDITS clear
&overlay JEM FAQ clear

goto DONE

}ā€œNo, take me back to the main menuā€{

goto page

}
}else{

NARR
You have not played this story yet!

goto page

}
}ā€œJEM RECAPā€{

&overlay WELCOME BANNER JEM opacity 0 in 0.5
&overlay JEM START opacity 0 in 0.5
&overlay JEM SKIP opacity 0 in 0.5
&overlay JEM CUSTOMIZE opacity 0 in 0.5
&overlay JEM POINTS opacity 0 in 0.5
&overlay JEM RECAP opacity 0 in 0.5
&overlay JEM CREDITS opacity 0 in 0.5
@overlay JEM FAQ opacity 0 in 0.5

NARR
Are you sure youā€™d like a recap?

choice
ā€œYesā€{

&overlay WELCOME BANNER JEM clear
&overlay JEM START clear
&overlay JEM SKIP clear
&overlay JEM CUSTOMIZE clear
&overlay JEM POINTS clear
&overlay JEM RECAP clear
&overlay JEM CREDITS clear
&overlay JEM FAQ clear

@transition fade out black 0.7

EXT. APPLES BG

&zoom reset

&speechbubble reset

@transition fade in black 0.7

NARR
The recap goes here (in this example, weā€™re in a new scene, feel free to use filters).

goto MENU

}ā€œNo, take me back to the main menuā€{

goto page

}
}ā€œJEM CUSTOMIZEā€{

&overlay WELCOME BANNER JEM opacity 0 in 1
&overlay JEM START opacity 0 in 1
&overlay JEM SKIP opacity 0 in 1
&overlay JEM CUSTOMIZE opacity 0 in 1
&overlay JEM POINTS opacity 0 in 1
&overlay JEM RECAP opacity 0 in 1
&overlay JEM CREDITS opacity 0 in 1
@overlay JEM FAQ opacity 0 in 1

&overlay WELCOME BANNER JEM clear
&overlay JEM START clear
&overlay JEM SKIP clear
&overlay JEM CUSTOMIZE clear
&overlay JEM POINTS clear
&overlay JEM RECAP clear
&overlay JEM CREDITS clear
&overlay JEM FAQ clear

@transition fade out black 0.7

EXT. APPLES BG

&zoom reset

&speechbubble reset

@transition fade in black 0.7

NARR
Customization goes here (in this example, weā€™re using a different background/new scene).

goto MENU

}ā€œJEM FAQā€{

&overlay WELCOME BANNER JEM opacity 0 in 0.5
&overlay JEM START opacity 0 in 0.5
&overlay JEM SKIP opacity 0 in 0.5
&overlay JEM CUSTOMIZE opacity 0 in 0.5
&overlay JEM POINTS opacity 0 in 0.5
&overlay JEM RECAP opacity 0 in 0.5
&overlay JEM CREDITS opacity 0 in 0.5
@overlay JEM FAQ opacity 0 in 0.5

NARR
FAQs go here.

goto page

}ā€œJEM POINTSā€{

&overlay WELCOME BANNER JEM opacity 0 in 0.5
&overlay JEM START opacity 0 in 0.5
&overlay JEM SKIP opacity 0 in 0.5
&overlay JEM CUSTOMIZE opacity 0 in 0.5
&overlay JEM POINTS opacity 0 in 0.5
&overlay JEM RECAP opacity 0 in 0.5
&overlay JEM CREDITS opacity 0 in 0.5
@overlay JEM FAQ opacity 0 in 0.5

NARR
Checking points go here.

goto page

}ā€œJEM CREDITSā€{

&overlay WELCOME BANNER JEM opacity 0 in 0.5
&overlay JEM START opacity 0 in 0.5
&overlay JEM SKIP opacity 0 in 0.5
&overlay JEM CUSTOMIZE opacity 0 in 0.5
&overlay JEM POINTS opacity 0 in 0.5
&overlay JEM RECAP opacity 0 in 0.5
&overlay JEM CREDITS opacity 0 in 0.5
@overlay JEM FAQ opacity 0 in 0.5

NARR
Credits go here.

goto page

}

label BEGIN

EXT. APPLES BG

&zoom reset

&speechbubble reset

@transition fade in black 0.7

NARR
The whole story line would go here.

gain STORY

goto MENU

label DONE

readerMessage Menu coded by JemU776.

NARR
Thanks for reading!

The Material

Background:

Name: EXT. FLOWERGRIEFER RAINBOW BG

Thank you to @FlowerGriefer for this awesome background <3

Overlays:

Button Overlays Rainbow Start

Name: JEM START

Button Overlays Rainbow Skip

Name: JEM SKIP

Button Overlays Rainbow Customize

Name: JEM CUSTOMIZE

Button Overlays Rainbow Check Points

Name: JEM POINTS

Jem Recap Button

Name: JEM RECAP

Button Overlays Rainbow Credit

Name: JEM CREDITS

Button Overlays Rainbow Faq

Name: JEM FAQ

Name: WELCOME BANNER JEM

Bonus/more overlays:

Button Overlays Rainbow Finish

Name: JEM FINISH

Button Overlays Rainbow Language

Name: JEM LANGUAGE

More types:

Button Overlays Rainbow Finish Purple

Name: JEM FINISH2

Button Overlays Rainbow Skip Orange

Name: JEM SKIP2

These overlays were edited by me and thanks to FlowerGriefer for making the background transparent :blob_sun:

The other background:

EXT. APPLES BG <ā€” this is a background I got from pixabay, you can replace this with another background name. If you like the background, here it is:

1 panel/zone: 640 x 1136
2 panels/zones: 1280 x 1136
3 panels/zones: 1920 x 1136

Hereā€™s how to resize images: HOW TO: Resize Images

P.S Youā€™ll need to understand a fair amount of info on overlays, gains, choices as well as labels and gotos (šŸ–¤ HOW TO: Labels and Gotos šŸ–¤) in order to make your own menu <3

Video of how it looks in action:

#Thanks for checking this out! :rainbow: :prideheart:

30 Likes

BTW just be wary using points, if they decide to replay the episode :+1: :blob_hearts: Also, this thread is dedicated to all my amazing friends, thank you for everything :blush: :revolving_hearts: And Happy Canada Day :partying_face: :canada: :anifireworks:

2 Likes

Omg i love this!!! its amazing, if i decide to use this, how do i give u credit?

Is there a difference between skip and finish?

I just knew someone was going to ask that :laughing: There actually isnā€™t much of a difference, I just put both in and after I coded it, I wondered why I did that lol :laughing: FINISH can be and will be replaced with RECAP which is an overlay in the materials section.

I was planning on editing this at some point but as of right now, Iā€™m kinda exhausted so Iā€™ll do it later :nerd_face: :blob_hearts:

EDIT: Iā€™ve edited the template and switched FINISH with RECAP :+1:

2 Likes

Aaaah okay, I was thinking of suggesting to make it recap haha :joy: but your menu looks very good!:grin:

I copied and pasted it Iā€™m just confused on what I change to fit mineā€¦also credit to you thank you

Would you like a custom one? you donā€™t need to add all of them :blush: You can tell me which buttons youā€™d like and Iā€™ll whip up a template with those desired ones :+1:

1 Like

Woah you do custom templates? If do and your free iā€™d really appreciate one since I tired to code it and I failed (miserably :joy:)

Sure, I can help when Iā€™m free :thinking: :blob_hearts:

1 Like

Okay thanks! just tag me or message me when your free! :blob_sun::heart:

No problem, will you be using the overlays in the thread above or do you have your own :nerd_face: i suck at art or creativity so I wouldnā€™t be able to make any buttons with fancy font on them if thatā€™s what youā€™re looking for as well :sweat_smile: :blob_hearts: By custom, I mean code, so coding in certain buttons :blob_sun:

1 Like

Ah no I have my own buttons already made!

Glad to hear, you can send me a message whenever you like and Iā€™ll get to it when Iā€™m available to do so :disco:

1 Like

Thank you! Iā€™ll message you tomorrow since itā€™s really late at the moment :blob_hearts:

1 Like

I would love the help, Sadly but gladly I figured it out!!:blush:thank you for the suggestion.

Cool, delighted to hear :star2:

Hii Jem! Can you please help me? Those warnings ā€œThe label ā€œmenuā€ is never used.ā€, ā€œThe label MENU does not existā€ keep popping up and i donā€™t know what to do

Can you show your code?

BTW

it goes at the very beginning.

2 Likes

Hey Jem, just wanted to let you know i figured it ou the problem! The ā€œmenu labelā€ was written as ā€œMENU labelā€, thank you for all your help and the template :slight_smile: