Preference menu overlapping

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
AlexCLD
Newbie
Posts: 24
Joined: Sun Mar 22, 2015 6:44 pm
Projects: Just a Number
Contact:

Preference menu overlapping

#1 Post by AlexCLD »

Hi everyone! I'm having a problem with preference menu. I'm trying to use imagemaps to change it from the default design but so far I haven't been able to figure out how to "hide" the navigation menu. Here's a picture of the problem:

https://i.gyazo.com/ac79aec43f23b453b23 ... abffaf.png

As you can see in the image posted above, what I'm trying to do is deleting completely the menu at the left. I would really appreciate your help, thanks!

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Preference menu overlapping

#2 Post by Imperf3kt »

The preferences menu is included within the game menu.
The navigation is included within that by the 'use navigation' line within game_menu
Removing this line will remove the navigation from every screen that uses the game_menu

You could add a python if and renpy.get_screen to determine if the preferences screen is showing and then not use the navigation screen.

So for example (untested, quickly written up, indentation might be wrong)

Code: Select all

    if not renpy.get_screen("preferences"):
        use navigation
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: No registered users