Page 1 of 1

How can i make cutscenes?

Posted: Sat Oct 14, 2017 4:57 am
by scribbloid
I dont understand the documentation in the wiki.
I watched two YouTube tutorials too.
I tried to add a movie to my game, but it didnt work.
Maybe there is a mistake in the script

Re: How can i make cutscenes?

Posted: Sat Oct 14, 2017 5:13 am
by IrinaLazareva
line 79:

Code: Select all

    $ renpy.movie_cutscene("film/type2.mp4")
instead of

Code: Select all

    $ renpy.movie_cutscene/("film/type2.mp4")

Re: How can i make cutscenes?

Posted: Sat Oct 14, 2017 5:38 am
by scribbloid
Thank you, but now I get another error message.
I think I did a second mistake.
My script is the same now I changed only line 79.

Re: How can i make cutscenes?

Posted: Sat Oct 14, 2017 5:49 am
by mikolajspy
Check if the movie file is really in the "film" folder and if has the same name as in script.
Looks like it's either not there or might have other name or format.

Re: How can i make cutscenes?

Posted: Sat Oct 14, 2017 5:54 am
by scribbloid
Oh, there is a film Folder? That is interesting, but I found know film Folder. I typed it in, but Windows found no film Folder.

Where can I find it?

Re: How can i make cutscenes?

Posted: Sat Oct 14, 2017 8:00 am
by Imperf3kt
Here's the issue

Code: Select all

$ renpy.movie_cutscene("film/type2.mp4")
This code that says
$ renpy.movie_cutscene :
insert cutscene here

This code says
("film/type2.mp4")

Where is the file that will be used for said cutscene

The issue here is you have specified the file is in a folder called film/
According to you, this folder does not exist, so make it (within the game folder of your project) and place your file in there.

Also note that Ren'Py does not support mp4 files. You'll have to use a file format on the https://www.renpy.org/doc/html/movie.html documentation.

Also, please stick to just one thread per topic. Multiple threads for the same / very similar issue causes people to get confused / duplicate answers others may have already given you and will only disrupt the forums.

Re: How can i make cutscenes?

Posted: Sat Oct 14, 2017 8:38 am
by scribbloid
It works!
On the renpy Website i found something about mp 4.
Because of this I thought I dont need mp4, but now I have a webm file and it works perfect.
Thank you.

Re: How can i make cutscenes?

Posted: Sun Dec 10, 2017 10:23 am
by scribbloid
Hi, I tried to add a new animation to my game, but I get an error message:

Image

I also added my script, maybe you can find the mistake i did in it

thank you

Re: How can i make cutscenes?

Posted: Sun Dec 10, 2017 10:50 am
by IrinaLazareva
the '$' sign is missed:

Code: Select all

    $ renpy.movie_cutscene("untitledavi.webm")