Re: Controling the pan property of overlayed nodes?
Status: Alpha
Brought to you by:
cwalther
|
From: James C. W. <jfc...@ya...> - 2010-11-16 22:15:07
|
>I think this could be handled by adding a "click-through" >property to nodes that would allow you to make the background completely >transparent to the mouse - you could still make some areas react to the >mouse by covering them with a hotspot. That's probably the simplist solution. Could you remind me where the feature request tracker is so I can add it? I also seem to remember being confused by the trackers interface, so if you could please let me know how to add a feature, I would be gratefull:) For now, I'll see if I can paint the smudges and stuff at slightly less then half opactity. And if that's not sufficient, I'll stack nodes like you suggested. Thanks, James --- On Tue, 11/16/10, Christian Walther <cwa...@gm...> wrote: From: Christian Walther <cwa...@gm...> Subject: Re: Controling the pan property of overlayed nodes? To: pip...@li... Date: Tuesday, November 16, 2010, 2:30 PM James C. Wilson wrote: > I'm trying to make a binocular overlay, much like the telescope in the > pipmak demo, only the lenses are made to look smudged and cracked-that's > what's causing the problem. > There are other possible uses-a simple flashlight, for example. OK, I see. I think this could be handled by adding a "click-through" property to nodes that would allow you to make the background completely transparent to the mouse - you could still make some areas react to the mouse by covering them with a hotspot. Or perhaps, more generally, a threshold above which alpha value the background should become opaque to the mouse - setting that to 1.0 (currently hardcoded at 0.5) would achieve the same thing. How far above half opaque do you need to go? It occurs to me that, as a workaround, you could approximate the effect by stacking several almost-half-opaque overlays. -Christian ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Pipmak-Users mailing list Pip...@li... news://news.gmane.org/gmane.games.devel.pipmak.user https://lists.sourceforge.net/lists/listinfo/pipmak-users |