[Tutorial] Customizing Menus
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
- Kokoro Hane
- Eileen-Class Veteran
- Posts: 1236
- Joined: Thu Oct 27, 2011 6:51 pm
- Completed: 30 Kilowatt Hours Left, The Only One Girl { First Quarter }, An Encounter ~In The Rain~, A Piece of Sweetness, Since When Did I Have a Combat Butler?!, Piece by Piece, +many more
- Projects: Fateful Encounter, Operation: Magic Hero
- Organization: Tofu Sheets Visual
- Deviantart: kokoro-hane
- itch: tofu-sheets-visual
- Contact:
Re: [Tutorial] Customizing Menus
For the customizing Menu Choices (I am assuming this is for the "menu" statement) is there a way I could command it to (and only for that individual menu, not for the whole game) be on to the side (like the left), and resize it where it's not across your whole screen like usual?
PROJECTS:
Operation: Magic Hero [WiP]
Piece By Piece [COMPLETE][Spooktober VN '20]
RE/COUNT RE:VERSE [COMPLETE][RPG]
Since When Did I Have a Combat Butler?! [COMPLETE][NaNoRenO2020+]
Crystal Captor: Memory Chronicle Finale [COMPLETE][RPG][#1 in So Bad It's Good jam '17]
But dear God, You're the only North Star I would follow this far
Owl City "Galaxies"
Operation: Magic Hero [WiP]
Piece By Piece [COMPLETE][Spooktober VN '20]
RE/COUNT RE:VERSE [COMPLETE][RPG]
Since When Did I Have a Combat Butler?! [COMPLETE][NaNoRenO2020+]
Crystal Captor: Memory Chronicle Finale [COMPLETE][RPG][#1 in So Bad It's Good jam '17]
But dear God, You're the only North Star I would follow this far
Owl City "Galaxies"
-
- Veteran
- Posts: 479
- Joined: Tue Jun 05, 2012 2:01 am
- Contact:
Re: [Tutorial] Customizing Menus
Please ask general questions in http://lemmasoft.renai.us/forums/viewforum.php?f=8 ; they're likely to get lost here.
If you're writing a one-off menu which has an unusual look, it's probably simplest to write it as a screen in screen language; see http://lemmasoft.renai.us/forums/viewto ... 51&t=14237 and http://www.renpy.org/doc/html/screens.html . If you need different menu screens in different chapters or something like that, you can also customize "screen choice" so it changes based on a global variable.
If you're writing a one-off menu which has an unusual look, it's probably simplest to write it as a screen in screen language; see http://lemmasoft.renai.us/forums/viewto ... 51&t=14237 and http://www.renpy.org/doc/html/screens.html . If you need different menu screens in different chapters or something like that, you can also customize "screen choice" so it changes based on a global variable.
-
- Newbie
- Posts: 12
- Joined: Sat Feb 02, 2013 10:57 am
- Projects: The Wind Whisperer (name in progress aka, might change the name)
- Location: England
- Contact:
Re: [Tutorial] Customizing Menus
Hey, I'm having trouble with the main menu, every time I try to load, this comes up
Expected statement.
imagemap -> :
What is wrong?
Expected statement.
imagemap -> :
What is wrong?
Re: [Tutorial] Customizing Menus
I hate to ask such a hassling question, but those two screencaps in the OP that're broken links now... would you consider taking new ones? I'm too dimwitted to understand the example sans visual representation. :'D
- Talann
- Regular
- Posts: 132
- Joined: Thu May 09, 2013 12:02 pm
- Projects: Shooting Stars, REBORN
- Contact:
Re: [Tutorial] Customizing Menus
You, my friend, are a life saver!
Re: [Tutorial] Customizing Menus
Can you also add in to the tutorial something about making choice that already get chosen previously to appear in different colour? It is a standard feature in many VN after all, and yet we rarely see it in a Ren'Py game.
Re: [Tutorial] Customizing Menus
Really nice tutorial, thank you! It was very helpful!
There is only 2 more things, I'd like to know about custom menus:
1. How to make a custom load/save menu with imagemaps?
2. How to make a custom preferences menu with imagemaps?
(Because my custom menu really looks different then the default renpy menu, and i can't cutomise it with only styling.)
Can anyone help me?
There is only 2 more things, I'd like to know about custom menus:
1. How to make a custom load/save menu with imagemaps?
2. How to make a custom preferences menu with imagemaps?
(Because my custom menu really looks different then the default renpy menu, and i can't cutomise it with only styling.)
Can anyone help me?
Re: [Tutorial] Customizing Menus
Go here: http://lemmasoft.renai.us/forums/viewto ... 51&t=14237Lyraevi wrote:Really nice tutorial, thank you! It was very helpful!
There is only 2 more things, I'd like to know about custom menus:
1. How to make a custom load/save menu with imagemaps?
2. How to make a custom preferences menu with imagemaps?
(Because my custom menu really looks different then the default renpy menu, and i can't cutomise it with only styling.)
Can anyone help me?
Re: [Tutorial] Customizing Menus
Thank you very much! *.*AERenoir wrote:Go here: http://lemmasoft.renai.us/forums/viewto ... 51&t=14237
- rabcor
- Regular
- Posts: 81
- Joined: Sun Mar 17, 2013 3:07 pm
- Projects: None (Need a programmer?)
- Organization: Cestarian Games
- Contact:
Re: [Tutorial] Customizing Menus
Let me just worship you for a few seconds...
Thanks for all your great, detailed tutorials! They're really helpful, and i don't think they could be any better than they are even if i'd written them myself!! (I wrote this just for reference for how writes i get all serious with look like, i'm getting a lot of favorites and good ratings for it too)
A damn shame you haven't been active around here for nearly 2 years, hope you'll come back someday
@Giovedi =( like i said s/he's been inactive for a long while now, but maybe a mod/admin could fix this.
@Elmiwisa interesting point, i imagine this should be doable with variables, the persistent data should be able to hold this information... hmm... well, i'll look into it later.
Thanks for all your great, detailed tutorials! They're really helpful, and i don't think they could be any better than they are even if i'd written them myself!! (I wrote this just for reference for how writes i get all serious with look like, i'm getting a lot of favorites and good ratings for it too)
A damn shame you haven't been active around here for nearly 2 years, hope you'll come back someday
@Giovedi =( like i said s/he's been inactive for a long while now, but maybe a mod/admin could fix this.
@Elmiwisa interesting point, i imagine this should be doable with variables, the persistent data should be able to hold this information... hmm... well, i'll look into it later.
-
- Regular
- Posts: 61
- Joined: Sun Sep 07, 2014 8:51 pm
- Contact:
Re: [Tutorial] Customizing Menus
I'll be doing some worshipping as well...
Thanks for posting this. Still useful after 3 years! One of the few tutorial posts that newbies could actually follow from start to end (especially that zip file download). Thank YOU!!
Thanks for posting this. Still useful after 3 years! One of the few tutorial posts that newbies could actually follow from start to end (especially that zip file download). Thank YOU!!
-
- Newbie
- Posts: 6
- Joined: Mon Jan 12, 2015 11:37 am
- Projects: Tales of Yardora, Helen's Creek
- Tumblr: Akiyo Kawaii
- Deviantart: SecretGuitar1
- Location: The Netherlands
- Contact:
Re: [Tutorial] Customizing Menus
Great tutorial!
But I encountered an error when I began making an imagemap section for the main menu.
I have the ground and hover images, and also the coördinates right where they need to be.
But when I lauched the game, and enter the main menu, it shows a distortion on the places I used for coördinates.
Except for the Quit button, and that one doesn't even works
I chose to only have a Start, Load and Quit button for the main menu
But I encountered an error when I began making an imagemap section for the main menu.
I have the ground and hover images, and also the coördinates right where they need to be.
But when I lauched the game, and enter the main menu, it shows a distortion on the places I used for coördinates.
Except for the Quit button, and that one doesn't even works
I chose to only have a Start, Load and Quit button for the main menu
- Aleema
- Lemma-Class Veteran
- Posts: 2677
- Joined: Fri May 23, 2008 2:11 pm
- Organization: happyB
- Tumblr: happybackwards
- Contact:
Re: [Tutorial] Customizing Menus
Try deleting your cache. If that doesn't work, post your code.
-
- Newbie
- Posts: 6
- Joined: Mon Jan 12, 2015 11:37 am
- Projects: Tales of Yardora, Helen's Creek
- Tumblr: Akiyo Kawaii
- Deviantart: SecretGuitar1
- Location: The Netherlands
- Contact:
Re: [Tutorial] Customizing Menus
OMG Thank you! <3Aleema wrote:Try deleting your cache. If that doesn't work, post your code.
Why was that thing there even in the first place?
-
- Regular
- Posts: 71
- Joined: Sun Jun 08, 2014 1:45 pm
- Contact:
Re: [Tutorial] Customizing Menus
My screen preferences area mentioned in the tutorial for customizing menus via styles doesn't look anything like the one in the example.
I've never edited it either. Is there a more up-to-date version of this tutorial? I'm trying not to do an imagemap for my options menu.
Code: Select all
init -2:
style pref_frame:
xfill True
xmargin 5
top_margin 5
style pref_vbox:
xfill True
style pref_button:
size_group "pref"
xalign 1.0
style pref_slider:
xmaximum 192
xalign 1.0
style soundtest_button:
xalign 1.0
Who is online
Users browsing this forum: No registered users