I updated my ver (renpy-6.18.3-sdk) to renpy-6.99.12.2-sdk, inorder to get the Android build to work. It would work before.
However there are a few thing that I noticed
- 1) When I opened an overview (eg. an inventory), and try to close it via x-button the modal (do you want to leave?, yes/no) is placed behind the overlay (which makes sense since renpy order those layers like this, but I wonder if I can put the modal on top of everything?). I tried zorder, but no chance. I need to put this modal in front of my overlays, and in front of my screens, but screens in general need to stay behind overlay. Is there a way to do it and how?
- 2) margin-top, ymargin,.. do not work anymore like before. e.g. a textbutton will only move its font but not its backgroundimg.
- 3) & ypos: I can't define a ypos e.g. for a list of menu items set all of them to a certain ypos and define the space between them via margin
Code: Select all
style.button['backmenu'].background = mainmenu_background
style.button['backmenu'].hover_background = mainmenu_hover_background
style.button['backmenu'].xfill = True
style.button['backmenu'].text_align = 0.5
style.button['backmenu'].xpos = mainmenu_xpos
style.button['backmenu'].ypos = 4 * mainmenu_ypos + 20
style.button['backmenu'].left_margin = mainmenu_left_margin
style.button['backmenu'].top_margin = mainmenu_top_margin => this won't work anymore
style.button['backmenu'].top_padding = mainmenu_top_padding
style.button['backmenu'].xmaximum = mainmenu_xminimum
style.button['backmenu'].ymaximum = mainmenu_yminimum