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 » Sat May 18, 2019 8:29 am

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.

User avatar
Andredron
Veteran
Posts: 339
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Backgrounds with overlays for diff choices

#2 Post by Andredron » Sat May 18, 2019 11:44 pm

I know, I'm writing terribly in English.

I'm writing a Renpy textbook (in Russian). https://yadi.sk/d/ZX_DonP63USRru Update 22.06.18

Honest Critique

Post Reply

Who is online

Users browsing this forum: rayminator