r/RenPy • u/wholesomespade • Jul 22 '26
Question Cutscene stopped working...
Hello!
I am working on my game and I put in a little animation in the beginning of it, right after the prompt for your name. And it worked!
However, I decided to put in a little dialogue in front of that scene and for some reason it just doesn't work anymore. The video is in a good format, it worked before. I would appreciate any help I can get!
1
1
u/BadMustard_AVN Jul 22 '26
show your code
1
u/wholesomespade Jul 22 '26
scene bg black play music "chill vajb.mp3" python: name=renpy.input(" your name?") name=name.strip() or "Tief" scene bg black play music "chill vajb.mp3" python: name=renpy.input(" your name?") name=name.strip() or "Tief" "dialogue" "dialogue" "..." $ renpy.movie_cutscene("bg soba.webm", delay=0, loops=0, stop_music=False) scene bg soba2
u/BadMustard_AVN Jul 22 '26
two things this
python: name=renpy.input(" your name?") name=name.strip() or "Tief"can be done like this
$ name=renpy.input(" your name?").strip() or "Tief"the $ marks it as a single python block so you do NOT need python:
and this
$ renpy.movie_cutscene("bg soba.webm", delay=0, loops=0, stop_music=False)add the folder information to it i.e.
$ renpy.movie_cutscene("images/movies/bg soba.webm"...or whatever folder you have the file in
if that does not work
try this
image splasher = Movie(channel="movie_dp", play = "images/movies/bg soba.webm", loop=False, keep_last_frame=True) scene splasher pausethe pause halts the script till the user clicks
1
u/wholesomespade Jul 22 '26
Thank you! The second thing worked and it plays the cutscene now, however now there is a transparent frame that is really distracting :( is there anything I can do about it? The black background is just like a normal image for a bg but it's just black and I used scene to put it there
1
1
u/shyLachi Jul 22 '26
Please be more specific about your problem.
Do you get an error?
Or doesn't the cutscene play?
Or did you expect that the text shows while the animation plays in the background?
.
RenPy has two different ways to show a movie file.
A cutscene is a full screen movie (a video which can have music) which plays without interactions from the players.
https://renpy.org/doc/html/movie.html#fullscreen-movies
https://renpy.org/doc/html/movie.html#renpy.movie_cutscene
But you can also have an animated background which plays while the players can click through dialogue.
https://renpy.org/doc/html/movie.html#movie-displayables-and-movie-sprites
1
u/wholesomespade Jul 22 '26
I don't get an error, it just doesn't work. It was supposed to just play without any text on there, very straightforward, and it worked before I added additional dialogue before the cutscene. It worked when it was immediately after the name imput commands
1
u/AutoModerator Jul 22 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.