Right I've scoured for hours on google, looked at the renpy docs and nada.
in my script.rpy I have
Code: Select all
show screen jewel_button with dissolve
fluff code...
call screen select_girl with dissolveIn screens.rpy
Code: Select all
screen jewel_button:
imagebutton auto "jewel_%s.png":
xpos 0
ypos 0
if select_girl_active == False:
action Show("cards", dissolve)
...
screen select_girl:
$select_girl_active = True
add "necklace2.png"
...However when I call the select_girl screen I don't want the jewel_button to be active.
As you can see from above code, it's already hidden with the necklace2.png getting called.
I've tried the doing the if statement which doesn't work (I have an idea why but know why doesn't really help).
I've tried hide jewel_button just under call select_girl in script.rpy (well it still remains active so no good)
I've tried
Code: Select all
showif select_girl_active == False:
screen jewel_buttonbut that returns an error cause I'm pretty sure the syntax is incorrect but you try and google examples and all i'm lead to is the renpy doc page which has:
Code: Select all
showif n == 3:
text "Three" size 100 at cd_transformSo yes, I do like to try things myself, try to understand the code I find on the internet before asking and now I'm stuck, even though I'm sure it's a very simple thing to do. Any help?
Thanks.