movie_cutscene doesn't loop?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
kamiomi
Newbie
Posts: 23
Joined: Sun Apr 08, 2007 2:19 am
Contact:

movie_cutscene doesn't loop?

#1 Post by kamiomi »

I've been playing around with animation and movie functions, and I've run into a problem.

I created an animated movie mpeg-1 for testing, and it loops just fine if I define the movie and show it on a displayable (even though it tears like crazy because it's 800x600).

But when I just use the cutscene function, it only plays once and stops:

Code: Select all

$ renpy.movie_cutscene("handmovie.mpg", 2.25, -1)
I tried saying "loops=-1", or different values than -1, or different values of the delay... different delays just cause it to wait on the last frame.


I know the movie is fine, because it loops when I use the displayable:

Code: Select all

$ renpy.movie_start_displayable("handmovie.mpg", (800, 600), -1)
So... what's going on with that? Now that I know how to do it, I want to get it working.

:mrgreen:

Post Reply

Who is online

Users browsing this forum: Donmai, Vamp-sama