How can I put a dialogue image?

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
IxIoN
Regular
Posts: 160
Joined: Sat Jan 16, 2010 12:51 pm
Projects: Thinking
Location: Venezuela
Contact:

How can I put a dialogue image?

#1 Post by IxIoN »

I know ren'py allow me to. But I don't know how. What do I have to put so it can show it??

I tried something but it didn't work. I don't know if it was the correct one. It was this one:

style.window.background = Frame("frame.png", 12, 12)

But it didn't worked and it gave me this:

I'm sorry, but an exception occured while executing your Ren'Py
script.

IOError: Couldn't find file 'frame.png'.

While running game code:
- script at line 45 of C:\Users\ajbh\Desktop\New folder (2)\shikouryoku/game/script.rpy

Any help?
This is my World.
Look forward to my game.
Thinking

User avatar
Alex
Lemma-Class Veteran
Posts: 3098
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: How can I put a dialogue image?

#2 Post by Alex »

As Ren`py said, it can`t find the file, named 'frame.png' in your project`s "game" folder. So, just place such a file in this folder. (note: "Frame.png" is not the same is "frame.png")

Post Reply

Who is online

Users browsing this forum: Google [Bot]