Cutscene won't display

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
User avatar
Geckos
Veteran
Posts: 469
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

Cutscene won't display

#1 Post by Geckos » Sat Feb 17, 2018 7:43 am

Tried to get this code working

Code: Select all

$ renpy.movie_cutscene("movies/jc_phones_null_short.webm")
The screen freezes until the length of the movie is over, and then it resumes the game as normal.

I can get movies to work with

Code: Select all

image jc_phones_null_short = Movie(play="movies/jc_phones_null_short.webm", loops=0, delay=None)

But I can't get this to stop infinitely looping.

Not sure what to do! Any help is appreciated.
Thanks!
Image ImageImage

User avatar
Brxndan
Newbie
Posts: 2
Joined: Sat Feb 17, 2018 12:08 pm
Contact:

Re: Cutscene won't display

#2 Post by Brxndan » Sat Feb 17, 2018 12:51 pm

Not totally sure how it would work, but you could try looking at this.

https://www.renpy.org/doc/html/movie.html

User avatar
Geckos
Veteran
Posts: 469
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

Re: Cutscene won't display

#3 Post by Geckos » Sat Feb 17, 2018 7:53 pm

Brxndan wrote:
Sat Feb 17, 2018 12:51 pm
Not totally sure how it would work, but you could try looking at this.

https://www.renpy.org/doc/html/movie.html
I've been all over the renpy documentation and relevant troubleshooting threads I could find, with no luck~!
Image ImageImage

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

Re: Cutscene won't display

#4 Post by Imperf3kt » Sat Feb 17, 2018 8:49 pm

Geckos wrote:
Sat Feb 17, 2018 7:43 am
I can get movies to work with

Code: Select all

image jc_phones_null_short = Movie(play="movies/jc_phones_null_short.webm", loops=0, delay=None)

But I can't get this to stop infinitely looping.
loops=-1 is for indefinite looping, loops=0 should not loop at all. Maybe try leaving it out altogether?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Todo list:
Actually finish a project

irredeemable
Regular
Posts: 78
Joined: Thu Feb 08, 2018 7:57 am
Contact:

Re: Cutscene won't display

#5 Post by irredeemable » Sat Feb 17, 2018 9:53 pm

Code: Select all

play movie "movies/jc_phones_null_short.webm"

User avatar
Geckos
Veteran
Posts: 469
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

Re: Cutscene won't display

#6 Post by Geckos » Sat Feb 17, 2018 11:15 pm

Did some more testing, problem seems to be with the type of ren'py game I created (an older one that doesn't use the new gui). Or at least with the version of the script I'm working with now, which uses some older code.
Movie plays with that code in a new build. Will have to think about what to do! Not quite ready to troubleshoot an entire project so until then I might just use my previous method to show movies and not worry about the "play movie" or "cutscene" commands. Thank you though!
Image ImageImage

Post Reply

Who is online

Users browsing this forum: Google [Bot], hell_oh_world