Mirage Source
sprites tranprency - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: sprites tranprency (/showthread.php?tid=410)



sprites tranprency - Fabzy - 15-11-2006

how do i change the transparent colour for the sprites ?

it doesent seem to be like the elysium source

im using the Mirage build 1


- Misunderstood - 15-11-2006

set the rgb long value of key.low and key,high (they should be the same values) in moddirectx.


- Robin - 15-11-2006

Or steal... erm... I think it's called something like 'GetMaskColour' which gets the colour of the pixel at 1x1 on the .bmp and uses that.


- Fabzy - 15-11-2006

steal thsi from where ?


- Matt - 15-11-2006

There is a tut around somewhere, either here or the old forums, for doing this.


- Robin - 15-11-2006

"It doesn't seem to be like Elysium Source"

...

Mhhh... where should we go look for it :roll:


- Fabzy - 15-11-2006

i haev no idea were to look ?


- Robin - 15-11-2006

Maybe in the module with all the directX stuff in?