here is my script problem

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
Steve
Newbie
Posts: 6
Joined: Tue May 25, 2010 9:44 pm
Contact:

here is my script problem

#1 Post by Steve »

image j picture = "Jeannie.jpg"
image tb picture = "trueblood.jpg"
image sc picture = "Shawn and Caleb.jpg"

label start:

scene j picture
with fade
"Jeannie, a portrait of my beautiful wife"

scene tb picture
with fade

"Bill Compton. vampire Bill"
$ renpy.movie_cutscene (' Flood.mpg' , 33.0)

scene sc picture
"Shawn and Caleb...done for a friend for birth of his son"

What is wrong that my video won't play...I have the video file in game directory..it is a mpeg 1 file. Please help...I know its got to be something simple. And it loads and plays pictures with no errors,,the video just does not play.

Chansel
Veteran
Posts: 249
Joined: Sat May 01, 2010 6:11 pm
Projects: School's Out! -- A GxB or GxG VN/Dating Sim
Location: The Netherlands, Noord-Brabant
Contact:

Re: here is my script problem

#2 Post by Chansel »

Now I don't really know anything about playing movies, but I did notice you have a space between the first ' and Flood...
I had that once with an image and it didn't work because of that ^^" So maybe that's why it's not playing?
Image ~ A GxB or GxG Visual Novel/Dating Sim

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: here is my script problem

#3 Post by Jake »

Chansel wrote: I did notice you have a space between the first ' and Flood...
This does look like a likely cause...

While on the subject, a couple of tips for asking for help:

- If you're copy/pasting sections of your script into your forum post, you should wrap it in 'code' tags (there's a button for this at the top of the editor box), because like that the forum will correctly lay out your script - since spacing and indentation is a possible source of errors in Ren'Py script and Python, it's useful to be able to see the way the code looks properly spaced.

- If you're asking a specific question, it's useful to have the question in the post title, rather than just a generic "here's my problem"; like that, people can see what your issue is and - more importantly - find your post again if they come across a solution to your problem later.
Server error: user 'Jake' not found

Steve
Newbie
Posts: 6
Joined: Tue May 25, 2010 9:44 pm
Contact:

Re: here is my script problem

#4 Post by Steve »

Thanks for trying to help but that was not it. I will keep searching for answer.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: here is my script problem

#5 Post by PyTom »

Does the movie have an audio track? Movies need one, to allow time sync to work.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Steve
Newbie
Posts: 6
Joined: Tue May 25, 2010 9:44 pm
Contact:

Re: here is my script problem

#6 Post by Steve »

I thought it was the sound...but I added sound and still no video.

Steve
Newbie
Posts: 6
Joined: Tue May 25, 2010 9:44 pm
Contact:

Re: here is my script problem

#7 Post by Steve »

"image j picture = "Jeannie.jpg"
image tb picture = "trueblood.jpg"
image sc picture = "Shawn and Caleb.jpg"


label start:

scene j picture
with fade
"Jeannie, a portrait of my beautiful wife"

ok now I hear the sound and there is no picture...does anyone have any ideal what I am doing wrong..or what is missing?




#begin movie_cutscene
$ renpy.movie_cutscene("canyon.mpg")
#end movie_cutscene

Post Reply

Who is online

Users browsing this forum: Ocelot