Version 7.3.5 did not have this problem.
I attach the file.
https://drive.google.com/file/d/1WWTG0t ... sp=sharing


Code: Select all
screen location(bg,objects):
add bg
for obj in objects:
imagebutton:
focus "loc_button_#"+obj["action"] ## generate unique enough id for each button and tell renpy to use it as focus id
focus_mask True
pos obj["pos"]
auto obj["image"]
action Return(obj["action"])
Code: Select all
label start:
$ tikva_1 = False
"Use engine version 7.4.10. Click on the pumpkin. The witch button will light up for a split second. Why?"
show screen vedma
window hide
$inmenu = False
$onscreen = True
hide screen statusbar
$ ui.interact()
return
screen vedma:
add "Backgrounds/gorod_psiha/vedma/vedma_day.jpg"
add "Backgrounds/gorod_psiha/vedma/vedma_idle.png" xalign 0.08 yalign 0.09
imagebutton:
auto "Backgrounds/gorod_psiha/vedma/vedma_%s.png"
align (0.08,0.09)
action Jump ("start")
if tikva_1 == False:
imagebutton:
idle "Backgrounds/gorod_psiha/vedma/halloween/tikva_1_idle.png"
hover "Backgrounds/gorod_psiha/vedma/halloween/tikva_1_idle.png"
align (0.981,0.47)
action SetVariable("tikva_1", True)Code: Select all
imagebutton:
focus "gorod_psiha_vedma_button" ## this line, just set it to something unique
auto "Backgrounds/gorod_psiha/vedma/vedma_%s.png"
align (0.08,0.09)
action Jump ("start")
Code: Select all
imagebutton:
focus "gorod_psiha_tikva_button" ## different focus id
idle "Backgrounds/gorod_psiha/vedma/halloween/tikva_1_idle.png"
hover "Backgrounds/gorod_psiha/vedma/halloween/tikva_1_idle.png"
align (0.981,0.47)
action SetVariable("tikva_1", True)
Code: Select all
screen vedma:
add "Backgrounds/gorod_psiha/vedma/vedma_day.jpg"
add "Backgrounds/gorod_psiha/vedma/vedma_idle.png" xalign 0.08 yalign 0.09
imagebutton:
auto "Backgrounds/gorod_psiha/vedma/vedma_%s.png"
align (0.08,0.09)
action Jump ("start")
imagebutton:
sensitive tikva_1_acquired==False
insensitive Null()
idle "Backgrounds/gorod_psiha/vedma/halloween/tikva_1_idle.png"
hover "Backgrounds/gorod_psiha/vedma/halloween/tikva_1_idle.png" # this line can be deleted, only keep the idle line.
align (0.981,0.47)
action SetVariable("tikva_1", True)
Users browsing this forum: No registered users