Overlapping Characters in Renpy


Hello! Finally something around here!

Well, I'm just staging the moment fan favorite Anton Papierwaite (A character from the Devil's Playhouse) appears in the Fan Game.  I assume some people have already figure out this story is set after the Devil's Playhouse, so, another character very well related to Papierwaite also is introduced, but at the same time is a major spoiler for the 3rd Season. And while I do understand that game was released at least 10 years ago, the remaster might be released at the end of the year (At the time of this writing), so.... Spoilers for the Devil's Playhouse ahead I suppose...

So... Papierwaite has stuck on his chest the elder god Yog-Soggoth, who also goes by the name of Dr. Norrington. Both are different characters and both appear at the same time, but I didn't want to, you know, do an image with every combination of expressions, if you catch my drift. 

The first thing I did is draw Papierwaite and then Norrington where Papierwaite's  chest is located, in different layers.  

Then I save a version without Norrington and another without Papierwaite.


Both are the same size and the same dimensions,  so, if I go

#The lower the zorder the more in the background the image is
show papierwaite neutral flip zorder 1 with dissolve:
             xpos 0.4
show norrington neutral flip zorder 2 with dissolve:
             xpos 0.4

Both of them are going to overlap exactly like I wanted it. 

Of course, there's one problem with that code, which is the fact, both dissolve animations are going to play one after the another, meaning Papierwaite is going to appear first and then Dr Norrington. Sometimes, that's exactly what you want, but, sometimes, you want both of them to appear at the same time. Well, I figure out you can give several images to dissolve and not just one at a time! Like this:

show papierwaite neutral flip zorder 1:              
              xpos 0.4 
show norrington neutral flip zorder 2:
              xpos 0.4
with dissolve

Same thing with hide :)

(It doesn't have sound :( )

Get Sam and Max in Psychic Directive and Lighting Soldier

Leave a comment

Log in with itch.io to leave a comment.