I've been using:
image movie = Movie(size=(1920,1080), xpos=0, ypos=0, xanchor=0, yanchor=0)
(because I want it to take up the entire screen)
play movie "nj distant.ogv"
but hide movie doesn't seem to do anything, and neither does pause 3.0/7.0/any number i put in
how would i loop the video to play for only a certain amount of time? alternatively, how could i make it so that the video stops and/or leaves if you click?
Here's an example of defining a movie sprite:
image eileen movie = Movie(play="eileen_movie.webm", mask="eileen_mask.webm")
The movie sprite can be shown using the show statement, which automatically starts the movie playing. It will be automatically stopped when the displayable is hidden.
show eileen movie
e "I'm feeling quite animated today."
e "But there's no point on wasting energy when I'm not around."
make sure you have the indentation right as well, hope this helps
Users browsing this forum: No registered users