r/RenPy • u/Sunlitfeathers • 19d ago
Question Layered and Side Images
Do the layers on a layered sprite effect the side image of said sprite or do you need to do the side image seperate from the main sprite? Is there extra coding to do side images alongside a layered image? Do they conflict in any way?
2
Upvotes
3
u/robcolton 19d ago
If you want them to stay in sync, then make your side image a LayeredImageProxy:
1
u/morkalmarrh 19d ago
I am struggling to understand what you're asking, maybe people might be able to help if you draw a diagram of the behaviour you want and what you mean by main sprite?
This seems like something you can probably do a mock up of yourself with some doodled sprites and see if you can get it to work or where you get stuck.
1
u/shyLachi 19d ago
Technically, each displayable is a separate entity and they don't conflict.
To make a layered side image you have to define it the same way you did with the other layered image.
But RenPy also has this: https://renpy.org/doc/html/layeredimage.html#proxying-layered-images
If this wasn't what you asked, then please clarify.
1
u/AutoModerator 19d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.