Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: tehshawn on May 09, 2013, 11:11:12 PM
-
Would the ability to surround transparent sprites with outlines be a feature anyone is interested in? I find it effective for adding contrast to the edges of HUD elements. Here's a short video to demonstrate it: http://www.youtube.com/watch?v=SawXmTYuAlk (http://www.youtube.com/watch?v=SawXmTYuAlk)
I implemented some code changes in NGUI that basically duplicate the way UILabels work, where you choose an Effect from the drop-down menu (Outline) then specify color and x/y distance. ArenMook didn't respond to my private message, but I imagine he probably gets trillions of those a day, so no worries. Consider this a feature request!
I am mainly hoping to avoid needing to re-implement my changes each major release. Does anyone think feature may be useful?
-
I don't get notified of PMs. It's one of many reasons why I advise people to post instead of PM/email. :P
I am not a fan of the outline effect even on labels as it obliterates the fillrate by drawing the object 5 times. There are better ways to go about it, such as having a "highlight" sprite drawn behind the actual sprite. I did that in Starlink at one point as I recall...