How to temporarily disable an imagemap during dialogue [Solved]
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.
- oatnoodles
- Regular
- Posts: 47
- Joined: Tue Aug 03, 2021 6:26 pm
- Projects: Samuda Interval
- Organization: Tomuwa Entertainment
- Deviantart: oatnoodles
- Github: oatnoodles
- itch: oatnoodles
- Discord: oatnoodles#0099
- Contact:
How to temporarily disable an imagemap during dialogue [Solved]
I currently have a screen that includes an imagemap with objects the user can click. When clicked, dialogue will show. I want to disable the option to click other objects while the dialogue is showing. Right now, if I accidentally click the area where another object is on the imagemap while in the dialogue, it'll activate the dialogue for the 2nd clicked object.
Last edited by oatnoodles on Thu Aug 19, 2021 11:29 am, edited 1 time in total.
Ren'py amateur looking to learn as much as possible! Please be patient with me.
- Ocelot
- Eileen-Class Veteran
- Posts: 1883
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: How to temporarily disable an imagemap during dialogue
The easies way is to not show an imagemap at all. Show an image of your imagemap. When you need an active imagemap, just display it on top. You can either have image and imagemap on different screens and simply show/call imagemap screen when needed, or you can hve them both in the same screen and control if imagemap is displayed with a single if statement.
< < insert Rick Cook quote here > >
- oatnoodles
- Regular
- Posts: 47
- Joined: Tue Aug 03, 2021 6:26 pm
- Projects: Samuda Interval
- Organization: Tomuwa Entertainment
- Deviantart: oatnoodles
- Github: oatnoodles
- itch: oatnoodles
- Discord: oatnoodles#0099
- Contact:
Re: How to temporarily disable an imagemap during dialogue [Solved]
Cool, I think I got that working. Thanks!
Ren'py amateur looking to learn as much as possible! Please be patient with me.
Who is online
Users browsing this forum: No registered users