Hi. I want to implement an xray minigame. The question is - is it possible in renpy?
I have managed to do it in other game engines. There are 2 layers of images. One is revealed only when a circle is over it (only the area under circle is revealed.) And the circle moves with cursor.
- layer 1: normal vision image - visible
- layer 2: same image, but the needed object is rendered/drawn as transparend so that contents are visible. This layer is hidden by default. And is highlighted only when circle shape is over it.
I used the light mechanic in other game engine.
So, can something like this be implemented in renpy?
xray glass to move with cursor?
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.
- Ocelot
- Lemma-Class Veteran
- Posts: 2400
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: xray glass to move with cursor?
Yes. You can use AlphaMask: https://www.renpy.org/doc/html/displaya ... #AlphaMask
< < insert Rick Cook quote here > >
Who is online
Users browsing this forum: No registered users