Post
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`.
0 reposts4 likes
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)
My favourite testing tip: there's a special config called config.auto_choice_delay. Originally made for demonstration booths, this can be set to a length of time to wait before the game automatically chooses an option from a choice menu.
You can use it for that, or you can do what I do, which is set it to a tiny number and skip through my entire game multiple times. Open up the console with shift+o and type in config.auto_choice_delay = 0.01, hit enter, and skip to your heart's content.