This is the gist of it:
Alongside the main timeline we make (or define) side timelines:
Code: Select all
label backgrounds timeline bg:
show bg1 morning with with dissolve
pause
show bg1 noon with with dissolve
pause
show bg1 afternoon with with dissolve
pause
show bg1 night with with dissolve
pause
jump backgrounds
Code: Select all
init python:
def advance_bg():
renpy.timeline.bg.advance()
def bg_jump(label):
renpy.timeline.bg.jump(label)
Another advantage having multiple timelines can have, is ability to have multiple conversations happening at the same time but with different paces. the character can be answering text messages while the story is going on, or leave answering those text messages for a later time.
or it can be like playing multiple games at once if we let the player have multiple say or NVL screens.