Page 1 of 1

not playing the movies in android

Posted: Tue May 05, 2015 2:08 pm
by DarkGreiga
Hi, this is my first time in this forum but not my first time using ren'py. I'm making a simple game as a good friend's present and it's already at its final stage, but there seems to be a problem. I use an ogv file for the credits title thing and it plays when I launch the game from ren'py, but I cannot seem to play the movie in android. The file has a silent soundtrack, though, and here's some part of the code with the movie and I'm wondering if I did something wrong which makes the movie unplayable in android:

Code: Select all

    ...
    scene black with fade
    $ renpy.movie_cutscene("Credits.ogv",delay=34,stop_music=False)
    stop music
    jump splashscreen
The music still plays, but the screen was black and no credits are playing.
Another question: is setting the delay necessary to prevent the player from skipping (if possible)?

Re: not playing the movies in android

Posted: Wed May 06, 2015 12:26 am
by PyTom
I don't think ogvs are supported on Android. Perhaps, use webm - that's supported on Android and PC, but not iOS.

Re: not playing the movies in android

Posted: Wed May 06, 2015 3:04 am
by DarkGreiga
unfortunately, it brought another problem... I'll attach the detailed image here then.
This exception occurred every time I reach the video part.

Re: not playing the movies in android

Posted: Wed May 06, 2015 5:51 pm
by PyTom
Can I see how you're calling movie_cutscene? I need to trace things through the traceback to see if I can understand and repeat the problem.

Edit: What's weird is that it looks like you're on a compatibility path here. Are you using a very old rpa?

Re: not playing the movies in android

Posted: Mon May 11, 2015 10:16 pm
by DarkGreiga
Sorry for the late reply. Well, I've tried changing the statement with play movie, so it's pretty much like this (sorry, I'm currently not looking at my code and I don't remember much what's written):

Code: Select all

play movie "Credits.webm"
$ renpy.pause(34)
stop movie