Hey, I was messing with renpy a bit and a problem happened, I want to remove the text that says in what screen we are right now but can't find the propriety that allows switching that. The image shows what I want. The navigation menu is done with images.
I suspect that the propriety that puts the text on the screen gives an xpos so my Settings buttons go to the right.
Thanks.
These screens are implemented in a slightly complicated way. If you look in screens.rpy, you'll find
which is the preferences screen. The actual word "Preferences", however, ends up on the screen via the
Code:
use game_menu(_("Preferences"), scroll="viewport"):
command. What this does is to pull in the game_menu screen as a sub-screen. Thus, the game_menu screen provides the overall layout for all the game screens. In game_menu, you'll eventually find a "transclude" statement. What this does is take the content that's indented under the
Code:
use game_menu(_("Preferences"), scroll="viewport"):
back in the preferences screen, and insert it at that point.
So, basically, game_menu serves as a template, with the information in the right hand pane being "transcluded" from the preferences screen definition.
So what you want to do is to edit screens.rpy. If you want to remove ALL the screen names, then just remove or comment out the
line right near the end of the game_menu screen. If you want to do it for just the preferences screen, easiest way is to edit the preferences screen so that it passes an empty string in to the
Code:
use game_menu(_("Preferences"), scroll="viewport"):
statement.