How can i make cutscenes?

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
scribbloid
Newbie
Posts: 10
Joined: Fri Oct 13, 2017 5:53 am
Contact:

How can i make cutscenes?

#1 Post by scribbloid » Sat Oct 14, 2017 4:57 am

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
Attachments
script.rpy
(2.41 KiB) Downloaded 3 times
error.png

User avatar
IrinaLazareva
Regular
Posts: 144
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy, Эра Тёмных Небес
Organization: IKG
Location: St.Petersburg, Russia
Contact:

Re: How can i make cutscenes?

#2 Post by IrinaLazareva » Sat Oct 14, 2017 5:13 am

line 79:

Code: Select all

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

Code: Select all

    $ renpy.movie_cutscene/("film/type2.mp4")
R I S E

scribbloid
Newbie
Posts: 10
Joined: Fri Oct 13, 2017 5:53 am
Contact:

Re: How can i make cutscenes?

#3 Post by scribbloid » Sat Oct 14, 2017 5:38 am

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.
Attachments
error.png

mikolajspy
Regular
Posts: 89
Joined: Sun Jun 04, 2017 12:05 pm
Completed: Jake's Love Story
Deviantart: mikolajspy
Location: Wrocław, Poland
Contact:

Re: How can i make cutscenes?

#4 Post by mikolajspy » Sat Oct 14, 2017 5:49 am

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.

scribbloid
Newbie
Posts: 10
Joined: Fri Oct 13, 2017 5:53 am
Contact:

Re: How can i make cutscenes?

#5 Post by scribbloid » Sat Oct 14, 2017 5:54 am

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?

User avatar
Imperf3kt
Miko-Class Veteran
Posts: 985
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: How can i make cutscenes?

#6 Post by Imperf3kt » Sat Oct 14, 2017 8:00 am

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.
Image

Warning: May contain trace amounts of gratuitous plot.

scribbloid
Newbie
Posts: 10
Joined: Fri Oct 13, 2017 5:53 am
Contact:

Re: How can i make cutscenes?

#7 Post by scribbloid » Sat Oct 14, 2017 8:38 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users