Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Choosing Transparency color?
#1
I think I might just be blind... or something...

I'd like to knwo how I can choose the transparency color for my maps. IE: Instead of black, pink?
Reply
#2
Sub InitSurfaces:
find this:
Code:
' Set the key for masks
    Key.low = 0
    Key.high = 0
I'm not a 100% of how it works, I never realy changed it but it's a range, probly it vbcollors, so type vb+Ctrl+Space and try to change from collor to collor, I'm not a 100% sure it that will work.
Reply
#3
Magenta should be RGB(255, 0, 255)
I'm not a 100% sufe if that is magenta, my english sux xD
Reply
#4
Ah thanks very much, I thought it had something to do with that but wasn't sure how it worked...
Reply
#5
' Set the key for masks
With Key
.low = RGB(255, 0, 255)
.high = RGB(255, 0, 255)
End With

Yeah just that and whatever color. Thats pink I beleive...
Reply
#6
Hmm maybe someone can go into further detail on this?

I am using RGB(186,133,168) and haven't been able to get it to work.

I tried it as key.low, key.high and on both at the same time, nothing happens.

Any suggestions?
Reply
#7
This uses like a range, but normaly, since we use only one transparency color, Low and High should be the same. and it will make every RGB(186,133,168) transparent. So your tiles should have this collor as the background.
Reply
#8
They do, for some reason or another it didn't work though.

However, found a solution on the old forums: http://ms.shannaracorp.com/backup-forum ... ID=632#632
Reply
#9
Just go in paint and look at the RGB :p. Thats one way to do it.

:: Pando
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)