Page 8 of 11

Re: [Tutorial] Customizing Menus

Posted: Sat Sep 22, 2012 1:41 pm
by Kokoro Hane
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?

Re: [Tutorial] Customizing Menus

Posted: Sat Sep 22, 2012 7:52 pm
by apricotorange
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.

Re: [Tutorial] Customizing Menus

Posted: Tue Feb 05, 2013 11:06 am
by CharlieTheMad256
Hey, I'm having trouble with the main menu, every time I try to load, this comes up
Expected statement.

imagemap -> :

What is wrong?

Re: [Tutorial] Customizing Menus

Posted: Fri Jul 05, 2013 9:42 am
by Giovedi
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

Re: [Tutorial] Customizing Menus

Posted: Mon Sep 02, 2013 11:04 am
by Talann
You, my friend, are a life saver!

Re: [Tutorial] Customizing Menus

Posted: Wed Sep 04, 2013 5:11 am
by Elmiwisa
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. :idea:

Re: [Tutorial] Customizing Menus

Posted: Wed Nov 27, 2013 2:15 pm
by Lyraevi
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

Posted: Wed Nov 27, 2013 10:47 pm
by AERenoir
Lyraevi 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?
Go here: http://lemmasoft.renai.us/forums/viewto ... 51&t=14237

Re: [Tutorial] Customizing Menus

Posted: Thu Nov 28, 2013 8:57 am
by Lyraevi
Thank you very much! *.*

Re: [Tutorial] Customizing Menus

Posted: Fri Nov 29, 2013 9:27 pm
by rabcor
Let me just worship you for a few seconds...

Thanks for all your great, detailed tutorials! :D 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 :oops: 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 :mrgreen:

@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.

Re: [Tutorial] Customizing Menus

Posted: Wed Oct 15, 2014 7:38 pm
by champignonkinoko
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!!

Re: [Tutorial] Customizing Menus

Posted: Tue Jan 13, 2015 9:21 am
by SecretGuitar1
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
Idle
Idle
Hover
Hover
In game
In game

Re: [Tutorial] Customizing Menus

Posted: Tue Jan 13, 2015 11:55 am
by Aleema
Try deleting your cache. If that doesn't work, post your code.

Re: [Tutorial] Customizing Menus

Posted: Tue Jan 13, 2015 3:23 pm
by SecretGuitar1
Aleema wrote:Try deleting your cache. If that doesn't work, post your code.
OMG Thank you! <3

Why was that thing there even in the first place?

Re: [Tutorial] Customizing Menus

Posted: Sat Mar 14, 2015 2:40 pm
by Nova Alamak
My screen preferences area mentioned in the tutorial for customizing menus via styles doesn't look anything like the one in the example.

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
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.