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
Posts: 24
Joined: Sun Mar 22, 2015 6:44 pm
Projects: Just a Number

Preference menu overlapping

#1 Post by AlexCLD » Fri Jun 21, 2019 7:59 pm

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: ... 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
Lemma-Class Veteran
Posts: 3080
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor

Re: Preference menu overlapping

#2 Post by Imperf3kt » Fri Jun 21, 2019 9:28 pm

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.

Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

Post Reply

Who is online

Users browsing this forum: Google [Bot]