Original Post
Hi!
I have a question for my 2d interface I'm currently developing.
What I've done is to load a texture with CreateTextureFromFileEx onto a D3DXSprite. I use a color key to make RGB(0,255,0) transparent and that works just fine.
BUT. Now I want to make my texture clickible, and for that I preveusly used a transparent rect on top of my 'button'. This works but is not very satisfying couse of the rough edges the box gives me.
What I want to do (if it's possible) is to make all EXCEPT the transparent parts of my button-texture clickible. Is there a way to say: 'if buttonsprite -transparent parts is clicked then'
Is this possible? Oh, I'm useing VB and DX8 for a 2d game.
Thanks in advance
[edited by - lexor on May 22, 2002 5:43:47 PM]