Credits (Webm movie) works, but not after distribution

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
User avatar
illuminate001
Veteran
Posts: 412
Joined: Thu Jul 02, 2009 1:46 pm
Completed: DSGR, Let's MEAT Adam, Sexy Litter, Bara Boarders
Projects: Secret Project
Organization: Soulsoft Electronic Arts
Tumblr: soulsoftea
itch: soulsoftea
Location: Orlando, FL
Contact:

Credits (Webm movie) works, but not after distribution

#1 Post by illuminate001 »

So I'm trying to solve a very frustrating mystery. I decided to create my Credits Roll as a webm movie. It plays and while I was creating my VN it totally worked ingame once the player reaches an ending.

So I went to make build distributions. However, now that Im actually playing a build, the movie no longer plays consistently at the end. What gives?!

Here's what I know...

You don't have to declare webm/movies at the beginning.

You run through the story then reach the end of a route, so...

Code: Select all

    jump credits
You then should jump to the credits label.

Code: Select all

label credits:
    scene white
    with dissolve

    stop music

    $ renpy.pause(1.5, hard=True)

    $ renpy.movie_cutscene("dsgr-credits.webm")

    #$ renpy.pause ()   # will wait untill player click
    $ renpy.pause (0.5) # will wait 5 sec or player's click to continue
    $ renpy.pause (0.5, hard=True)

    scene white
    with flashbulb

    $renpy.full_restart()
When I was testing the game in renpy it worked fine but after creating the build the webm no longer plays consistently (sometimes it will play and other times the game will just end). This is essentially the same code I used in Let's MEAT Adam for the credits (which were also webm) and it worked 100% even after distribution there. I'm at a complete loss.
ImageImage
ImageImage

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: Credits (Webm movie) works, but not after distribution

#2 Post by PyTom »

Are you on 6.99.13? There's an issue with movie playback there that might manifest like this.
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

User avatar
illuminate001
Veteran
Posts: 412
Joined: Thu Jul 02, 2009 1:46 pm
Completed: DSGR, Let's MEAT Adam, Sexy Litter, Bara Boarders
Projects: Secret Project
Organization: Soulsoft Electronic Arts
Tumblr: soulsoftea
itch: soulsoftea
Location: Orlando, FL
Contact:

Re: Credits (Webm movie) works, but not after distribution

#3 Post by illuminate001 »

PyTom wrote: Fri Dec 01, 2017 12:12 am Are you on 6.99.13? There's an issue with movie playback there that might manifest like this.
Hey PyTom,

Yes indeed, I'm on 6.99.13.2919. So if I were to update Renpy to the next version and then redistribute the game, would that fix the issue?
ImageImage
ImageImage

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: Credits (Webm movie) works, but not after distribution

#4 Post by PyTom »

Yes, though that version isn't out yet.
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

User avatar
illuminate001
Veteran
Posts: 412
Joined: Thu Jul 02, 2009 1:46 pm
Completed: DSGR, Let's MEAT Adam, Sexy Litter, Bara Boarders
Projects: Secret Project
Organization: Soulsoft Electronic Arts
Tumblr: soulsoftea
itch: soulsoftea
Location: Orlando, FL
Contact:

Re: Credits (Webm movie) works, but not after distribution

#5 Post by illuminate001 »

Ok, as long as it's on your radar and is slated to be fixed next update then I'll just wait until then. :)

Thanks PyTom!
ImageImage
ImageImage

Post Reply

Who is online

Users browsing this forum: Semrush [Bot]