documentation indexreference manualfunction index

Movie

Function: Movie (fps=24, style='default', **properties):

This is a displayable that displays the current movie. In general, a movie should be playing whenever this is on the screen. That movie should have been started using renpy.movie_start_displayable before this is shown on the screen, and hidden before this is removed.

fps - The framerate that the movie should be shown at.

Example

init:
    image movie = Movie()

show movie at Position(xpos=420, ypos=25, xanchor='left', yanchor='top')
show eileen happy

$ renpy.movie_start_displayable('Eisenhow1952.mpg', (352, 240))
e "Ren'Py can even overlay rendered images on top of a movie,
   although that's more taxing for your CPU."

e "It's like I'm some sort of newscaster or something."

$ renpy.movie_stop()
hide movie



documentation indexreference manualfunction index