Here is what I have
$ renpy.movie_cutscene("On_Your_Mark.webm")
stop movie
$ renpy.pause(2.0, hard='True')
I added that part just for a a buffer from movie back to game.
It'll play once and then would repeat itself after clicking out of it. I tried multiple things on the movie section of ren py's manual but nothing works. I think I'm just over looking a basic part
thanks again guys
Video will not stop
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.
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.
-
- Regular
- Posts: 30
- Joined: Mon Jan 08, 2018 12:14 am
- Contact:
Re: Video will not stop
Hello there. I don't use movies, so my help will be less useful than a movie-master, but I think I can help you out.
First off, your currently used example should end/stop looping after it's finished, or a key is pressed.
Do you have some simple text to after it? For now, let's try this.
Let's try the following code.
Did it go straight to Eileen, assuming you've defined her? Great, problem solved.
If not, let's try this. First, add this to your images.
Now, let's make a scene again.
Even if the first 'solution' helps you out, if you're planning to use a file more than once, defining it can be a lot of help. Let me know if this doesn't work for you.
Good luck!
First off, your currently used example should end/stop looping after it's finished, or a key is pressed.
Do you have some simple text to after it? For now, let's try this.
Let's try the following code.
Code: Select all
$ renpy.movie_cutscene("On_Your_Mark.webm")
e "Ah, it's the tutorial .webm file!"
e "Sometimes, you can't beat the classics."
If not, let's try this. First, add this to your images.
Code: Select all
image testmovie = Movie(play="On_Your_Mark.webm", loop=False)
Code: Select all
e "This is an example of dialogue."
e "Now, let's show our movie!"
show testmovie
e "Well, that wraps that up!"
Good luck!
Life is short; be kind.
Who is online
Users browsing this forum: Alex