Search found 40 matches

by ConerNSFW
Mon Oct 24, 2016 12:43 am
Forum: Ren'Py Questions and Announcements
Topic: gui.show_name broken?
Replies: 3
Views: 585

Re: gui.show_name broken?

Thanks that worked, it seems strange to have the setting in both the gui and options though.
by ConerNSFW
Sun Oct 23, 2016 9:35 pm
Forum: Ren'Py Questions and Announcements
Topic: gui.show_name broken?
Replies: 3
Views: 585

gui.show_name broken?

I set

Code: Select all

gui.show_name
But for some reason the title text still displays.

I've found a workaround of changing:

Code: Select all

define gui.title_text_size = 0
but I'd like to do it proper way if that's possible.
by ConerNSFW
Sun Oct 23, 2016 7:04 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center main menu text-buttons and also remove sidebar
Replies: 13
Views: 6334

Re: How to center main menu text-buttons and also remove sid

Yay, it's done finally. Thanks so much Ocelot and MaxYablockin, I've spent over an hour on this and I probably wouldn't have even got it done without you two. http://i.imgur.com/DHFgewS.png It's centred perfectly. (The brown rectangles were to test since they're both the same size.) Again thanks.
by ConerNSFW
Sun Oct 23, 2016 6:55 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center main menu text-buttons and also remove sidebar
Replies: 13
Views: 6334

Re: How to center main menu text-buttons and also remove sid

Alright, I've got your code to work, I had another thing with the same name and it was overriding your code, now I'm just going to try and replicate it in my game.
by ConerNSFW
Sun Oct 23, 2016 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center main menu text-buttons and also remove sidebar
Replies: 13
Views: 6334

Re: How to center main menu text-buttons and also remove sid

I copy and pasted your code exactly, and mine is still off.

If you don't mind could you upload the project file?

From your advice I've managed to get it pretty close but it's still just off for some reason.
by ConerNSFW
Sun Oct 23, 2016 6:27 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center main menu text-buttons and also remove sidebar
Replies: 13
Views: 6334

Re: How to center main menu text-buttons and also remove sid

Ok, so I changed xpos 0.5 to xalign 0.5 and it puts the test half off the screen on the left, it's as if it's stuck in frame that's on the left.

I also tried using a custom style and it wouldn't centre the text.
by ConerNSFW
Sun Oct 23, 2016 6:11 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center main menu text-buttons and also remove sidebar
Replies: 13
Views: 6334

Re: How to center main menu text-buttons and also remove sid

Thanks MaxYablockin that helped a lot. 2 problems, the first is that it moves the game navigation menu (as in the one when you're not in the main menu). To fix this I moved the xpos 0.5 from the navigation section to the "if main_menu:" section and it worked fine. The second problem is something I n...
by ConerNSFW
Sun Oct 23, 2016 5:45 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center main menu text-buttons and also remove sidebar
Replies: 13
Views: 6334

Re: How to center main menu text-buttons and also remove sid

screen navigation(): vbox: style_prefix "navigation" xpos gui.navigation_xpos yalign 0.5 spacing gui.navigation_spacing if main_menu: ypos 0.6 xpos 0.5 textbutton _("Start") action Start() else: textbutton _("History") action ShowMenu("history") textbutton _("Save") action ShowMenu("save") textbutt...
by ConerNSFW
Sun Oct 23, 2016 5:16 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center main menu text-buttons and also remove sidebar
Replies: 13
Views: 6334

How to center main menu text-buttons and also remove sidebar

I knew how to do this with the old gui, but the new one is really confusing me. So this is how my main menu currently looks: http://i.imgur.com/rO6MyIF.png and this is how I would like it to look: http://i.imgur.com/ShSWI26.png As you can see, I would like to centre the text buttons, which i tried t...