Play movie in Renpy

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
AmanoTooko1301
Newbie
Posts: 4
Joined: Wed Jul 09, 2014 10:08 am
Contact:

Play movie in Renpy

#1 Post by AmanoTooko1301 »

Hi everyone! I want to play video in renpy, but when I defined and play, it didn't working :( Besides, I don't know what type of movie can play except .ogv file (maybe .mp4 is not working for Renpy?). Please help!


Code:

define me = "Image.png" (for example)

define movie = "game intro.mp4"

image movie = movie (size= (320,240),xpos=475,ypos=50,xanchor=0,yanchor=0)

show movie behind me

play movie

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Play movie in Renpy

#2 Post by Alex »

Ren'Py expects that every movie will have an audio track associated with it, even if that audio track consists of nothing but silence.
this might be the case.
http://www.renpy.org/doc/html/movie.html

User avatar
AmanoTooko1301
Newbie
Posts: 4
Joined: Wed Jul 09, 2014 10:08 am
Contact:

Re: Play movie in Renpy

#3 Post by AmanoTooko1301 »

Thanks a lot :)

Post Reply

Who is online

Users browsing this forum: Google [Bot]