Backgrounds with overlays for diff choices

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
kinkiepinkie
Newbie
Posts: 8
Joined: Wed Jan 02, 2019 6:25 pm
Contact:

Backgrounds with overlays for diff choices

#1 Post by kinkiepinkie »

Hello, world.
I want to implement some player choices. Let's say, few clothes and hairstyles for few characters.
My game doesn't use png sprites of characters on still backgrounds. Every image is unique 'background' with characters rendered inside the environment.
I can make transparent png 'parts' of images with different clothes and hairstyles. To use them as overlapping sprites, acc. to players choices. But it's a hassle to ask engine if/else for every single image, since they are unique. Maybe there is some workaround?

How is it called? Some keywords to find a tutorial? Or even a link for an example?
Thank you.


Post Reply

Who is online

Users browsing this forum: Bing [Bot], Ocelot