Page 1 of 1
Overlay issue in 6.99
Posted: Sat Sep 10, 2016 6:27 pm
by DesertFox
I'm experiencing a hiccup with regards to the overlay layer in 6.99. Previously, using the below coding, an image was overlaid at all scenarios that didn't include a screen. This was mainly for any dialogue sequences, the splashscreen sequence and one or two other scenes. Since updating to 6.99, this doesn't happen anymore. I wondered if anything was changed that would have affected this.
Code: Select all
init python:
def overlay():
if orange:
ui.image ("monitor")
else:
ui.image ("monitor")
config.overlay_functions.append(overlay)
screen quick_menu():
if main_menu: #or renpy.get_screen("preferences") or renpy.get_screen("save") or renpy.get_screen("load"):
add "monitor"
Re: Overlay issue in 6.99
Posted: Sat Sep 10, 2016 9:29 pm
by pratomoastan
Try update the renpy to nightly version.
Re: Overlay issue in 6.99
Posted: Sat Sep 10, 2016 10:03 pm
by trooper6
Maybe call your function something other than overlay since that word is used for layers and bunch of other things?
No clue if that will help, but just tossing out an idea.
Re: Overlay issue in 6.99
Posted: Sun Sep 11, 2016 7:24 am
by DesertFox
Tried both suggestions. No luck I'm afraid.
Re: Overlay issue in 6.99
Posted: Sun Sep 11, 2016 10:53 am
by xela
For the record, PyTom opened an issue about this thread on github so it should get fixed.
Re: Overlay issue in 6.99
Posted: Sun Sep 11, 2016 4:29 pm
by DesertFox
xela wrote:For the record, PyTom opened an issue about this thread on github so it should get fixed.
Thanks for letting me know. I'll wait to hear more.
Re: Overlay issue in 6.99
Posted: Sun Sep 11, 2016 5:50 pm
by PyTom
Is this issue occurring outside of a splashscreen? I did add code to 6.99.12 to disable overlays during splash, now that the quick menu is part of an overlay screen.
Re: Overlay issue in 6.99
Posted: Sun Sep 11, 2016 7:05 pm
by DesertFox
PyTom wrote:Is this issue occurring outside of a splashscreen? I did add code to 6.99.12 to disable overlays during splash, now that the quick menu is part of an overlay screen.
It mainly occurs in the
splashscreen, in a screen called after that to determine styling, and then in a label that continues until a return to the main menu. Nearly all other screens are covered by
quick_menu, which also calls the image.
Code: Select all
label splashscreen:
#splash elements
call screen pretheme()
screen pretheme():
#Variables are set
#A button jumps to splashcontinue
label splashcontinue:
#splash elements
return
Re: Overlay issue in 6.99
Posted: Sun Sep 11, 2016 7:53 pm
by PyTom
Can you try:
define config.splashscreen_suppress_overlay = False
Re: Overlay issue in 6.99
Posted: Mon Sep 12, 2016 2:59 am
by DesertFox
PyTom wrote:Can you try:
define config.splashscreen_suppress_overlay = False
Yes, that's working fine now. Out of interest, why the move to disable overlays in splash?
Re: Overlay issue in 6.99
Posted: Mon Sep 12, 2016 9:47 am
by PyTom
There's now something called an overlay screen, which is a screen that is shown whenever an overlay is. We generally don't want overlays in the splashscreen, I think - it's for presenting company logos like that, and not for game text. (For example, we can't save in the splashscreen, or get to the preferences, either.)