xray glass to move with cursor?

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
lxknvlk
Newbie
Posts: 4
Joined: Wed Feb 14, 2018 3:00 pm
Contact:

xray glass to move with cursor?

#1 Post by lxknvlk »

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?

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2384
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: xray glass to move with cursor?

#2 Post by Ocelot »

< < insert Rick Cook quote here > >

Post Reply

Who is online

Users browsing this forum: Semrush [Bot]