Post

It is NOT a variable checking "you are on the main menu screen specifically" - to do that, use `if renpy.get_screen("main_menu")`. In short: can you hit Return to return to gameplay? Then `main_menu` is False. Otherwise, it's True.

0 reposts5 likes

It adds the two together, so `xpos position(1.0, -10)` positions the item at 100% of the available space, -10 (e.g. if the available space was 1920, this would put the xpos at 1920-10 = 1910). Extremely useful for offsetting positions or sizes a bit from the edge or center without using `offset`.

Does it bother you that the Window button in the default preferences screen is never highlighted, even when the game is not fullscreen? This is a quirk of how that button action checks if it's selected - technically, it's only highlighted if the window is exactly the game dimensions (e.g. 1920x1080)