View Full Version : quick question
17th November 2001, 19:59
I can't get setAlpha() and getAlpha() to work with text fields.
I think it's possible, so if somebody could show me how to do it, that would be real great!
17th November 2001, 23:50
I believe it's not possible right now due to True Type Fonts not supporting alpha blending. We hope to make it work anyway in the future, though. Either by rendering to an intermediate bitmap and then blending the bitmap or doing the render ourselves (or with a library.)
18th November 2001, 00:29
By "future", do you mean mean by the time WA3 is finished, or just someday.
I know that these fonts can be anti-aliased by the OS, so isn't that fairly related to alpha blending because the edge pixles have an alpha value?
But you gave me a good idea, I might just make the text I need into a PNG animation, and go through the frames as I need them. Then I would be able to fade it in/out!
I know that non-nullsoft scripting guides aren't supported here, but at the RhinoTrip scripting site (http://www.stefanweb.com/wa3/index.html), it says that Text inherts from GuiObject, so I take it that is wrong?
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.