My renpy.movie_cutscene("opening.mpg") is not working

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
canonic22
Regular
Posts: 27
Joined: Mon Oct 26, 2015 11:33 am
Tumblr: akira
Deviantart: akira
Github: akira
Contact:

My renpy.movie_cutscene("opening.mpg") is not working

#1 Post by canonic22 » Tue Oct 27, 2015 10:37 pm

I've read other post about video not working and try it, but it's still not working. In the

http://www.renpy.org/wiki/renpy/doc/reference/Movies

it says that just put this code $ renpy.movie_cutscene("On_Your_Mark.mpg") and you can play the video. But it seems not work for me.

User avatar
Jae
Regular
Posts: 192
Joined: Sun Sep 13, 2015 5:41 pm
Projects: Pokémon Academy Life
Location: New York, NY
Contact:

Re: My renpy.movie_cutscene("opening.mpg") is not working

#2 Post by Jae » Wed Oct 28, 2015 12:10 am

1. Use .webm (V8)
2. Make sure the video has an audio track (Vorbis)

Documentation for videos isn't that great. From my experience the majority of file types listed there either stutter/lag or don't work at all.

canonic22
Regular
Posts: 27
Joined: Mon Oct 26, 2015 11:33 am
Tumblr: akira
Deviantart: akira
Github: akira
Contact:

Re: My renpy.movie_cutscene("opening.mpg") is not working

#3 Post by canonic22 » Wed Oct 28, 2015 9:06 am

i see. Thanks, so any tips for the ending of game. I want to give something like credit because right now after the game ended, it just back to main menu (I need to give image and blank dialogue so the user need to click and the game have delay before back to the main menu. )

User avatar
Donmai
Eileen-Class Veteran
Posts: 1919
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: My renpy.movie_cutscene("opening.mpg") is not working

#4 Post by Donmai » Wed Oct 28, 2015 2:55 pm

There is a cookbook for scrolling credits here: http://lemmasoft.renai.us/forums/viewto ... 51&t=22481
Or, if you want to simply show an image before ending, put these two lines before the 'return' line at the very end of your script:

Code: Select all

Scene Your_final_image with fade # an image with credits, a character saying "Goodbye", or something
$ renpy.pause() # a pause command with no parameters force the game to wait for an user interaction
return # the last line of your script
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], _ticlock_