How do I make non-rectangular hotspots?
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.
How do I make non-rectangular hotspots?
I'm using imagemaps to make hotspots, and it just occurred to me that not all of my hotspots should be rectangular. How do I make a non-rectangular hotspot?
- mitoky
- Veteran
- Posts: 316
- Joined: Sat Feb 07, 2015 9:12 pm
- Projects: The Purring Demon's Love, circus eterie
- Contact:
Re: How do I make non-rectangular hotspots?
As far as i know (if someone knows better, feel free to correct me) you cant do that. You can use imagebuttons instead.
- Ocelot
- Lemma-Class Veteran
- Posts: 2400
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: How do I make non-rectangular hotspots?
You can do it the same way as in imagebuttons]:
Documentation wrote:Imagemap
The imagemap statement is used to specify an imagemap. It takes no parameters, and the following properties:
<SKIPPED>
alpha
If true, the default, a hotspot only gains focus when the mouse is in an area of the hover image that is opaque. If false, the hotspot gains focus whenever the mouse is within its rectangular boundary.
< < insert Rick Cook quote here > >
- mitoky
- Veteran
- Posts: 316
- Joined: Sat Feb 07, 2015 9:12 pm
- Projects: The Purring Demon's Love, circus eterie
- Contact:
Re: How do I make non-rectangular hotspots?
I think this one is very good:
viewtopic.php?f=51&t=22565
Remember to download from here:
viewtopic.php?f=51&t=22565&start=75#p455107
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]