Display problems

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
zhoope
Newbie
Posts: 2
Joined: Thu Aug 27, 2020 5:31 pm
Contact:

Display problems

#1 Post by zhoope » Thu Aug 27, 2020 5:53 pm

good night everyone a have a small problem with overlays and screens i already lost some hours searching on documentation but no lucky :roll:
i have something like this:
screen anything:
imagebutton:
action NullAction()
idle "drop_ores_button"
hover "drop_ores_l"
hovered SetVariable("ore_x",True)
unhovered SetVariable("ore_x",False)
xalign 0.3742
yalign 0.0065


showif ore_x == True:
frame:
xpos 3 ypos 2
background "drop_ores"

text "[cooper_ore]":
xpos 495
ypos 0.097

text "[iron_ore]":
xpos 495
ypos 0.17

text "[silver_ore]":
xpos 495
ypos 0.24

text "[gold_ore]":
xpos 495
ypos 0.31

text "[diamond_ore]":
xpos 495
ypos 0.38

text "[mystical_ore]":
xpos 495
ypos 0.45

[issue]in the same screen i have a lot of textbuttons"used as placeholders for now" my doubt is how i put the showif with the frame over the text buttons[/issue]
Attachments
doubt.png

Post Reply

Who is online

Users browsing this forum: Google [Bot]