Confusion/ Need help with Side Images

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
MondayMagic
Newbie
Posts: 11
Joined: Tue Dec 11, 2012 9:49 pm
Contact:

Confusion/ Need help with Side Images

#1 Post by MondayMagic » Tue Dec 11, 2012 9:54 pm

I read as many tutorials and scouted out for other threads regarding this topic, but I seemed to have trouble getting it to work.
Initially, the picture assigned never appeared at all, nor did it give any sort of error. I tried all sorts of hide and show stuff, and I still don't know much about ren'py.

Code: Select all

 image side Ruben = ("ruben_neutral.png")
    define Ruben = Character('Ruben',
                window_left_padding=160,
                show_side_image=Image("ruben_neutral.png", xalign=0.0, yalign=1.0))
for whatever reason, it doesn't show up at all. And I'm just confused about how to go to fix it. Also, I don't want to make any sort of default side image because the perspective changes and different characters will have their own respective side image.

Thanks in advance for any help!!

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

Re: Confusion/ Need help with Side Images

#2 Post by Alex » Wed Dec 12, 2012 3:55 pm

Why don't you try this?

User avatar
Julivia1
Newbie
Posts: 4
Joined: Wed Dec 12, 2012 9:37 am
Contact:

Re: Confusion/ Need help with Side Images

#3 Post by Julivia1 » Wed Dec 12, 2012 5:59 pm

None of my characters appear, and the backgrounds assigned don't show up even though I re-size it to the correct dimensions. Why won't the images show?

User avatar
FlawedFlare
Regular
Posts: 98
Joined: Mon Aug 06, 2012 9:46 pm
Projects: [Without Your Half],[ Underground], Unidentified Shallow Heart
Contact:

Re: Confusion/ Need help with Side Images

#4 Post by FlawedFlare » Wed Dec 12, 2012 10:05 pm

Did you check that the files are correct? You may have a different file format. Like maybe the png file is actually a jpeg or a bip? If not, is it in the correct folder? You might have misplaced it in something like "images/character.png"?

MondayMagic
Newbie
Posts: 11
Joined: Tue Dec 11, 2012 9:49 pm
Contact:

Re: Confusion/ Need help with Side Images

#5 Post by MondayMagic » Thu Dec 20, 2012 12:42 am

Alex wrote:Why don't you try this?
I've been using that in addition to another FAQ I found on the Ren'py site and it just doesn't seem to work. Not that it gives me an error, just nothing different happens for whatever reason. And I have checked the file names, they're all the same extension and consistent spelling.

User avatar
Tokzu
Newbie
Posts: 18
Joined: Thu Oct 25, 2012 3:42 am
Projects: Nigureth (story: until chapter 11, system: 100%, script: until chapter 1, character design: 0% U_U)
Location: Mexico
Contact:

Re: Confusion/ Need help with Side Images

#6 Post by Tokzu » Thu Dec 20, 2012 12:44 am

Maybe the path¿? Maybe you put your images inside a folder.

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

Re: Confusion/ Need help with Side Images

#7 Post by Alex » Thu Dec 20, 2012 11:32 am

Well, if you could show the part of your code for character declaration and part of label where your characters are speak... Also, what do you mean "just nothing different happens" - do you see any image or not?

User avatar
felipe
Regular
Posts: 39
Joined: Wed Aug 07, 2013 5:54 pm
Location: Brazil.
Contact:

Re: Confusion/ Need help with Side Images

#8 Post by felipe » Fri May 09, 2014 1:14 pm

I don't know if this helps, but I was having trouble with side images not showing until I added the image parameter(?) to the character declaration. So the code would look like this in the script file:

Code: Select all

image side ruben = "ruben_neutral.png"
define ruben = Character('Ruben', window_left_padding=160, image="ruben")
This is my signature.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]