Layering 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
crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Layering images...

#1 Post by crimsonnight » Wed May 02, 2012 5:32 am

I've read this: http://www.renpy.org/doc/html/displaying_images.html but I still don't really understand, how come my character isn't displaying with the following code:

show su1 p1
show su1 eyebrows normal
show su1 eyes normal
show su1 mouth happy
show su1 blush bath

show blink full

Do I need to edit config.layers? If so how do I do this? Sry I'm a total noob, learning as I go along, so help is very much appreciated :)
alwaysthesamebluesky.com

User avatar
KimiYoriBaka
Miko-Class Veteran
Posts: 636
Joined: Thu May 14, 2009 8:15 pm
Projects: Castle of Arhannia
Contact:

Re: Layering images...

#2 Post by KimiYoriBaka » Wed May 02, 2012 6:53 am

it's because the first word in the name of all your images is the same

the show statement checks for pics with the same tag (first word) so that the user doesn't have to explicitly hide images when just changing a character's facial expression

My suggestion is that you put an underscore between the first two words in your images' names. that way renpy will know that they aren't supposed to disappear unless you tell it to show the same facial feature twice.

crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Re: Layering images...

#3 Post by crimsonnight » Wed May 02, 2012 7:14 am

Perfect, thanks for explaining it to me! :)
Is there a command to hide all images (excluding the scene)?
What transition would u recommend for switching between poses/expressions?

*EDIT* Also, is there a way to temporarily suspend the blink animation everytime supper-happy eyes are used?
alwaysthesamebluesky.com

Post Reply

Who is online

Users browsing this forum: No registered users