Hi everyone! I'm very new to Ren'Py so I'm confused about how and where to code in a family/group of sprite images.
I've tried using this page for help ( https://www.renpy.org/doc/html/layeredi ... ered-image ), but honestly I'm at a loss.
As it stands right now, I'm testing out how to change outfits on one sprite who has 4-5 emotes. In all of her emotes she's nude, but I'm trying to layer outfits over her. As the game plays out, I should be able to change her emote (base layer) without having to re-input her clothing (outfit layer) every time I do, right?
I've read that you can set it up so that all you have to write is something like "show kuebineutral uniform" or "show kuebihappy home" and I'm wondering how to set that up.
Thanks in advance for any help you can offer!
Layering sprite images incorrectly?
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.
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.
- nature1996
- Regular
- Posts: 62
- Joined: Wed Jun 21, 2017 10:35 am
- Contact:
Re: Layering sprite images incorrectly?
You might want to use a dynamic displayable for that: https://www.renpy.org/doc/html/displaya ... splayables
or a sprite: https://www.renpy.org/doc/html/sprites.html#sprites
The show statement has the tag "behind" that let you show something behind something else: https://www.renpy.org/doc/html/displayi ... -statement
You could also use the "zorder" tag, though nearby character might end up clipping in each other.
But ultimately, I think you are looking for a composite: https://www.renpy.org/doc/html/displaya ... #Composite
I don't have much experience though, so there might be something else more appropriated for your project.
or a sprite: https://www.renpy.org/doc/html/sprites.html#sprites
The show statement has the tag "behind" that let you show something behind something else: https://www.renpy.org/doc/html/displayi ... -statement
You could also use the "zorder" tag, though nearby character might end up clipping in each other.
But ultimately, I think you are looking for a composite: https://www.renpy.org/doc/html/displaya ... #Composite
I don't have much experience though, so there might be something else more appropriated for your project.
Je parle aussi français
- Scribbles
- Miko-Class Veteran
- Posts: 636
- Joined: Wed Sep 21, 2016 4:15 pm
- Completed: Pinewood Island, As We Know It
- Projects: In Blood
- Organization: Jaime Scribbles Games
- Deviantart: breakfastdoodles
- itch: scribbles
- Location: Ohio
- Contact:
Re: Layering sprite images incorrectly?
Here is a really good tutorial on layered images: https://tofurocks.itch.io/renpytut-layeredimage using layered image is how you just type 'show eileen uniform' and then 'show eileen sad' will still show her in her uniform. You just have to group the attributes properly it's really simple! The tutorial I linked to is really great too
Who is online
Users browsing this forum: Google [Bot]


