How to add a side 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
User avatar
princessap7
Newbie
Posts: 8
Joined: Thu Jul 16, 2015 3:33 am
Contact:

How to add a side image?

#1 Post by princessap7 »

So I looked in a couple of places including here on the forums and on the documentation but I can't seem to get my side image to show up.

Code: Select all

define e = Character("Emily", image="emily")

image side emily_smile = "Emily/Side_Emily_Smile_eyes_closed.png"

label start:
    scene bg school

    e "This was without a doubt! The Best! Idea! EVER!"

    e "There's so many cute girls!"

    return
This is my code. Or at least the relevant parts. And I'm using the new UI if that has anything to do with it...
she's a trash girl in a trash world

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: How to add a side image?

#2 Post by IrinaLazareva »

Code: Select all

define e = Character("Emily", image="emily")
image side emily = "Emily/Side_Emily_Smile_eyes_closed.png"

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: How to add a side image?

#3 Post by IrinaLazareva »

If you need emotions

Code: Select all

image side emily = "emily_file.png"
image side emily smile = "smile_emily_file.png"
image side emily sad = "sad_emily_file.png"
define e = Character("Emily", image="emily")

label start:
    e "Just me"
    e smile "I'm smile"
    e sad "I'm sad"
    e "Just me again"
    return

Post Reply

Who is online

Users browsing this forum: Bing [Bot]