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: 11
Joined: Fri Oct 13, 2017 5:53 am
Contact:

How can i make cutscenes?

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

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: How can i make cutscenes?

#2 Post by IrinaLazareva »

line 79:

Code: Select all

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

Code: Select all

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

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

Re: How can i make cutscenes?

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

mikolajspy
Regular
Posts: 169
Joined: Sun Jun 04, 2017 12:05 pm
Completed: Too many, check signature
Deviantart: mikolajspy
Location: Wrocław, Poland
Contact:

Re: How can i make cutscenes?

#4 Post 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.

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

Re: How can i make cutscenes?

#5 Post 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?

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

Re: How can i make cutscenes?

#6 Post 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.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

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

Re: How can i make cutscenes?

#7 Post 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.

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

Re: How can i make cutscenes?

#8 Post 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
Attachments
script.rpy
(892 Bytes) Downloaded 152 times

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: How can i make cutscenes?

#9 Post by IrinaLazareva »

the '$' sign is missed:

Code: Select all

    $ renpy.movie_cutscene("untitledavi.webm")

Post Reply

Who is online

Users browsing this forum: No registered users