is there a especific RGB color code (ex: 0, 0, 255 = pure blue) for each mask type? and what are the colors that are cut as sprite background?
Forum
CS2D General mask mode helpmask mode help
13 Antworten 1
is there a especific RGB color code (ex: 0, 0, 255 = pure blue) for each mask type? and what are the colors that are cut as sprite background?
the mask color for env_image is 255,0,255 (pink) afair.
to mask a sprite with black background:
keep all default settings
change blend mode to masked
enter 4 in the mask textfield.
It's pretty confusing and weird because I tried to make it as compatible with old maps (from cs2d 0.1.0.4 and older) as possible..
you can close this thread, but dont delete it, maybe there is other ppl that maybe have this question too
KimKat hat geschrieben
Also for the entity env_image the alpha transparency color is purple and it doesn't have any mask modes that you can choose from. It changes the purple color into transparency automaticly. Although env_sprite is alot better because it can be adjustable by different sprite modes which makes a good use of the sprite.
env_image is good when u already have the image in the size u want, and so it dont loose resolution or quality
FME4Y_CQC hat geschrieben
It's purple not pink, and the purple will turn transparent if you use the entity env_image in the right way. how to make the pink background disapier?
KimKat hat geschrieben
FME4Y_CQC hat geschrieben
It's purple not pink, and the purple will turn transparent if you use the entity env_image in the right way.how to make the pink background disapier?
But, env_image can't rotate
maybe i can change the coulour on piant or change png to bmp file
can i???
1× editiert, zuletzt 17.02.09 17:52:56
1× editiert, zuletzt 18.02.09 16:40:18
FME4Y_CQC hat geschrieben
i use in ev_sprite
maybe i can change the coulour on piant or change png to bmp file
can i???
maybe i can change the coulour on piant or change png to bmp file
can i???
When you change to pink colour at background of picture, use MSPaint and save as PNG. Then, like normal use env_sprite and mask mode "4". If you save as BMP. the pink color not disappear. Because BMP for black background of picture.
Sorry if I wrong here
1