Ren'Py How to display text during animation/video in renpy games ?

jadarian

Newbie
Aug 3, 2018
19
38
I want to display dialogue during animation but could not succeed. This is how I did:

label start:
scene pic1 with dissolve
pause
show pic3 with dissolve
pause
scene pic4 with vpunch
play movie "anim1.webm" loop
MrX "Hello World"
MsY "Hello World"
pause
return

However, during animation it does not display any text. When I click, scene ends. How can I resolve this?
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,971
16,225
How can I resolve this?
By reading the documentation that come with the SDK, particularly the page related ?
"The Movie displayable can be used to display a movie anywhere Ren'Py can show a displayable. For example, a movie can be displayed as the background of a menu screen, or as a background. "


Code:
image myMovie = Movie( play="anim1.webm" )

label start:
    show myMovie
    "DONE"
    return
By the way, there's a whole section of the forum dedicated to development. It's where you should have asked this, or more precisely into its help sub-section. You can also browse this section, you would have found the answer to your problem.