Help in splashscreen

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
anlo09
Newbie
Posts: 18
Joined: Fri Feb 21, 2014 9:45 pm
Projects: Music is Everything [GxB][KN][Classical Music] Idol [GxB][Otome][Visual Novel]
IRC Nick: Anneloe
Location: SOMEWHERE OVER THE RAINBOW
Contact:

Help in splashscreen

#1 Post by anlo09 »

The video won't play and when I opened my game it just go directly to the menu, what's wrong with it??

Here's the code I've entered anyways...

Code: Select all

label splashscreen:
           
    $ renpy.movie_cutscene('name_of_video.ogv')
    
    return
    

# The game starts here.
label start:
Thank you in advance!!

User avatar
rakada
Regular
Posts: 71
Joined: Tue Jan 07, 2014 11:00 pm
Contact:

Re: Help in splashscreen

#2 Post by rakada »

show label splashscreen:

$ renpy.movie_cutscene('zombie.mpg')




return

is how i did mine and it is working

1:you dont have show before the label that could be the reason
2:or the type of video file that you using is not working right with renpy

those might fix it

User avatar
anlo09
Newbie
Posts: 18
Joined: Fri Feb 21, 2014 9:45 pm
Projects: Music is Everything [GxB][KN][Classical Music] Idol [GxB][Otome][Visual Novel]
IRC Nick: Anneloe
Location: SOMEWHERE OVER THE RAINBOW
Contact:

Re: Help in splashscreen

#3 Post by anlo09 »

rakada wrote:show label splashscreen:

$ renpy.movie_cutscene('zombie.mpg')




return

is how i did mine and it is working

1:you dont have show before the label that could be the reason
2:or the type of video file that you using is not working right with renpy

those might fix it
when I put 'show' before the label, here's what appears...

Code: Select all

I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/script.rpy", line 69: expected 'comma or end of line' not found.
    $ renpy.movie_cutscene('name_of_video.ogv')
    ^

Ren'Py Version: Ren'Py 6.17.0.282
what should I do?

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Help in splashscreen

#4 Post by Asceai »

show label splashscreen: is not valid. I don't how it ever worked for rakada.

Anyway, that's how you play a video in ren'py and it works fine for me with the tutorial's shuttle.ogv copied and renamed to name_of_video.ogv so I can only assume there's some problem with the video.

User avatar
rakada
Regular
Posts: 71
Joined: Tue Jan 07, 2014 11:00 pm
Contact:

Re: Help in splashscreen

#5 Post by rakada »

That really weird since that how I done it for more then one type of game haha I should try the other way

User avatar
anlo09
Newbie
Posts: 18
Joined: Fri Feb 21, 2014 9:45 pm
Projects: Music is Everything [GxB][KN][Classical Music] Idol [GxB][Otome][Visual Novel]
IRC Nick: Anneloe
Location: SOMEWHERE OVER THE RAINBOW
Contact:

Re: Help in splashscreen

#6 Post by anlo09 »

It still won't work even though I converted the video...
Image

Image

User avatar
rakada
Regular
Posts: 71
Joined: Tue Jan 07, 2014 11:00 pm
Contact:

Re: Help in splashscreen

#7 Post by rakada »

I had this problem before where my video wouldn't work on my game ( would skip over it to the main menu) because it was at a certain bitrate so I converted it too a lower bit rate and it worked fine. so that could possible be it but not sure why it not working. I could see if the video work on my test if I had said video to see If there was something wrong with the video itself

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Help in splashscreen

#8 Post by Asceai »

anlo09 wrote:It still won't work even though I converted the video...
Does your video have an audio track? ren'py requires one, even if it just contains silence.

User avatar
anlo09
Newbie
Posts: 18
Joined: Fri Feb 21, 2014 9:45 pm
Projects: Music is Everything [GxB][KN][Classical Music] Idol [GxB][Otome][Visual Novel]
IRC Nick: Anneloe
Location: SOMEWHERE OVER THE RAINBOW
Contact:

Re: Help in splashscreen

#9 Post by anlo09 »

Asceai wrote: Does your video have an audio track? ren'py requires one, even if it just contains silence.
Yes, it does...
Image

Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]