I'm having difficulties with the game menu. The menu on the side is being covered by... the save menu? (I'm not completely sure what to call that)
I believe it's caused by my font (since I customized it)... but I want to keep my font. So, how should I fix this?
- I made the background white for now
I've looked up how to use imagemaps... but I'm still not clear on how to use them. I've seen some of the code, but I am very confused... and I plugged in the code once and replaced the images with some images I made... and I didn't see the images at all. o-o (And I'm not sure how to show it only in the game menu)
Either, I have to move the menu (which I don't know how), make that save menu compressed either upward or to the left (which I've tried to no success - I've managed to get the buttons to compress, but not the square behind it), or make an imagemap.
Please help!
(If you need more images, I can do that)
Also, my font is "Talking To The Moon", which I downloaded online at dafont.com.
Customizing the Game Menu [SOLVED]
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Llunet1
- Regular
- Posts: 55
- Joined: Mon Oct 21, 2013 8:56 pm
- Projects: Reminiscence, Blood
- Deviantart: llunet1
- Location: USA
- Contact:
Customizing the Game Menu [SOLVED]
Last edited by Llunet1 on Sun Nov 03, 2013 9:12 pm, edited 1 time in total.
Re: Customizing the Game Menu (Please help)
Since you said you don't use imagemaps, I suppose your navigation screen menu code in screens.rpy looks like this
A quick solution would be to change "has vbox" to "has hbox" which would make the menu buttons stack next to each other in a row on the bottom of the screen and not interfere with save screen, but don't know if it'll be practical or pleasing to the eye. Plus it could potentially be off-screen depending on your game resolution and the size of the buttons.
Code: Select all
frame:
style_group "mm"
xalign .98
yalign .98
has vbox
textbutton _("Start Game") action Start()
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Help") action Help()
textbutton _("Quit") action Quit(confirm=False)
- Llunet1
- Regular
- Posts: 55
- Joined: Mon Oct 21, 2013 8:56 pm
- Projects: Reminiscence, Blood
- Deviantart: llunet1
- Location: USA
- Contact:
Re: Customizing the Game Menu (Please help)
Thank you! It worked!
I'll try fixing the buttons (I can at least change the size)
I'll try fixing the buttons (I can at least change the size)
Who is online
Users browsing this forum: Google [Bot], henne