Okay, so it's the first time I'm working with styles in ren'py and I'm running into a wall.
In this case I'm working on the "History" game screen. I'm trying to darken the area behind the lines of text.
I've got an image with less than 100% opacity. However, when I style it this way
Code: Select all
style history_window:
"gui/history_bg.png"
It doesn't come out quite right, because sometimes it is a pixel more and sometimes a pixel less, which works poorly for an image with some transparency. (It's very noticable when it overlaps).
so instead I added a vbox and try to style that instead:
Code: Select all
style history_window:
style history_vbox:
background "gui/history_bg.png"
Through testing and inspection I can see that other styles that I apply get applied, but not the background image. I would have expected this to add the background to the items in it, but that doesn't seem to appear how it works. How can I make a background, overlayed on the general background of the menu, and underlayed to the text of history_window?