So I have this photo I would like to show up as the choice overlay photo during choice screens.
It used to work perfectly fine in the past, but now it'll pop up AFTER a choice is made, for about a split second. Is there any way for me to resolve this?
The choice overlay code in my screens.rpy looks like this:
Code: Select all
transform fade_overlay(start, end, duration):
alpha start
linear duration alpha end
image choice_overlay = "Closeup.png"
define config.layers = [ "master", "transient", "say", "choice_overlay", "screens", "overlay" ]
define config.say_layer = "say"
screen choice(items):
style_prefix "choice"
# Show overlay in choice menu.
on "show" action Function(renpy.show, "choice_overlay", at_list=[fade_overlay(0, 1, 0.5)], layer="choice_overlay")
on "hide" action Function(renpy.show, "choice_overlay", at_list=[fade_overlay(1, 0, 0.5)], layer="choice_overlay")
For example, I would like that photo to be the choice overlay in one scenario, but have a different character as the choice overlay in another scenario.
Thank you in advance!
(For anyone who recognizes it, yes, I am trying to make a Persona 5 fangame )