Click An Outfit To Purchase It

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
NikiFig
Regular
Posts: 35
Joined: Sun Mar 20, 2016 10:31 am
Contact:

Click An Outfit To Purchase It

#1 Post by NikiFig »

So for part of my game, I'm doing a "clothing shopping" arc.

The way that will work is I will make an image that depicts 3 different outfits on hangers, side by side.
I want to enable the user to click on one of the outfits to select it.
If you select a white one, it triggers a response from your lover. If you select a black one, a different response.

I figure hotspots or imagemaps are involved in this - can someone guide me in the correct direction? So far I have a menu and jump-label apparatus going for this in my script.

Thank you.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Click An Outfit To Purchase It

#2 Post by Imperf3kt »

I suggest using the Derepara example:
viewtopic.php?f=30&t=29702
(Note, mild NSFW content)
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot]