Adding images into game.

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
Guest

Adding images into game.

#1 Post by Guest » Wed Oct 10, 2007 8:08 pm

Right, I read the Quick Start thing. And I have it in the directory.
But what I'm having troubles with is that I don't know how to put the image IN the game.
Help, please?

User avatar
Twar3Draconis
Regular
Posts: 129
Joined: Thu Apr 19, 2007 12:07 am
Location: Michigan, United States, Terra
Contact:

Re: Adding images into game.

#2 Post by Twar3Draconis » Wed Oct 10, 2007 8:42 pm

You have to define the image file in the init block.
Image

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Adding images into game.

#3 Post by monele » Thu Oct 11, 2007 4:51 am

Code: Select all

init:
    image mary = "marynormal.png"
label start:
    show mary with dissolve
    "Mary" "Hello, my name is Mary."

Post Reply

Who is online

Users browsing this forum: Google [Bot]