Make a player marker invisible
#6

Quote:
Originally Posted by Pottus
View Post
I guess that could work now looking back I realize the reason I do that is because I want certain players to see other players
Yea I know I use your method for separate team's visibility, and certain things like that,
but for this purpose it's better to use the binary to combine the colors.

0xFFFF00FF & 0xFFFFFF00 = 0xFFFF0000
Here using 0xFFFFFF00, I keep 255 of the red green and blue, but none of the alpha.

0xFFFF00FF & 0xAAAAAAAA = 0xAAAA00AA
Here using 0xAAAAAAAA, I only keep 170 of each part.

And finally, 0xFFAA80CC & 0x80808080 = 0x802A004C <- I think this is right :/ (Someone check!)
Here using 0xDEDEDEDE, I only keep 128 of each part.

This technique could be used for multiple things, such as making colors brighter, darker,
or even more dull or gray. It does take minor knowledge but here ya go!
Reply


Messages In This Thread
Make a player marker invisible - by Blademaster680 - 08.10.2014, 21:57
Re: Make a player marker invisible - by Pottus - 08.10.2014, 22:21
Re: Make a player marker invisible - by Crayder - 08.10.2014, 22:39
Re: Make a player marker invisible - by Blademaster680 - 08.10.2014, 23:43
Re: Make a player marker invisible - by Pottus - 09.10.2014, 00:09
Re: Make a player marker invisible - by Crayder - 09.10.2014, 00:51

Forum Jump:


Users browsing this thread: 2 Guest(s)