not playing the movies in android

Questions, skill improvement, and respectful critique involving music, sound, and movies.
Post Reply
Message
Author
DarkGreiga
Newbie
Posts: 3
Joined: Tue May 05, 2015 1:58 pm
Deviantart: DarkGreiga
Contact:

not playing the movies in android

#1 Post 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)?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: not playing the movies in android

#2 Post by PyTom »

I don't think ogvs are supported on Android. Perhaps, use webm - that's supported on Android and PC, but not iOS.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

DarkGreiga
Newbie
Posts: 3
Joined: Tue May 05, 2015 1:58 pm
Deviantart: DarkGreiga
Contact:

Re: not playing the movies in android

#3 Post 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.
Attachments
Screenshot_2015-05-06-13-48-44[1].png

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: not playing the movies in android

#4 Post 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?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

DarkGreiga
Newbie
Posts: 3
Joined: Tue May 05, 2015 1:58 pm
Deviantart: DarkGreiga
Contact:

Re: not playing the movies in android

#5 Post 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

Post Reply

Who is online

Users browsing this forum: No registered users