When I use the menu, the voices play smoothly.
But when I used the code - call screen, then the voices are not played and the quick_menu is disabled,
Tell me what I'm doing wrong
Code: Select all
label start:
###The voice works
voice "voice/005.ogg"
nez "When you wake up, come downstairs for breakfast."
scene black with Dissolve(1.5)
pause 1.5
scene bgm02 with Dissolve(1.5)
pause 2.5
scene bgm03 with Dissolve(1.5)
pause 2.5
menu:
"Escape from":
$ stage = 1
call screen itag2
etag.rpy
Code: Select all
screen itag2:
tag etag
if change == 0:
add "images/etag2d.png"
else:
add "images/etag2n.png"
fixed:
textbutton _("{outlinecolor=#ffffff}To the back room") xalign 0.34 yalign 0.3 action [Hide("itag2"),Jump("d_kom")]
textbutton _("{outlinecolor=#ffffff}Bedroom") xalign 0.3 yalign 0.4 action [Hide("itag2"),Jump("sp_kom")]
textbutton _("{outlinecolor=#ffffff}To the first room") xalign 0.25 yalign 0.5 action [Hide("itag2"),Jump("per_kom")]
textbutton _("{outlinecolor=#ffffff}To the second room") xalign 0.20 yalign 0.6 action [Hide("itag2"),Jump("vtr_kom")]
textbutton _("{outlinecolor=#ffffff}To the bathroom") xalign 0.20 yalign 0.7 action [Hide("itag2"),Jump("van_kom")]
textbutton _("{outlinecolor=#ffffff}To 1st floor") xalign 0.8 yalign 0.9 action [Hide("itag2"),ShowMenu("itag1")]
screen itag1:
tag etag
if change == 0:
add "images/etag1d.png"
else:
add "images/etag1n.png"
fixed:
if stage > 1:
textbutton _("{outlinecolor=#ffffff}To the kitchen") xalign 0.4 yalign 0.5 action [Hide("itag1"),Jump("kuh_kom")]
textbutton _("{outlinecolor=#ffffff}To the living room") xalign 0.8 yalign 0.5 action [Hide("itag1"), Jump("gost_kom")] ### While prescribing the code for this location, where basically the problem with the voice got out.
textbutton _("{outlinecolor=#ffffff}To 2nd floor") xalign 0.1 yalign 0.4 action [Hide("itag1"), ShowMenu("itag2")]
if stage > 2:
textbutton _("{outlinecolor=#ffffff}outside") xalign 0.5 yalign 0.95 action [Hide("itag1"),Jump("ulicha")]
Code: Select all
label gost_kom:
if days == 1:
scene telo02
$ renpy.movie_cutscene('ep02.webm')
### quick_menu not work
au "............"
scene telo03
pause 1.0
###All subsequent voices do not work here
voice "voice/006.ogg"
nez "Finally arrived."
scene body04
pause 1.6
show rot_05
###voices not work
voice "voice/007.ogg"
nez "Sonya{w=1.0}{nw}"
show mor03
$store._history = False
nez "Sonya{fast}"
$ store._history = True